mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
aws: Unlock setup account
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -87,6 +87,9 @@ import_aws_configuration() {
|
|||||||
# Create setup user
|
# Create setup user
|
||||||
if ! getent passwd setup &>/dev/null; then
|
if ! getent passwd setup &>/dev/null; then
|
||||||
useradd setup -s /usr/bin/run-setup -g nobody -m
|
useradd setup -s /usr/bin/run-setup -g nobody -m
|
||||||
|
|
||||||
|
# Unlock the account
|
||||||
|
usermod -p "x" setup
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Import SSH keys for setup user
|
# Import SSH keys for setup user
|
||||||
|
|||||||
Reference in New Issue
Block a user