[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: man login(1) references /etc/nologin instead of /etc/nologin.txt as said in man nologin(8)



On Tue, 13 Jan 2004, Dmitriy Medvedev wrote:

> Index: login.1
> ===================================================================
> RCS file: /cvs/src/usr.bin/login/login.1,v
> retrieving revision 1.22
> diff -u -r1.22 login.1
> --- login.1     2003/06/10 09:12:10     1.22
> +++ login.1     2004/01/13 10:06:30
> @@ -106,7 +106,7 @@
>  .El
>  .Pp
>  If the file
> -.Pa /etc/nologin
> +.Pa /etc/nologin.txt
>  exists (and the
>  .Dq ignorenologin
>  boolean is not set in the user's login class),
> @@ -209,7 +209,7 @@
>  login configuration
>  .It Pa /etc/motd
>  message-of-the-day
> -.It Pa /etc/nologin
> +.It Pa /etc/nologin.txt
>  disallows logins
>  .It Pa /var/run/utmp
>  current logins

You are confusing the program nologin(8) (which displays
login.txt)  and /etc/nologin (a file checked and displayed by login(1)).

	-Otto