diff options
Diffstat (limited to 'satellit_installer/includes/50-add_users_groups.inc')
-rw-r--r-- | satellit_installer/includes/50-add_users_groups.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/satellit_installer/includes/50-add_users_groups.inc b/satellit_installer/includes/50-add_users_groups.inc index 840362a..e6f92f1 100644 --- a/satellit_installer/includes/50-add_users_groups.inc +++ b/satellit_installer/includes/50-add_users_groups.inc @@ -15,4 +15,9 @@ add_users_groups() { add_user_nohome dnbd3 10002 10002 adduser www-data adm # So the webif can read /var/log stuff adduser dnbd3 images # Put dnbd3 user into images group so it can write the NFS share + adduser openslx sudo # openslx is the main user, as we disallow ssh login as root + + echo "# disable root login, set default password for openslx" + usermod -p "*" root + echo "openslx:$DEFAULT_OPENSLX_PASSWORD" | chpasswd } |