mksuer echos modified for access
parent
072c48c301
commit
949a88c0aa
|
@ -24,7 +24,8 @@ sudo usermod -a -G caddy $USER
|
||||||
cat /etc/passwd | grep caddy
|
cat /etc/passwd | grep caddy
|
||||||
PER="caddy ALL=NOPASSWD: ALL"
|
PER="caddy ALL=NOPASSWD: ALL"
|
||||||
echo $PER | sudo tee /etc/sudoers.d/99_caddy
|
echo $PER | sudo tee /etc/sudoers.d/99_caddy
|
||||||
ls -la /etc/sudoers.d/*caddy
|
echo confirm nopassword file was written
|
||||||
echo added: $(cat /etc/sudoers.d/99_caddy) to sudoers.d/99_caddy
|
sudo find /etc/sudoers.d | grep caddy
|
||||||
|
echo added: $(sudo cat /etc/sudoers.d/99_caddy) to sudoers.d/99_caddy
|
||||||
echo checking file.... $(sudo visudo -cf /etc/sudoers.d/99_caddy)
|
echo checking file.... $(sudo visudo -cf /etc/sudoers.d/99_caddy)
|
||||||
# $DIR/scripts/own
|
# $DIR/scripts/own
|
||||||
|
|
Loading…
Reference in New Issue