Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 119768

Summary: cannot su to standard user from root
Product: [Fedora] Fedora Reporter: Scott Sloan <devscott>
Component: coreutilsAssignee: Tim Waugh <twaugh>
Status: CLOSED DUPLICATE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 19:02:20 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 Scott Sloan 2004-04-02 01:22:54 UTC
Description of problem:

[root@localhost root]$ su scott
Apr  1 19:27:11 localhost kernel: audit(1080869231.623:0): avc: 
denied  { getattr } for  pid=3724 exe=/bin/bash path=/root dev=hda1
ino=2828897 scontext=user_u:user_r:user_t
tcontext=root:object_r:staff_home_dir_t tclass=dir
Apr  1 19:27:11 localhost kernel: audit(1080869231.669:0): avc: 
denied  { getattr } for  pid=3741 exe=/bin/bash path=/root dev=hda1
ino=2828897 scontext=user_u:user_r:user_t
tcontext=root:object_r:staff_home_dir_t tclass=dir
Apr  1 19:27:11 localhost kernel: audit(1080869231.703:0): avc: 
denied  { getattr } for  pid=3746 exe=/bin/bash path=/root dev=hda1
ino=2828897 scontext=user_u:user_r:user_t
tcontext=root:object_r:staff_home_dir_t tclass=dir

Comment 1 Tim Waugh 2004-04-02 08:44:41 UTC
(after clarification on IRC)

This is the same as bug #119455, just going from sysadm_t to user_t
instead of the other way around.  Same issue.

*** This bug has been marked as a duplicate of 119455 ***

Comment 2 Red Hat Bugzilla 2006-02-21 19:02:20 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.