Bug 198964

Summary: Incorrect behavior of PAM auth with /lib/security/pam_rootok.so commented out
Product: Red Hat Enterprise Linux 2.1 Reporter: Kirk Larsen <klarsen>
Component: sh-utilsAssignee: Tim Waugh <twaugh>
Status: CLOSED WONTFIX QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1CC: tmraz
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-07-21 14:45:57 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 Kirk Larsen 2006-07-15 00:55:49 UTC
Description of problem:

When user "root" uses the su command to change to another user, the system
should prompt for user's password if the following line is commented out in the
file /etc/pam.d/su : 

#auth sufficent /lib/security/pam_rootok.so 

Version-Release number of selected component (if applicable):
pam-0.75-46.64

How reproducible:


Steps to Reproduce:
1.  Comment out "auth sufficent /lib/security/pam_rootok.so" in /etc/pam.d/su
2.  su username
  
Actual results:
No password asked for

Expected results:
Password is asked for

Additional info:

This behavior works with
RHEL 3.0 pam-0.75-54

Comment 1 Tomas Mraz 2006-07-17 07:05:27 UTC
This is feature of su in RHEL2.1. (PAM is almost identical in RHEL3 and RHEL2.1)
I don't think it should/will be changed now.
Reassigning to sh-utils maintainer for final decision.


Comment 2 Tim Waugh 2006-07-21 14:45:57 UTC
No, we can't change that at this point.