Bug 120722

Summary: RFE: provide a command to display all roles available to a user
Product: [Fedora] Fedora Reporter: Gene Czarcinski <gczarcinski>
Component: libselinuxAssignee: Daniel Walsh <dwalsh>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideKeywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-04-28 18:24:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gene Czarcinski 2004-04-13 14:18:56 UTC
Description of problem:

Currently, there is no way a user can display just what roles are
available to that user (the newrole command must have the role specified).

Add the command "show_roles" to display the roles available to a user.

Comment 1 Daniel Walsh 2004-04-15 15:46:32 UTC
The problem is that roles are specific to the command you are executing.

IE you might have different roles available for newrole then you do
for su, sudo, login, xdm...

Roles are governed by the attainable roles and the contents of
/etc/security/default_contexts.

Comment 2 Daniel Walsh 2004-04-28 18:24:22 UTC
I am changing this to notabug, but we  can bring it up for discussion
on the list.  Stephen would probably comment there.

Dan