make bash default shell
This commit is contained in:
parent
0842e2d353
commit
eb64c319de
@ -9,7 +9,7 @@ CMDS=($CMDS) # convert to array
|
|||||||
if ! id "$USER" 2&>/dev/null; then
|
if ! id "$USER" 2&>/dev/null; then
|
||||||
echo 'INFO: User not found'
|
echo 'INFO: User not found'
|
||||||
echo 'Creating...'
|
echo 'Creating...'
|
||||||
useradd $USER
|
useradd --shell /usr/bin/bash $USER
|
||||||
echo "Password for $USER:"
|
echo "Password for $USER:"
|
||||||
passwd $USER
|
passwd $USER
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user