This commit is contained in:
parent
a98147901c
commit
76bb0ad258
@ -9,7 +9,7 @@ function restofscript(){
|
||||
useradd -m -s /bin/bash ${USERNAMETOADD}
|
||||
echo "${USERNAMETOADD}:${PASSWORDTOADD}" | chpasswd
|
||||
loginctl enable-linger ${USERNAMETOADD}
|
||||
cd ~/home/${USERNAMETOADD}
|
||||
cd /home/${USERNAMETOADD}
|
||||
mkdir .ssh
|
||||
pushd .ssh
|
||||
pwd
|
||||
|
Loading…
Reference in New Issue
Block a user