Skip to content

Commit 917d1b9

Browse files
committed
Change the allowed user of sync scripts to git-sync
1 parent 3db519e commit 917d1b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

recipes/files/etc/sudoers

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/b
1818

1919
# User privilege specification
2020
root ALL=(ALL:ALL) ALL
21-
www-data ALL=(ALL:ALL) NOPASSWD: /home/git/git.ruby-lang.org/bin/update-git-ruby-lang-org.sh
22-
www-data ALL=(ALL:ALL) NOPASSWD: /home/git/git.ruby-lang.org/bin/update-ruby.sh
21+
git-sync ALL=(ALL:ALL) NOPASSWD: /home/git/git.ruby-lang.org/bin/update-git-ruby-lang-org.sh
22+
git-sync ALL=(ALL:ALL) NOPASSWD: /home/git/git.ruby-lang.org/bin/update-ruby.sh
2323

2424
# Allow members of group sudo to execute any command
2525
%sudo ALL=(ALL:ALL) NOPASSWD: ALL

0 commit comments

Comments
 (0)