mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
aws: setup user should not be a system user
Login is not permitted for system users Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -86,7 +86,7 @@ import_aws_configuration() {
|
|||||||
|
|
||||||
# Create setup user
|
# Create setup user
|
||||||
if ! getent passwd setup &>/dev/null; then
|
if ! getent passwd setup &>/dev/null; then
|
||||||
useradd -r setup -s /usr/bin/run-setup -g nobody -m
|
useradd setup -s /usr/bin/run-setup -g nobody -m
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Import SSH keys
|
# Import SSH keys
|
||||||
|
|||||||
Reference in New Issue
Block a user