system/skeleton: remove password expiration from shadow
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Mon, 18 Mar 2019 13:10:40 +0000 (14:10 +0100)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Wed, 20 Mar 2019 22:06:29 +0000 (23:06 +0100)
commitbe8d11c7e55d8dfe395774c04a7a35b949aa6d97
tree331ce344dd4e2c3b9a2147cf879ea98384969bc3
parentc7fa6671577538b61bf2f35c3fc0e304dffa175a
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>
system/skeleton/etc/shadow