Bug 443485

Summary: id <username> should not print security context of current user
Product: [Fedora] Fedora Reporter: Ronny Buchmann <ronny-rhbugzilla>
Component: coreutilsAssignee: Ondrej Vasik <ovasik>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: coreutils-6.11-2.fc10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-04-24 11:08:47 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Ronny Buchmann 2008-04-21 15:59:03 EDT
Description of problem:
"id <user>" prints the security context of the calling user, not of the given
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):
Comment 1 Ondrej Vasik 2008-04-22 04:16:06 EDT
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 11:08:47 EDT
Accepted by upstream, built as coreutils-6.11-2.fc10. Closing RAWHIDE.