Text console not setting category

Forrest Taylor ftaylor at redhat.com
Wed Jul 18 17:00:18 UTC 2007

I have a user that has a category different than the default.  When I
log in to the GUI or via ssh, the category is set.  However, when I
login to the text console, the category is not set.  Is this a bug in
login or do I have unreasonable expectations?

# semanage translation -l 
s0:c1     admin1

# semanage login -l
student   user_u    admin1

Through ssh/GUI:
$ id -Z

Through text console:
$ id -Z

Now that I write this, I notice that the user and role have changed as
well.  I also notice this in the audit log:

type=USER_ROLE_CHANGE msg=audit(1184777815.107:4063): user pid=5517
uid=0 auid=500 subj=system_u:system_r:local_login_t:s0-s0:c0.c1023
msg='pam: default-context=user_u:system_r:unconfined_t:s0:c1 selected-
context=?: exe="/bin/login" (hostname=?, addr=?, terminal=tty1

This is running on RHEL 5.0.0 targeted policy.  Any clues?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-selinux-list/attachments/20070718/dcfebb81/attachment.sig>

More information about the fedora-selinux-list mailing list