From 462d78506c5247aff7d2b5a3abb84b562ee7f45c Mon Sep 17 00:00:00 2001 From: Daniel Mahlow Date: Sun, 31 Mar 2013 11:57:45 +0200 Subject: [PATCH] Set bash as default shell for created users. --- helpers/default | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helpers/default b/helpers/default index 53867f6..24a50da 100644 --- a/helpers/default +++ b/helpers/default @@ -266,9 +266,9 @@ add_user () { [ "$pass" == "" ] && pass=generate_password if [[ "$args" != *nohome* ]]; then - /usr/sbin/useradd --password `openssl passwd -crypt $pass` --create-home $user + /usr/sbin/useradd --password `openssl passwd -crypt $pass` --create-home $user --shell /bin/bash else - /usr/sbin/useradd --password `openssl passwd -crypt $pass` $user + /usr/sbin/useradd --password `openssl passwd -crypt $pass` $user --shell /bin/bash fi fi }