Don't use setuid, it doesn't work

This commit is contained in:
Radon Rosborough 2020-06-11 15:22:59 -06:00
parent 8246ab32d0
commit f15cd4f3cf
2 changed files with 1 additions and 3 deletions

View File

@ -20,4 +20,4 @@ ssh -o IdentitiesOnly=yes \
-o StrictHostKeyChecking=no \ -o StrictHostKeyChecking=no \
-o UserKnownHostsFile=/dev/null \ -o UserKnownHostsFile=/dev/null \
-o LogLevel=QUIET \ -o LogLevel=QUIET \
-i "${keyfile}" deploy@209.141.40.107 /usr/bin/riju-install -i "${keyfile}" deploy@209.141.40.107

View File

@ -7,7 +7,5 @@ cp scripts/riju.service /etc/systemd/system/riju.service
cp scripts/certbot-pre.bash /etc/letsencrypt/renewal-hooks/pre/riju cp scripts/certbot-pre.bash /etc/letsencrypt/renewal-hooks/pre/riju
cp scripts/certbot-post.bash /etc/letsencrypt/renewal-hooks/post/riju cp scripts/certbot-post.bash /etc/letsencrypt/renewal-hooks/post/riju
cp scripts/install.py /usr/bin/riju-install cp scripts/install.py /usr/bin/riju-install
chgrp deploy /usr/bin/riju-install
chmod u=rwxs,g=rxs,o= /usr/bin/riju-install
systemctl daemon-reload systemctl daemon-reload