On Mon, Feb 27, 2012 at 09:36:55PM +0200, Cor Legmaat wrote:
> Hi all:
> 
> I have an Selinux enabled system running gnome 3.2 and gdm. My whole
> profile is mapped to staff_u as recommended by the Selinux manual. When
> I login true gdm I am logged in as system_u and when I login true ssh it
> is correct.
> 
> This is what I get with gnome-terminal:
> > cor@k53s ~ $ id -Z
> > system_u:system_r:initrc_t
> > cor@k53s ~ $ ssh 127.0.0.1
> > Last login: Mon Feb 27 20:01:41 SAST 2012 from k53s.cor.za.net on pts/1
> > cor@k53s ~ $ id -Z
> > staff_u:staff_r:staff_t
> 
> Any ideas?

See if there is a /etc/pam.d/gdm file (and if not, try to find out which PAM
configuration file your graphical login application uses). Then add a line
similar to https://393329.bugs.gentoo.org/attachment.cgi?id=294905

Wkr,
        Sven Vermeulen

Reply via email to