fix(test): prevent fixture password expiry after baseline restore
This commit is contained in:
1 parent
34274f0f62
commit
14cb3570c1
3 files changed
+32
No files matched your search
@@ -41,6 +41,14 @@ reads the same value for both accounts from:
|
||||
/home/cabbage/.local/share/rvbox-secrets/rvbox-win10-test.password
|
||||
```
|
||||
|
||||
After every baseline restore, `test-host prepare` uses the fixture Administrator
|
||||
to mark these two accounts' passwords as non-expiring before normal-user
|
||||
Guest Control checks. Restoring a snapshot retains its old password-set date;
|
||||
the original `rvboxtest` password expired on 2026-10-18 even though the VM was
|
||||
clean. This per-run repair preserves the fixed password, account enablement,
|
||||
other users, and machine-wide password policy. It does not log Administrator
|
||||
into an interactive session or modify any retained snapshot.
|
||||
|
||||
The file must be mode `0600` and is supplied to VirtualBox only with
|
||||
`--passwordfile`; the controller never places it on a command line, run
|
||||
manifest, log, or artifact. The SSH key and the Helium host account credential
|
||||
|
||||
Reference in new issue
Block a user