From 9575b5e8311512bb01229e1ea0034691d92702fa Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 30 Jun 2011 08:18:26 +0000 Subject: [PATCH] add eeze mount permission lines SVN revision: 60868 --- data/etc/sysactions.conf.in | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/data/etc/sysactions.conf.in b/data/etc/sysactions.conf.in index 179a5707b..8c0ffa666 100644 --- a/data/etc/sysactions.conf.in +++ b/data/etc/sysactions.conf.in @@ -47,6 +47,9 @@ action: halt /sbin/shutdown -h now action: reboot /sbin/shutdown -r now action: suspend @SUSPEND@ action: hibernate @HIBERNATE@ +action: /bin/mount /bin/mount +action: /bin/umount /bin/umount +action: /usr/bin/eject /usr/bin/eject # on FreeBSD use this instead of the above. #action suspend /usr/sbin/zzz @@ -71,5 +74,11 @@ group: plugdev allow: * # e.g. # user: myuser allow: * # user: another allow: suspend hibernate +# +# +# uncomment this line to enable eeze mounting for users +# user: someuser allow: /bin/mount /bin/umount /usr/bin/eject +# +# # deny everyone else by default user: * deny: *