From 575e4e503fe52025b8cb656444f60345803351a4 Mon Sep 17 00:00:00 2001 From: Jun Wang Date: Mon, 12 Sep 2016 10:04:36 +0800 Subject: [PATCH] Add new operation(/bin/mv) with sudo permission Change-Id: Ide1bba602d1830603d48cdf84236992c585c4487 --- data/gbs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data/gbs b/data/gbs index da71b7a..9394bc1 100644 --- a/data/gbs +++ b/data/gbs @@ -5,6 +5,8 @@ ALL ALL=(ALL) NOPASSWD: /bin/mkdir -p */scratch.* ALL ALL=(ALL) NOPASSWD: /usr/bin/build ALL ALL=(ALL) NOPASSWD: /bin/cp *.conf */scratch.*/*.conf ALL ALL=(ALL) NOPASSWD: /bin/rm -f */.build.log +ALL ALL=(ALL) NOPASSWD: /bin/mv */.build.log */log.txt +ALL ALL=(ALL) NOPASSWD: /bin/mv */*.rpm */*RPMS ALL ALL=(ALL) NOPASSWD: /bin/echo -n ALL ALL=(ALL) NOPASSWD: /usr/sbin/chroot */scratch.* ALL ALL=(ALL) NOPASSWD: /usr/bin/chroot */scratch.* -- 2.7.4