Getting the user ID in log messages...

Russell Coker russell at coker.com.au
Thu Jun 10 06:09:58 UTC 2004


On Thu, 10 Jun 2004 01:02, "Levine, Daniel J." <Daniel.Levine at jhuapl.edu> 
wrote:
> Explanation of log file messages) the example show the following scontext:
>
> scontext: faye:user_r:user_t
>
> This is great, as I would know to contact the user faye and ask about the
> situation.  But on my Fedora Core 2 machine, my /var/log/messages produces:
>
> scontext: user_u:user_r:user_t

In your users file in the SE Linux policy you need the following:
user dan roles user_r;

Then run "make load".

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page



More information about the fedora-selinux-list mailing list