Compare commits

...

4 Commits

4 changed files with 4 additions and 2 deletions

1
bin/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/previous/

Binary file not shown.

Binary file not shown.

View File

@ -24,7 +24,8 @@ sudo usermod -a -G caddy $USER
cat /etc/passwd | grep caddy
PER="caddy ALL=NOPASSWD: ALL"
echo $PER | sudo tee /etc/sudoers.d/99_caddy
ls -la /etc/sudoers.d/*caddy
echo added: $(cat /etc/sudoers.d/99_caddy) to sudoers.d/99_caddy
echo confirm nopassword file was written
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)
# $DIR/scripts/own