Sudo and limited rights
Anne Wilson
cannewilson at googlemail.com
Mon Oct 31 12:43:44 UTC 2011
On Monday 31 Oct 2011 12:27:56 Thomas Moschny wrote:
> 2011/10/31 Patrick Boutilier <boutilpj at ednet.ns.ca>:
> > [...]
> > setfacl -R -m u:$user:r /var/log/
> > setfacl -d -R -m u:$user:r /var/log/
>
> You also need to set x bits (note capital X):
> setfacl -R -m u:$user:rX /var/log/
> setfacl -d -R -m u:$user:rX /var/log/
>
[root at borg2 ~]# setfacl -R -m u:anne:rX /var/log/
[root at borg2 ~]# setfacl -d -R -m u:anne:rX /var/log/
[root at borg2 ~]# > tail /var/log/dmesg
-bash: /var/log/dmesg: Permission denied
Hmm - am I missing something?
Anne
--
New to KDE Software? Got some good hints and tips? - Welcome to
http://userbase.kde.org
More information about the kde
mailing list