[DSE-User] default context on login
Václav Ovsík
vaclav.ovsik at i.cz
Mon May 12 13:49:54 UTC 2008
Hi,
On Tue, May 06, 2008 at 03:56:55AM +1000, Alex Samad wrote:
> Hi
>
> I am a selinux newbie, I have the targeted policy loaded, and I have
> audit loaded as well. Basically i have not really looked at it since
> install. Now that I have a bit of time I thought I would get my hands
> dirty
>
> I have noticed that my default context when I login via gdm is
>
> user_u:system_r:system_chkpwd_t:s0
>
> which seems strange to me, I have added
> session required pam_selinux.so multiple
> to /etc/pam.d/gdm to see what difference that makes, but I would like to
> find out how to change the default context ?
You didn't write what system you are running (Etch/Sid).
If you are running Sid then
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=451722 maybe your case.
Try
semanage login -l
semanage user -l
--
Zito
More information about the Selinux-user
mailing list