All of lore.kernel.org
 help / color / mirror / Atom feed
* login messages
@ 2003-10-06 14:35 Kratzer, James R.
  2003-10-06 16:19 ` Stephen Smalley
  2003-10-06 17:56 ` Tom
  0 siblings, 2 replies; 10+ messages in thread
From: Kratzer, James R. @ 2003-10-06 14:35 UTC (permalink / raw)
  To: SELinux (E-mail)


When I login as my user, I get the following messages.   Is this normal and
can someone explain what they mean?  When I log in as root, I do not get
these messages.

Your default context is jamesk:user_r:user_t
Keymap 0: Permission denied
Keymap 1: Permission denied
Keymap 2: Permission denied
KDSKBENT: Operation not permitted
loadkeys: could not deallocate keymap 3


When I then try to switch to the sysadm role from the user role, I get the
following message.  In my policy "user" file, I have jamesk set for {
staff_r sysadm_r } roles.  Why can't I switch?

# newrole -r sysadm_r
jamesk:sysadm_r:sysadm_t is not a valid context

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 10+ messages in thread
* RE: login messages
@ 2003-10-06 19:17 Kratzer, James R.
  0 siblings, 0 replies; 10+ messages in thread
From: Kratzer, James R. @ 2003-10-06 19:17 UTC (permalink / raw)
  To: 'Tom'; +Cc: SELinux (E-mail)

Yes, I have performed a "make load" from the policy direcotry to rebuild
and load the policy.  I have also rebuilt the initrd file using mkinitrd.  I
still cannot switch roles.  What else can I look at?

-----Original Message-----
From: Tom [mailto:tom@lemuria.org]
Sent: Monday, October 06, 2003 1:56 PM
To: Kratzer, James R.
Cc: SELinux (E-mail)
Subject: Re: login messages


On Mon, Oct 06, 2003 at 10:35:39AM -0400, Kratzer, James R. wrote:
> When I then try to switch to the sysadm role from the user role, I get the
> following message.  In my policy "user" file, I have jamesk set for {
> staff_r sysadm_r } roles.  Why can't I switch?
> 
> # newrole -r sysadm_r
> jamesk:sysadm_r:sysadm_t is not a valid context

Have you rebuild and reloaded the policy after you made this change?
Any changes you make to SELinux policy will not take effect until that
policy is compiled and loaded into the kernel.


-- 
http://web.lemuria.org/pubkey.html
pub  1024D/2D7A04F5 2002-05-16 Tom Vogt <tom@lemuria.org>
     Key fingerprint = C731 64D1 4BCF 4C20 48A4  29B2 BF01 9FA1 2D7A 04F5

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-10-10 15:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-06 14:35 login messages Kratzer, James R.
2003-10-06 16:19 ` Stephen Smalley
2003-10-07  5:32   ` Russell Coker
2003-10-07 13:51     ` Stephen Smalley
2003-10-07 15:43       ` Russell Coker
2003-10-09 19:39         ` Stephen Smalley
2003-10-10  6:20           ` Russell Coker
2003-10-10 15:19             ` James Morris
2003-10-06 17:56 ` Tom
  -- strict thread matches above, loose matches on Subject: below --
2003-10-06 19:17 Kratzer, James R.

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.