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>
This commit is contained in:
Arnout Vandecappelle (Essensium/Mind) 2019-03-18 14:10:40 +01:00
parent c7fa667157
commit be8d11c7e5

View File

@ -1,9 +1,9 @@
root::10933:0:99999:7::: root::::::::
daemon:*:10933:0:99999:7::: daemon:*:::::::
bin:*:10933:0:99999:7::: bin:*:::::::
sys:*:10933:0:99999:7::: sys:*:::::::
sync:*:10933:0:99999:7::: sync:*:::::::
mail:*:10933:0:99999:7::: mail:*:::::::
www-data:*:10933:0:99999:7::: www-data:*:::::::
operator:*:10933:0:99999:7::: operator:*:::::::
nobody:*:10933:0:99999:7::: nobody:*:::::::