summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-11-27 17:02:54 +0100
committerHolger Levsen <holger@layer-acht.org>2015-11-27 17:03:38 +0100
commitb5f3fa396b4d1172506f2c80a5809d77154ca789 (patch)
tree3423cdc336728f3bbfa40b945d5ff5cac395019c
parentc8b3d6c07b21cabcdd300ec491564c24ae516c30 (diff)
downloadjenkins.debian.net-b5f3fa396b4d1172506f2c80a5809d77154ca789.tar.xz
reproducible freebsd: allow jenkins to change system date
-rw-r--r--hosts/freebsd-jenkins/usr/local/etc/sudoers3
1 files changed, 2 insertions, 1 deletions
diff --git a/hosts/freebsd-jenkins/usr/local/etc/sudoers b/hosts/freebsd-jenkins/usr/local/etc/sudoers
index cd3a3d70..5408368a 100644
--- a/hosts/freebsd-jenkins/usr/local/etc/sudoers
+++ b/hosts/freebsd-jenkins/usr/local/etc/sudoers
@@ -108,7 +108,8 @@ jenkins ALL= NOPASSWD: /usr/bin/make -j ? buildworld, \
/usr/sbin/service ntpd start, \
/usr/sbin/service ntpd stop, \
/usr/sbin/service ntpd status, \
- /usr/sbin/ntpdate -b pool.ntp.org
+ /usr/sbin/ntpdate -b pool.ntp.org, \
+ /bin/date --set=*
## Uncomment to allow any user to run sudo if they know the password