]> git.openpandora.org Git - pandora-libraries.git/commitdiff
Fixed sudoers so exec on aufs doesnt fail.
authorvimacs <vimacs@pndtest>
Sat, 26 Dec 2009 10:45:10 +0000 (11:45 +0100)
committervimacs <vimacs@pndtest>
Sat, 26 Dec 2009 10:45:10 +0000 (11:45 +0100)
modified:   testdata/sh/sudoers

testdata/sh/sudoers

index b45023c908ad7065083332dbe361e9abee0ce7bd..be6fca2d20530c0d2541177a6f3f958e6c182c16 100644 (file)
@@ -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/*, \