Deleted Added
full compact
nologin.5 (37668) nologin.5 (42587)
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.

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

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)nologin.8 8.1 (Berkeley) 6/19/93
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.

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

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)nologin.8 8.1 (Berkeley) 6/19/93
33.\" $Id$
33.\" $Id: nologin.5,v 1.4 1998/07/15 06:37:06 charnier Exp $
34.\"
35.Dd June 19, 1993
36.Dt NOLOGIN 5
37.Os FreeBSD 2.1
38.Sh NAME
39.Nm nologin
40.Nd disallow logins
41.Sh DESCRIPTION
42.Nm Nologin
43disallows logins if the file
34.\"
35.Dd June 19, 1993
36.Dt NOLOGIN 5
37.Os FreeBSD 2.1
38.Sh NAME
39.Nm nologin
40.Nd disallow logins
41.Sh DESCRIPTION
42.Nm Nologin
43disallows logins if the file
44.Pa /etc/nologin
44.Pa /var/run/nologin
45exists.
46Programs display the contents of
45exists.
46Programs display the contents of
47.Pa /etc/nologin
47.Pa /var/run/nologin
48to the user and exit.
49.Sh SECURITY
50Ignored by
51.Xr login 1
52for user root.
53.Sh FILES
48to the user and exit.
49.Sh SECURITY
50Ignored by
51.Xr login 1
52for user root.
53.Sh FILES
54.Bl -tag -width /etc/nologinxxx -compact
55.It Pa /etc/nologin
54.Bl -tag -width /var/run/nologinxxx -compact
55.It Pa /var/run/nologin
56The
57.Nm
58file resides in
56The
57.Nm
58file resides in
59.Pa /etc .
59.Pa /var/run .
60.El
61.Sh SEE ALSO
62.Xr login 1 ,
63.Xr rlogin 1 ,
64.Xr telnet 1 ,
65.Xr shutdown 8
60.El
61.Sh SEE ALSO
62.Xr login 1 ,
63.Xr rlogin 1 ,
64.Xr telnet 1 ,
65.Xr shutdown 8