OT: allow ordinary user to read /var/log/audit/audit.log

James McKenzie jjmckenzie51 at gmail.com
Sun Jun 12 14:13:38 UTC 2011


On 6/11/11 11:37 PM, Hiisi wrote:
> On 12 June 2011 04:14, James McKenzie<jjmckenzie51 at gmail.com>  wrote:
>> On 6/9/11 10:58 AM, Hiisi wrote:
> <--SNIP-->
>>> Any other suggestions?
>> You could always make the file world-read.  That means EVERYONE can read
>> the file.  You just don't have to tell them....
>>
> Surely I can. I just thought there should be the other way. Say, thru
> sudo. Well, it seems that changing file attributes is the only way
> here.
You might be able to do this using sudo but the command would have to be 
very specific.  I did not think of editing the sudoers file for this.

James McKenzie



More information about the users mailing list