diff options
Diffstat (limited to 'package/base-files/files')
-rw-r--r-- | package/base-files/files/etc/profile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/package/base-files/files/etc/profile b/package/base-files/files/etc/profile index d70bafca49..f241ab2ef3 100644 --- a/package/base-files/files/etc/profile +++ b/package/base-files/files/etc/profile @@ -30,8 +30,7 @@ alias ll='ls -alF --color=auto' unset FILE } -if ( grep -qsE '^root:[!x]?:' /etc/shadow && \ - grep -qsE '^root:[!x]?:' /etc/passwd && \ +if ( grep -qs '^root::' /etc/shadow && \ [ -z "$FAILSAFE" ] ) then cat << EOF |