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:
parent
6946395ed8
commit
11d5b810a7
@ -86,7 +86,7 @@ _resize_root_partition() {
|
||||
}
|
||||
|
||||
_disable_password() {
|
||||
echo "$1:*" | chpasswd -e
|
||||
passwd -l "$1"
|
||||
}
|
||||
|
||||
start() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user