From: vimacs Date: Sat, 26 Dec 2009 10:45:10 +0000 (+0100) Subject: Fixed sudoers so exec on aufs doesnt fail. X-Git-Tag: Release-2010-05/1~130 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c92806d9595975c5111630f52eaa7ce2b83880a9;p=pandora-libraries.git Fixed sudoers so exec on aufs doesnt fail. modified: testdata/sh/sudoers --- diff --git a/testdata/sh/sudoers b/testdata/sh/sudoers index b45023c..be6fca2 100644 --- a/testdata/sh/sudoers +++ b/testdata/sh/sudoers @@ -1,8 +1,9 @@ -ALL ALL=NOPASSWD: /etc/init.d/slim-init stop, /etc/init.d/slim-init start +ALL ALL=NOPASSWD: /etc/init.d/slim-init stop, /etc/init.d/slim-init start, \ + /bin/mount -t aufs -o exec\,dirs\=*/pandora/appdata/*\=rw+nolwh\:/mnt/pnd/*\=rr none /mnt/utmp/*, \ + /bin/mount -t aufs -o exec\,noplink\,dirs\=*/pandora/appdata/*\=rw+nolwh\:/mnt/pnd/*\=rr none /mnt/utmp/* + ALL ALL=NOPASSWD: NOEXEC: \ /bin/mount /dev/loop* /mnt/pnd/*, \ - /bin/mount -t aufs -o exec\,dirs\=*/pandora/appdata/*\=rw+nolwh\:/mnt/pnd/*\=rr none /mnt/utmp/*, \ - /bin/mount -t aufs -o exec\,noplink\,dirs\=*/pandora/appdata/*\=rw+nolwh\:/mnt/pnd/*\=rr none /mnt/utmp/*, \ /bin/mount --bind -o ro * /mnt/pnd/*, \ /bin/mount -t squashfs * /mnt/pnd/*, \ /bin/umount /mnt/pnd/*, \