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