Re: Sudo and limited rights

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/31/2011 09:43 AM, Anne Wilson wrote:
On Monday 31 Oct 2011 12:27:56 Thomas Moschny wrote:
2011/10/31 Patrick Boutilier<boutilpj@xxxxxxxxxxx>:
[...]
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@borg2 ~]# setfacl -R -m u:anne:rX /var/log/
[root@borg2 ~]# setfacl -d -R -m u:anne:rX /var/log/
[root@borg2 ~]#>  tail /var/log/dmesg
-bash: /var/log/dmesg: Permission denied

Hmm - am I missing something?

Anne

As root what does ls -l /var/log/dmesg show?
begin:vcard
fn:Patrick Boutilier
n:Boutilier;Patrick
org:;Nova Scotia Department of Education
adr:;;2021 Brunswick Street;Halifax;NS;B3K 2Y5;Canada
email;internet:boutilpj@xxxxxxxxxxx
title:WAN Communications Specialist
tel;work:902-424-6800
tel;fax:902-424-0874
version:2.1
end:vcard

_______________________________________________
kde mailing list
kde@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/kde
New to KDE4? - get help from http://userbase.kde.org

[Index of Archives]     [KDE Users]     [Fedora General Discussion]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Triage]     [Coolkey]     [Yum Users]     [Yosemite Forum]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux