Deleted Added
full compact
nologin.5 (13720) nologin.5 (23314)
1.\" Copyright (c) 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 23 unchanged lines hidden (view full) ---

32.\" @(#)nologin.8 8.1 (Berkeley) 6/19/93
33.\"
34.Dd June 19, 1993
35.Dt NOLOGIN 5
36.Os FreeBSD 2.1
37.Sh NAME
38.Nm nologin
39.Nd disallow logins
1.\" Copyright (c) 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 23 unchanged lines hidden (view full) ---

32.\" @(#)nologin.8 8.1 (Berkeley) 6/19/93
33.\"
34.Dd June 19, 1993
35.Dt NOLOGIN 5
36.Os FreeBSD 2.1
37.Sh NAME
38.Nm nologin
39.Nd disallow logins
40
41.Sh DESCRIPTION
42.Nm Nologin
40.Sh DESCRIPTION
41.Nm Nologin
43disallows logins if the file /etc/nologin exists.
44Programs display the contents of /etc/nologin to the user and exit.
45
42disallows logins if the file
43.Pa /etc/nologin
44exists.
45Programs display the contents of
46.Pa /etc/nologin
47to the user and exit.
46.Sh SECURITY
48.Sh SECURITY
47Ignored by login(1) for user root.
48
49Ignored by
50.Xr login 1
51for user root.
49.Sh FILES
50.Bl -tag -width /etc/nologinxxx -compact
51.It Pa /etc/nologin
52The
53.Nm nologin
54file resides in
55.Pa /etc .
56.El
52.Sh FILES
53.Bl -tag -width /etc/nologinxxx -compact
54.It Pa /etc/nologin
55The
56.Nm nologin
57file resides in
58.Pa /etc .
59.El
57
58.Sh SEE ALSO
59.Xr login 1 ,
60.Xr rlogin 1 ,
61.Xr telnet 1 ,
62.Xr shutdown 8
60.Sh SEE ALSO
61.Xr login 1 ,
62.Xr rlogin 1 ,
63.Xr telnet 1 ,
64.Xr shutdown 8