Commit 649ef00
feat(dashboard): show Cockpit login credentials inline
Cockpit's PAM auth at https://localhost:9090/ rejects login when the
target user has no password set in /etc/shadow. podman-machine WSL
distros ship `user` (uid 1000) passwordless by default -- so the
operator hits "Authentication failed" with no obvious recovery path.
Dashboard's Self-replication-loop panel now prints the credentials
inline next to the Cockpit URL:
● Cockpit https://localhost:9090/ login: user / mios
`MIOS_LINUX_USER` falls back to "mios" if the env doesn't set it
(matches the same default used everywhere else in the dashboard).
`MIOS_DEV_DEFAULT_PASSWORD` defaults to "mios" so deployed-MiOS hosts
that set their own operator password just need to export it before
the dashboard renders.
Companion change in mios-bootstrap/build-mios.ps1 (separate commit):
Invoke-MiosQuadletOverlay now sets both `user` and `mios` to
"mios" via chpasswd at the same time it installs the sudoers drop-
in -- single-tenant dev VM trust model where the operator already
has Windows-host admin to reach the VM at all.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent f224a76 commit 649ef00
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
150 | | - | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
151 | 152 | | |
152 | 153 | | |
153 | 154 | | |
| |||
0 commit comments