Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
Kebler Network System Administrator | 44cd58d03d | |
Kebler Network System Administrator | 31cdada20c |
|
@ -1 +1,2 @@
|
|||
conf/giskard/caddy.conf:574ef250a108d62bc48f59c9ce82087e9de65fe470361a5ebc35bde4d43c82d1
|
||||
conf/_shared/aws/aws_credentials:2a62843158398d2a4de0e6d6e769eab768d10b80f750ec69374048c02990caad
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
/previous/
|
BIN
bin/linux-amd64
BIN
bin/linux-amd64
Binary file not shown.
BIN
bin/linux-arm64
BIN
bin/linux-arm64
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
echo running custom script for $INSTANCE
|
||||
source ${CONF_SHARED_DIR}/aws/aws.env
|
||||
|
|
@ -24,8 +24,7 @@ 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
|
||||
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
|
||||
ls -la /etc/sudoers.d/*caddy
|
||||
echo added: $(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
|
||||
|
|
Loading…
Reference in New Issue