Bug 443485 - id <username> should not print security context of current user
Summary: id <username> should not print security context of current user
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: coreutils
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Ondrej Vasik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-21 19:59 UTC by Ronny Buchmann
Modified: 2008-04-24 15:08 UTC (History)
1 user (show)

Fixed In Version: coreutils-6.11-2.fc10
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-04-24 15:08:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ronny Buchmann 2008-04-21 19:59:03 UTC
Description of problem:
"id <user>" prints the security context of the calling user, not of the given
username.
This is extremely misleading. (Especially with the new selinux where not
everybody is unconfined_u)

I think it's not possible to print the security context of the given user, so
it's better to not print it at all.

Version-Release number of selected component (if applicable):
6.10-18.fc9

Comment 1 Ondrej Vasik 2008-04-22 08:16:06 UTC
Thanks for report, that id behavior is not RedHat specific, will propose that
change to upstream (to not display security context when user is specified).
Seems to be reasonable(context is missleading) and it is not a big deal.

Comment 2 Ondrej Vasik 2008-04-24 15:08:47 UTC
Accepted by upstream, built as coreutils-6.11-2.fc10. Closing RAWHIDE.


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