Project

General

Profile

Actions

action #168853

closed

coordination #169657: [epic] Handle test fixes and adjustments

Remove hardcode password for first user and the root passwords in Agama unattended jsonnet profiles

Added by tinawang123 3 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
Start date:
2024-10-24
Due date:
% Done:

0%

Estimated time:

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


Related issues 1 (0 open1 closed)

Related to openQA Tests (public) - action #166439: [qe-core] Remove hardcode password on the data directoryResolvedtinawang1232024-09-06

Actions
Actions #1

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
Actions #3

Updated by JERiveraMoya 3 months ago

  • Related to action #166439: [qe-core] Remove hardcode password on the data directory added
Actions #5

Updated by JERiveraMoya 2 months ago

  • Parent task changed from #151816 to #169657
Actions #6

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
Actions #7

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)
Actions #8

Updated by JERiveraMoya about 2 months ago

  • Description updated (diff)
Actions #9

Updated by leli about 1 month ago

  • Status changed from Workable to In Progress
  • Assignee set to leli
Actions #10

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.

Actions #11

Updated by JERiveraMoya about 1 month ago

it is already available in our dev group for agama in O3.

Actions #12

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.

Actions #13

Updated by JERiveraMoya about 1 month ago

  • Tags changed from qe-yam-nov-sprint to qe-yam-dec-sprint-fy25
Actions #14

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.

Actions #15

Updated by leli about 1 month ago

  • Description updated (diff)
Actions #17

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.

Actions #18

Updated by JERiveraMoya about 1 month ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF