diff --git a/app/sovran_systemsos_web/static/js/service-detail.js b/app/sovran_systemsos_web/static/js/service-detail.js index 98dd56f..01f7155 100644 --- a/app/sovran_systemsos_web/static/js/service-detail.js +++ b/app/sovran_systemsos_web/static/js/service-detail.js @@ -267,7 +267,7 @@ async function openServiceDetailModal(unit, name, icon) { '' : "") + (unit === "root-password-setup.service" ? '
' + - '' + + '' + '
' : "") + ''; } else if (!data.enabled && !data.feature) { @@ -534,8 +534,8 @@ function openSystemChangePasswordModal(unit, name, icon) { if (!$credsBody) return; $credsBody.innerHTML = '
' + - '
🔑 Change \'free\' Account Password
' + - '
This updates the system login password for the free user account on this device.
' + + '
🔑 Change Free Account & Hub Login Password
' + + '
This updates the password for the free user account. This is also your Sovran Hub login password — both will change.
' + '
' + '
' + '
' + @@ -548,7 +548,7 @@ function openSystemChangePasswordModal(unit, name, icon) { '' + '' + '
' + - '
⚠ After changing, your updated password will appear in the System Passwords credentials tile. Make sure to remember it.
' + + '
⚠ This will change both your desktop login and Hub login password. After changing, your updated password will appear in the System Passwords credentials tile. Make sure to remember it — you will need it to sign back into the Hub.
' + '
' + '' + '' + @@ -609,7 +609,7 @@ function openSystemChangePasswordModal(unit, name, icon) { body: JSON.stringify({ new_password: newPassword, confirm_password: confirmPassword }) }); resultEl.className = "matrix-form-result success"; - resultEl.textContent = "✅ System password changed successfully."; + resultEl.textContent = "✅ Free account & Hub login password changed successfully."; submitBtn.textContent = "Change Password"; submitBtn.disabled = false; } catch (err) { diff --git a/modules/core/sovran-hub.nix b/modules/core/sovran-hub.nix index da0f523..9a7566e 100644 --- a/modules/core/sovran-hub.nix +++ b/modules/core/sovran-hub.nix @@ -8,9 +8,9 @@ let [ { name = "System Passwords"; unit = "root-password-setup.service"; type = "system"; icon = "passwords"; enabled = true; category = "infrastructure"; credentials = [ { label = "Free Account — Username"; value = "free"; } - { label = "Free Account — Password"; file = "/var/lib/secrets/free-password"; } - { label = "Root Password"; file = "/var/lib/secrets/root-password"; } - { label = "SSH Passphrase"; file = "/var/lib/secrets/ssh-passphrase"; } + { label = "Free Account / Hub Login — Password"; file = "/var/lib/secrets/free-password"; } + { label = "Administrator (root) Password"; file = "/var/lib/secrets/root-password"; } + { label = "SSH Passphrase — use via: ssh root@localhost"; file = "/var/lib/secrets/ssh-passphrase"; } ]; } ] # ── Infrastructure — Caddy + Tor (NOT desktop-only) ────────