Bug 121217 - console logins have different user context
console logins have different user context
Product: Fedora
Classification: Fedora
Component: policy (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2004-04-19 06:31 EDT by Thomas Molina
Modified: 2007-11-30 17:10 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-04-19 11:21:48 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Thomas Molina 2004-04-19 06:31:38 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040312

Description of problem:
If I rlogin from another computer or open a terminal window in
runlevel five I get a different user context than if I login at a
"normal" console.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. rlogin, get user context
2. login at a console, get sysadm context


Actual Results:  During an rlogin (or a terminal window in runlevel 5)
I get:

[root@dad root]# rlogin -l tmolina dad
Last login: Mon Apr 19 06:23:55 on tty1
[tmolina@dad tmolina]$ id -Z
[tmolina@dad tmolina]$

When I login at a "normal" console I get:
Fedora Core release 1.91 (FC2)
Kernel 2.6.5-1.326 on an i686
dad login: tmolina
Your default context is user_u:sysadm_r:sysadm_t.
Do you want to choose a different one? [n]
Last login: Sun Apr 18 19:22:54 on :0
[tmolina@dad tmolina]$ id -Z

Expected Results:  I should get the same context no matter how I log in.

Additional info:
Comment 1 Colin Walters 2004-04-19 11:21:48 EDT
This should be done in the latest policy.

Note You need to log in before you can comment on or make changes to this bug.