diff --git a/scripts/install b/scripts/install index 6c9fb88..c2fa4c1 100755 --- a/scripts/install +++ b/scripts/install @@ -134,10 +134,10 @@ fi if ! IS_PACKAGE_CHECK then $final_path/chroot_manager.sh adduser --name $ssh_user $auth_opt "$auth_value" --directory "$user_dir" --quota $size -fi -# Allow the user to use ssh -adduser $ssh_user ssh.app + # Allow the user to use ssh + adduser $ssh_user ssh.app +fi #================================================= # ADD A LINK TO CHROOT_MANAGER diff --git a/scripts/restore b/scripts/restore index 1bf5482..f22dcb5 100644 --- a/scripts/restore +++ b/scripts/restore @@ -108,6 +108,9 @@ ssh_chroot_copy_binary rsync "$user_dir" if ! IS_PACKAGE_CHECK then ssh_chroot_set_permissions "$user_dir" $ssh_user + + # Allow the user to use ssh + adduser $ssh_user ssh.app fi #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 980d1ed..7933416 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -82,10 +82,10 @@ ssh_chroot_copy_binary rsync "$user_dir" if ! IS_PACKAGE_CHECK then ssh_chroot_set_permissions "$user_dir" $ssh_user -fi -# Allow the user to use ssh -adduser $ssh_user ssh.app + # Allow the user to use ssh + adduser $ssh_user ssh.app +fi #================================================= # UPDATE THE LINK TO CHROOT_MANAGER