Bug 64293 - RFE: allow an override of the /etc/nologin testing.
Summary: RFE: allow an override of the /etc/nologin testing.
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: openssh
Version: rawhide
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On: 54108 117981
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-05-01 20:29 UTC by Aleksey Nogin
Modified: 2016-09-28 20:56 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-05-25 13:52:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenSSH Project 1045 0 None None None Never
oVirt gerrit 64293 0 master MERGED image: Pass compat version. 2016-09-28 20:56:42 UTC

Description Aleksey Nogin 2002-05-01 20:29:22 UTC
Currently sshd tests for /etc/nologin *both* through the pam and on its own.
This is very annoying - one assumes that it's possible to override the tests by
modifying the /etc/pam.d/sshd, but then it turns out that the pam_nologin in
/etc/pam.d/sshd is redundant and that sshd does the testing itself and there is
no way to override it.

In short, this RFE is for:
1) Configuration option to override the /etc/nologin testing in sshd itself (see
also bug #47298).
2) Change in the default config shipped by RedHat to have the override turned on.

P.S. According to bug #54108, the pam_nologin needs to be moved from auth to
account in order to work properly even with the RSA authentication.

Comment 1 Dax Kelson 2004-09-18 01:41:09 UTC
I concur this should be fixed. This is not how Red Hat Linux 9 behaved
and having upgraded to Fedora Core 2 from RHL9 I was bitten by this.



Comment 2 Evan McNabb 2004-09-18 02:11:51 UTC
This also appears to be a problem in RHEL 3. In my opinion there
shouldn't be a toggle switch in sshd; the check should be done only in
PAM.

Comment 3 Tomas Mraz 2005-02-07 10:44:49 UTC
Without solving bug 54108 the nologin processing shouldn't be removed. Also
note, that the contents of /etc/nologin should be dumped on client's terminal.
This isn't/cannot be the case of using pam for nologin processing.

Adding a new configuration option is also not good without having it in upstream
portable OpenSSH first so please report it to http://bugzilla.mindrot.org/.

Comment 4 Tomas Mraz 2005-05-25 13:52:02 UTC
OK, done that for you even with a patch.
http://bugzilla.mindrot.org/show_bug.cgi?id=1045

If upstream accepts it we'll see.



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