From fa58460d66dd80c58cbb3efba65920679e1f9edc Mon Sep 17 00:00:00 2001 From: 1kamma Date: Sat, 18 Jun 2022 19:34:43 +0300 Subject: [PATCH] tee no passwd --- saretlinux.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/saretlinux.sh b/saretlinux.sh index 087c694..28f8b0e 100644 --- a/saretlinux.sh +++ b/saretlinux.sh @@ -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 <