Gentoo Archives: gentoo-hardened

From: panard@×××××××.org
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] selinux 2006.1: semanage login has no effect
Date: Mon, 04 Dec 2006 22:32:52
Message-Id: 200612042331.01633.panard@inzenet.org
In Reply to: Re: [gentoo-hardened] selinux 2006.1: semanage login has no effect by Chris PeBenito
1 Le lundi 4 décembre 2006 02:15, Chris PeBenito a écrit :
2 > On Sun, 2006-12-03 at 11:19 +0100, Panard wrote:
3 > > I followed the selinux 2006.1 upgrade guide.
4 > >
5 > > I would like to change my user 'panard' to staff_u.
6 > > So I used the command
7 > > semanage login -a -s staff_u panard
8 > >
9 > > and tried to login.
10 > > But, my user is still in user_u context :
11 > > panard@aragorn ~ $ id
12 > > uid=1000(panard) gid=100(users) groupes=10(wheel),16(cron),35(games),81
13 > > (apache),100(users),441(scanner) context=user_u:user_r:user_t
14 >
15 > Are you logging in locally, or over ssh?
16 I tried both, giving the same result...
17 I noticed that if I logged directly to root over ssh, the context is correct
18 (root:staff_r:staff_t), but it doesn't work for any other users..
19
20 Thanks,
21
22 Panard
23
24 --
25 gentoo-hardened@g.o mailing list

Replies

Subject Author
Re: [gentoo-hardened] selinux 2006.1: semanage login has no effect Chris PeBenito <pebenito@g.o>