Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jan 2002 19:14:48 +0200
From:      Sheldon Hearn <sheldonh@starjuice.net>
To:        Christopher Schulte <schulte+freebsd@nospam.schulte.org>
Cc:        security@freebsd.org, green@FreeBSD.org
Subject:   Re: sshd not honoring /var/run/nologin ( OpenSSH_2.3.0 FreeBSD localisations 20011202 ) 
Message-ID:  <62506.1011978888@axl.seasidesoftware.co.za>
In-Reply-To: Your message of "Fri, 25 Jan 2002 10:54:07 CST." <5.1.0.14.0.20020125103418.04610160@pop3s.schulte.org> 

index | next in thread | previous in thread | raw e-mail



On Fri, 25 Jan 2002 10:54:07 CST, Christopher Schulte wrote:

> The man page for sshd tells us:
> 
> -----
>       When a user successfully logs in, sshd does the following:
> [snip 1,2]
> 
>             3.   Checks /etc/nologin and /var/run/nologin; if one exists, it
>                  prints the contents and quits (unless root).

This is a bug in the manpage.  This check is only enforced if the
UseLogin sshd option is true.  See session.c for evidence.

Ciao,
Sheldon.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?62506.1011978888>