diff options
author | 2019-03-18 14:10:40 +0100 | |
---|---|---|
committer | 2019-03-20 23:06:29 +0100 | |
commit | be8d11c7e55d8dfe395774c04a7a35b949aa6d97 (patch) | |
tree | 331ce344dd4e2c3b9a2147cf879ea98384969bc3 /system | |
parent | c7fa6671577538b61bf2f35c3fc0e304dffa175a (diff) | |
download | buildroot-be8d11c7e55d8dfe395774c04a7a35b949aa6d97.tar.gz buildroot-be8d11c7e55d8dfe395774c04a7a35b949aa6d97.tar.bz2 |
system/skeleton: remove password expiration from shadow
The fields in /etc/shadow were set as follows:
root::10933:0:99999:7:::
This sets the date of last password change to Jan 1, 2000, the minimum
password age to 0 days, the maximum password age to near-infinity, and a
warning period of 7 days. In practice, this means the password never
expires. So all of this is quite useless.
On the other hand, mkusers creates lines without all of these options.
It just sets ::::: which disables password expiration completely.
To make things consistent, do the same for the skeleton entries.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'system')
-rw-r--r-- | system/skeleton/etc/shadow | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/system/skeleton/etc/shadow b/system/skeleton/etc/shadow index 06778f13f9..37de977cba 100644 --- a/system/skeleton/etc/shadow +++ b/system/skeleton/etc/shadow @@ -1,9 +1,9 @@ -root::10933:0:99999:7::: -daemon:*:10933:0:99999:7::: -bin:*:10933:0:99999:7::: -sys:*:10933:0:99999:7::: -sync:*:10933:0:99999:7::: -mail:*:10933:0:99999:7::: -www-data:*:10933:0:99999:7::: -operator:*:10933:0:99999:7::: -nobody:*:10933:0:99999:7::: +root:::::::: +daemon:*::::::: +bin:*::::::: +sys:*::::::: +sync:*::::::: +mail:*::::::: +www-data:*::::::: +operator:*::::::: +nobody:*::::::: |