Skip to content
Snippets Groups Projects
Commit e040d311 authored by Rucke Teg's avatar Rucke Teg Committed by Paul Spooren
Browse files

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: default avatarRucke Teg <rucketeg@protonmail.com>
parent e8d048c5
No related branches found
No related tags found
No related merge requests found
root::0:0:99999:7:::
root:::0:99999:7:::
daemon:*:0:0:99999:7:::
ftp:*:0:0:99999:7:::
network:*:0:0:99999:7:::
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment