action #168853
closedcoordination #169657: [epic] Handle test fixes and adjustments
Remove hardcode password for first user and the root passwords in Agama unattended jsonnet profiles
0%
Description
Many json files include hardcode password. Need remove those password. As we will have CI/CD check for 'data' folder later.
Related ticket: https://progress.opensuse.org/issues/166439
Related files:
data/yam/agama/auto/leap16.json,
data/yam/agama/auto/leap16.sh
data/yam/agama/auto/default_tumbleweed.sh
data/yam/agama/auto/alp_tumbleweed.jsonnet
data/yam/agama/auto/default_tumbleweed.json
data/yam/agama/auto/default_leap.json
data/yam/agama/auto/default_sle.json
data/yam/agama/auto/gnome_tumbleweed.json
data/yam/agama/auto/gnome_leap.json
Acceptance criteria¶
- AC1: Hardcode passwords for first user and the root passwords are changed by encrypted passwords for Agama scenarios
- AC2: Clean-up profiles not used (for instance, alp?)
- AC3: Check that when using encrypted password for the first user, when
agama config show
it behaves similar than with root password (not being displayed), otherwise clarify with developers.
Additional information¶
https://github.com/agama-project/agama/pull/1771
https://github.com/agama-project/agama-project.github.io/pull/27
Updated by JERiveraMoya 3 months ago
- Subject changed from [qe-yam] Remove hardcode password at json file on the data directory to Remove hardcode password at json file on the data directory
- Parent task set to #151816
Updated by JERiveraMoya 3 months ago
- Related to action #166439: [qe-core] Remove hardcode password on the data directory added
Updated by JERiveraMoya 2 months ago
- Parent task changed from #151816 to #169657
Updated by JERiveraMoya about 2 months ago
- Tags set to qe-yam-nov-sprint
- Description updated (diff)
- Status changed from New to Workable
- Priority changed from Normal to High
Updated by JERiveraMoya about 2 months ago
- Subject changed from Remove hardcode password at json file on the data directory to Remove hardcode password for first user and the root passwords in Agama unattended jsonnet profiles
- Description updated (diff)
Updated by leli about 1 month ago
- Status changed from Workable to In Progress
- Assignee set to leli
Updated by leli about 1 month ago
The feature of encrypted password is to be reviewed, will update the profiles for this part when feature merged to builds.
Updated by JERiveraMoya about 1 month ago
it is already available in our dev group for agama in O3.
Updated by leli about 1 month ago
JERiveraMoya wrote in #note-11:
it is already available in our dev group for agama in O3.
Ok, I will try this encrypted password manually on my local VM firstly.
Updated by JERiveraMoya about 1 month ago
- Tags changed from qe-yam-nov-sprint to qe-yam-dec-sprint-fy25
Updated by leli about 1 month ago
It seems set the encrypted password with that in existing profile works, https://openqa.opensuse.org/tests/4682883#step/grub_test/1 I will run more test on all arches to check it.
Updated by leli about 1 month ago
Updated by leli about 1 month ago
The uploaded agama config file https://openqa.opensuse.org/tests/4685052/file/agama_auto-agama-config.json show that the 'agama config' show the encrypted password.
Updated by JERiveraMoya about 1 month ago
- Status changed from In Progress to Resolved