Rodrigo Tavares 71f942de10 Use * for users with no password in /etc/shadow
CIS Benchmark considers the characters * and ! in the password field in
the /etc/shadow file to indicate that a user does not have a password
and is unable to log in if prompted for a password.

This replaces the character 'x' in some of those users with a '*' so the
benchmark can skip those users when checking some password-related
settings.

Test Plan:
PASS: Run build-pkgs -c -p base-passwd.
PASS: Run build-image.
PASS: Run fresh install of AIO-SX with complete bootstrap and unlock of
      the controller-0.
PASS: Run fresh install of AIO-DX with complete bootstrap and unlock of
      controller-0 and controller-1.
PASS: Run backup and restore with complete bootstrap.
PASS: Try to log in with user 'keystone' via SSH and verify that it has
      the same behavior as before: asks for a password, but there is no
      valid password to use.

Story: 2011283
Task: 51442

Change-Id: I1aceacd4153a479e4e3b7efa0f74b73abbd298c2
Signed-off-by: Rodrigo Tavares <Rodrigo.DosSantosTavares@windriver.com>
2025-01-16 17:55:44 +00:00
2023-08-29 16:52:04 -03:00
2024-05-01 16:39:19 -04:00
2024-05-01 16:39:19 -04:00
2019-01-08 11:42:04 -05:00
2019-04-19 19:52:31 +00:00
2023-09-06 17:54:55 -03:00
2021-09-09 19:05:36 +03:00
2018-05-31 07:36:35 -07:00

integ

StarlingX Integration

Description
StarlingX Integration and packaging
Readme 53 MiB
Languages
Shell 29%
Python 21.8%
JavaScript 20.6%
Perl 12.2%
Makefile 6.5%
Other 9.8%