Gentoo Archives: gentoo-hardened

From: Sven Vermeulen <swift@g.o>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] Gnome wrong Selinux user role.
Date: Mon, 27 Feb 2012 19:44:46
Message-Id: 20120227194407.GA3773@gentoo.org
In Reply to: [gentoo-hardened] Gnome wrong Selinux user role. by Cor Legmaat
1 On Mon, Feb 27, 2012 at 09:36:55PM +0200, Cor Legmaat wrote:
2 > Hi all:
3 >
4 > I have an Selinux enabled system running gnome 3.2 and gdm. My whole
5 > profile is mapped to staff_u as recommended by the Selinux manual. When
6 > I login true gdm I am logged in as system_u and when I login true ssh it
7 > is correct.
8 >
9 > This is what I get with gnome-terminal:
10 > > cor@k53s ~ $ id -Z
11 > > system_u:system_r:initrc_t
12 > > cor@k53s ~ $ ssh 127.0.0.1
13 > > Last login: Mon Feb 27 20:01:41 SAST 2012 from k53s.cor.za.net on pts/1
14 > > cor@k53s ~ $ id -Z
15 > > staff_u:staff_r:staff_t
16 >
17 > Any ideas?
18
19 See if there is a /etc/pam.d/gdm file (and if not, try to find out which PAM
20 configuration file your graphical login application uses). Then add a line
21 similar to https://393329.bugs.gentoo.org/attachment.cgi?id=294905
22
23 Wkr,
24 Sven Vermeulen

Replies

Subject Author
Re: [gentoo-hardened] Gnome wrong Selinux user role. Cor Legmaat <cor@××××××.net>