aws: Create "setup" user to run setup

Amazon does not permit that a user logs in as root directly.
Instead they insist on using sudo.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2018-07-10 18:32:20 +01:00
parent 9aefd1ed07
commit 1413006b5b
5 changed files with 34 additions and 10 deletions

4
src/setup/run-setup Normal file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
# Runs setup and tries to gain root privileges
exec sudo setup