tee no passwd
This commit is contained in:
@@ -8,7 +8,9 @@ fi
|
||||
sudo apt -y update
|
||||
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
|
||||
sudo printf "saret\tALL=(ALL) NOPASSWD:ALL" >/etc/sudoers.d/saret
|
||||
sudo tee /etc/sudoers.d/saret <<EOF
|
||||
saret ALL=(ALL) NOPASSWD:ALL
|
||||
EOF
|
||||
fi
|
||||
s=$(grep -i "VERSION=" /etc/os-release)
|
||||
echo $s
|
||||
|
Reference in New Issue
Block a user