aboutsummaryrefslogtreecommitdiff
path: root/scripts/common/20-root-user
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/common/20-root-user')
-rw-r--r--scripts/common/20-root-user7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/common/20-root-user b/scripts/common/20-root-user
new file mode 100644
index 0000000..9a9f5e6
--- /dev/null
+++ b/scripts/common/20-root-user
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# Add root SSH pubkeys.
+set_authorized_keys root "$root_authorized_keys"
+
+# Set root password.
+set_password root "$root_password"