Bug 3665 - PAM grants rlogin regardless of nologin
PAM grants rlogin regardless of nologin
Status: CLOSED WORKSFORME
Product: Red Hat Linux
Classification: Retired
Component: pam (Show other bugs)
6.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Cristian Gafton
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-06-23 09:12 EDT by loris.renggli
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:
Environment:
Last Closed: 1999-07-02 18:38:06 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description loris.renggli 1999-06-23 09:12:30 EDT
Including or not a "pam_nologin" stanza in /etc/pam.d/rlogin
has no effect: rlogin will succeed (provided of course
proper entries in $HOME/.rhosts file) even if the file
/etc/nologin exists.
Comment 1 Jay Turner 1999-06-23 10:22:59 EDT
This issue has been forwarded to a developer for further action.
Comment 2 Cristian Gafton 1999-07-02 18:38:59 EDT
depends where you put that pam_nologin module and how you configure
it. You need to put the pam_nologin module before pam_rhosts one.
This works on my system:
auth       required     /lib/security/pam_securetty.so
auth       required     /lib/security/pam_nologin.so
auth       sufficient   /lib/security/pam_rhosts_auth.so
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 nullok
use_authtok
session    required     /lib/security/pam_pwdb.so

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