diff options
author | Rucke Teg <rucketeg@protonmail.com> | 2022-02-22 22:53:25 +0100 |
---|---|---|
committer | Paul Spooren <mail@aparcar.org> | 2022-02-24 18:10:30 +0100 |
commit | e040d31177b1507ccac965adc18f2e968310b5c3 (patch) | |
tree | 443087c5590daf6e9cbd3b707f0e4b85ceeaa9f4 /scripts/dl_cleanup.py | |
parent | e8d048c5e0ad0807a0362fe31c68c8f5eb228bff (diff) | |
download | upstream-e040d31177b1507ccac965adc18f2e968310b5c3.tar.gz upstream-e040d31177b1507ccac965adc18f2e968310b5c3.tar.bz2 upstream-e040d31177b1507ccac965adc18f2e968310b5c3.zip |
base-file: remove password aging feature form /etc/shadow
In the default shadow file, as visible in the failsafe mode, the user
root has value of `0` set in the 3rd field, the date of last password
change. This setting means that the password needs to be changed the
next time the user will log in the system. `dropbear` server is ignoring
this setting but `openssh-server` tries to enforce it and fails in the
failsafe mode because the rootfs is R/O.
Disable the password aging feature for user root by setting the 3rd
filed empty.
Signed-off-by: Rucke Teg <rucketeg@protonmail.com>
Diffstat (limited to 'scripts/dl_cleanup.py')
0 files changed, 0 insertions, 0 deletions