1
0
mirror of https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git synced 2025-12-15 11:22:43 +03:00

Also lock account when changing password

The Amazon marketplace image verifier expects the root account to be
locked, not just cleared. Otherwise images that use the bootstrap can't
be pushed to the AWS marketplace.
This commit is contained in:
Mike Crute 2021-01-09 00:56:40 +00:00
parent 6946395ed8
commit 11d5b810a7

View File

@ -86,7 +86,7 @@ _resize_root_partition() {
}
_disable_password() {
echo "$1:*" | chpasswd -e
passwd -l "$1"
}
start() {