diff options
Diffstat (limited to 'satellit_installer/includes')
-rw-r--r-- | satellit_installer/includes/10-script_dropper.inc | 8 | ||||
-rw-r--r-- | satellit_installer/includes/50-add_users_groups.inc | 10 |
2 files changed, 9 insertions, 9 deletions
diff --git a/satellit_installer/includes/10-script_dropper.inc b/satellit_installer/includes/10-script_dropper.inc index 11ab9b9..4bd14b2 100644 --- a/satellit_installer/includes/10-script_dropper.inc +++ b/satellit_installer/includes/10-script_dropper.inc @@ -1,10 +1,10 @@ fb_enable_firstrun() { local script="/opt/openslx/firstrun.sh" [ -x "$script" ] || perror "Firstrun script not found ($script)" - if ! grep -qF "$script" "/home/openslx/.profile"; then - echo "# Patching openslx's .profile" - echo "[ -t 0 ] && $script" >> "/home/openslx/.profile" - chown openslx:openslx "/home/openslx/.profile" "$script" + if ! grep -qF "$script" "/home/bwlp/.profile"; then + echo "# Patching bwlp's .profile" + echo "[ -t 0 ] && $script" >> "/home/bwlp/.profile" + chown bwlp:bwlp "/home/bwlp/.profile" "$script" fi } diff --git a/satellit_installer/includes/50-add_users_groups.inc b/satellit_installer/includes/50-add_users_groups.inc index e6f92f1..69b07f1 100644 --- a/satellit_installer/includes/50-add_users_groups.inc +++ b/satellit_installer/includes/50-add_users_groups.inc @@ -1,5 +1,5 @@ add_users_groups() { - add_group openslx 1000 + add_group bwlp 1000 add_group taskmanager 1001 add_group ldadp 1002 add_group vmware 1003 @@ -7,7 +7,7 @@ add_users_groups() { add_group images 12345 # add_user: $1 username, $2 num. uid, $3 prim. (num.) gid, ($4 optional, other group) - add_user openslx 1000 1000 + add_user bwlp 1000 1000 add_user taskmanager 1001 1001 add_user ldadp 1002 1002 add_user_nohome vmware 1003 1003 @@ -15,9 +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 + adduser bwlp sudo # bwlp is the main user, as we disallow ssh login as root - echo "# disable root login, set default password for openslx" + echo "# disable root login, set default password for bwlp" usermod -p "*" root - echo "openslx:$DEFAULT_OPENSLX_PASSWORD" | chpasswd + echo "bwlp:$DEFAULT_OPENSLX_PASSWORD" | chpasswd || perror "Error setting default password for bwlp" } |