Bug 14934 - /etc/pam.d/su wants pam_stack.s
/etc/pam.d/su wants pam_stack.s
Product: Red Hat Linux
Classification: Retired
Component: sh-utils (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: bero
Depends On:
  Show dependency treegraph
Reported: 2000-07-31 18:41 EDT by chodges
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-07-31 18:41:39 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description chodges 2000-07-31 18:41:37 EDT
After an upgrade from RH 6.2, su quits working and reports the following:

Jul 31 17:21:52 Omega su: PAM unable to dlopen(/lib/security/pam_stack.so)
Jul 31 17:21:52 Omega su: PAM [dlerror: /lib/security/pam_stack.so: cannot
open shared object file: No such file or directory]
Jul 31 17:21:52 Omega su: PAM adding faulty module:

/etc/pam.d/su included with rpm wants pam_stack.so which doesn't exist in
my distribution. Maybe needs a dependency for the package that has
pam_stack.so in rpm? Replacing /etc/pam.d/su with the old 6.2 file works
around the problem.

/etc/pam.d/su from pinstripe rpm:
auth       sufficient   /lib/security/pam_rootok.so
# Uncomment the following line to implicitly trust users in the "wheel"
#auth       sufficient   /lib/security/pam_wheel.so trust use_uid
# Uncomment the following line to require a user to be in the "wheel"
#auth       required     /lib/security/pam_wheel.so use_uid
auth       required     /lib/security/pam_stack.so service=system-auth
account    required     /lib/security/pam_stack.so service=system-auth
password   required     /lib/security/pam_stack.so service=system-auth
session    required     /lib/security/pam_stack.so service=system-auth
session    optional     /lib/security/pam_xauth.so

/etc/pam.d/su from 6.2 distribution:#%PAM-1.0
auth       required     /lib/security/pam_pwdb.so shadow nullok
account    required     /lib/security/pam_pwdb.so
password   required     /lib/security/pam_cracklib.so
password   required     /lib/security/pam_pwdb.so shadow use_authtok nullok
session    required     /lib/security/pam_pwdb.so
session    optional     /lib/security/pam_xauth.so
Comment 1 chodges 2000-07-31 18:56:55 EDT
Sorry... it looks like my rpm database is corrupted. Whether the corruption was
caused by the upgrade is unknown but in any case I'm going to do a fresh install
with pinstripe.

Note You need to log in before you can comment on or make changes to this bug.