You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, first of all thanks for the great project, Siemens fans here 👍
While importing the benchmark baseline for some internal tests, we have found that rule cis-dil-benchmark-1.4.3 tests fail on some specific Linux flavors, and we are not sure whether this is a wrong / incomplete benchmark test, or a valid failure.
# man 5 shadow
...
encrypted password
This field may be empty, in which case no passwords are required to authenticate as the specified login name. However, some applications which read the /etc/shadow file may decide not to permit any access at all if the
password field is empty.
A password field which starts with an exclamation mark means that the password is locked. The remaining characters on the line represent the password field before the password was locked.
Refer to crypt(3) for details on how this string is interpreted.
If the password field contains some string that is not a valid result of crypt(3), forinstance ! or *, the user will not be able to use a unix password to login (but the user may log in the system by other means).
...
So we're not sure if this is a wrong test in CIL or the behaviour is indeed different between both /etc/shadow states. Should !* be valid too? (actually anything !-prefixed)
Could you guys shed some light here? Thanks!
The text was updated successfully, but these errors were encountered:
Hello, first of all thanks for the great project, Siemens fans here 👍
While importing the benchmark baseline for some internal tests, we have found that rule
cis-dil-benchmark-1.4.3
tests fail on some specific Linux flavors, and we are not sure whether this is a wrong / incomplete benchmark test, or a valid failure.!
or*
root
/etc/shadow
password to*
. This fails validation.!locked
, which passes validation.!
or an exact*
locked
Fedora 36:
Debian 11:
The man page says:
So we're not sure if this is a wrong test in CIL or the behaviour is indeed different between both
/etc/shadow
states. Should!*
be valid too? (actually anything!
-prefixed)Could you guys shed some light here? Thanks!
The text was updated successfully, but these errors were encountered: