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 14:02:20 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:

Description Scott Sloan 2004-04-01 20:22:54 EST
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 03:44:41 EST
(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 14:02:20 EST
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.