add user
This commit is contained in:
@@ -1,3 +1,11 @@
|
|||||||
|
if [$(ls /home |grep saret) != "saret" ]; then
|
||||||
|
sudo -s
|
||||||
|
username=saret
|
||||||
|
password=qwerty
|
||||||
|
adduser --gecos "" --disabled-password $username
|
||||||
|
chpasswd <<<"$username:$password"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
sudo apt -y update
|
sudo apt -y update
|
||||||
sudo apt -y install wget nano curl zsh git lsb-release apt-transport-https --allow-unauthenticated
|
sudo apt -y install wget nano curl zsh git lsb-release apt-transport-https --allow-unauthenticated
|
||||||
if [ "$(ls /etc/sudoers.d |grep saret)" != "saret" ]; then
|
if [ "$(ls /etc/sudoers.d |grep saret)" != "saret" ]; then
|
||||||
|
Reference in New Issue
Block a user