aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-04-28 20:40:12 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-04-28 20:40:12 +0200
commitfa41bfdbd1e6bf94a7f067c8623197a7507a3645 (patch)
treea547110b535b4666d2c5a1aaf376fe6ec1fdb711 /bootstrap
parentc87fad5fc02cc8a611a25bae5618c1dd6d651a52 (diff)
Suppress sudo logging for user build
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap1
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index e47fd47..2f211f1 100755
--- a/bootstrap
+++ b/bootstrap
@@ -297,6 +297,7 @@ addgroup --gid 2000 build
adduser --uid 2000 --gid 2000 --home /build --gecos "" --disabled-password build
adduser build kvm
echo "build ALL=(ALL) NOPASSWD:ALL" >/etc/sudoers.d/build
+echo "Defaults:build !syslog" >>/etc/sudoers.d/build
chmod 0440 /etc/sudoers.d/build
# Clean up package cache.