aws: Unlock setup account

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2018-07-12 15:37:59 +01:00
parent 53eb49180e
commit 87d7fc6609

View File

@@ -87,6 +87,9 @@ import_aws_configuration() {
# Create setup user
if ! getent passwd setup &>/dev/null; then
useradd setup -s /usr/bin/run-setup -g nobody -m
# Unlock the account
usermod -p "x" setup
fi
# Import SSH keys for setup user