xref: /openbsd-src/libexec/login_reject/login_reject.8 (revision adf22013be8a4dbec4a71f6e077ff65be310afd3)
1*adf22013Sajacoutot.\" $OpenBSD: login_reject.8,v 1.7 2014/04/23 18:24:23 ajacoutot Exp $
2b8a38d8eSmillert.\"
3b8a38d8eSmillert.\" Copyright (c) 1995 Berkeley Software Design, Inc. All rights reserved.
4b8a38d8eSmillert.\"
5b8a38d8eSmillert.\" Redistribution and use in source and binary forms, with or without
6b8a38d8eSmillert.\" modification, are permitted provided that the following conditions
7b8a38d8eSmillert.\" are met:
8b8a38d8eSmillert.\" 1. Redistributions of source code must retain the above copyright
9b8a38d8eSmillert.\"    notice, this list of conditions and the following disclaimer.
10b8a38d8eSmillert.\" 2. Redistributions in binary form must reproduce the above copyright
11b8a38d8eSmillert.\"    notice, this list of conditions and the following disclaimer in the
12b8a38d8eSmillert.\"    documentation and/or other materials provided with the distribution.
13b8a38d8eSmillert.\" 3. All advertising materials mentioning features or use of this software
14b8a38d8eSmillert.\"    must display the following acknowledgement:
15b8a38d8eSmillert.\"	This product includes software developed by Berkeley Software Design,
16b8a38d8eSmillert.\"	Inc.
17b8a38d8eSmillert.\" 4. The name of Berkeley Software Design, Inc.  may not be used to endorse
18b8a38d8eSmillert.\"    or promote products derived from this software without specific prior
19b8a38d8eSmillert.\"    written permission.
20b8a38d8eSmillert.\"
21b8a38d8eSmillert.\" THIS SOFTWARE IS PROVIDED BY BERKELEY SOFTWARE DESIGN, INC. ``AS IS'' AND
22b8a38d8eSmillert.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23b8a38d8eSmillert.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24b8a38d8eSmillert.\" ARE DISCLAIMED.  IN NO EVENT SHALL BERKELEY SOFTWARE DESIGN, INC. BE LIABLE
25b8a38d8eSmillert.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26b8a38d8eSmillert.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27b8a38d8eSmillert.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28b8a38d8eSmillert.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29b8a38d8eSmillert.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30b8a38d8eSmillert.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31b8a38d8eSmillert.\" SUCH DAMAGE.
32b8a38d8eSmillert.\"
33b8a38d8eSmillert.\"	BSDI	$From: login_reject.8,v 1.2 1996/08/01 21:02:26 prb Exp $
34b8a38d8eSmillert.\"
35*adf22013Sajacoutot.Dd $Mdocdate: April 23 2014 $
36b8a38d8eSmillert.Dt LOGIN_REJECT 8
37b8a38d8eSmillert.Os
38b8a38d8eSmillert.Sh NAME
39b8a38d8eSmillert.Nm login_reject
40b8a38d8eSmillert.Nd provide rejected authentication
41b8a38d8eSmillert.Sh SYNOPSIS
42b8a38d8eSmillert.Nm login_reject
43b8a38d8eSmillert.Op Fl s Ar service
44b8a38d8eSmillert.Ar user
45b8a38d8eSmillert.Op Ar class
46b8a38d8eSmillert.Sh DESCRIPTION
47b8a38d8eSmillertThe
48b8a38d8eSmillert.Nm
49b8a38d8eSmillertutility provides the rejection authentication class.
50b8a38d8eSmillertThe
51b8a38d8eSmillert.Ar user
52b8a38d8eSmillertname, while required, is ignored.
53b8a38d8eSmillertThe
54b8a38d8eSmillert.Ar class
55b8a38d8eSmillertname, which is optional, is also ignored.
56b8a38d8eSmillertThe
57b8a38d8eSmillert.Nm reject
58b8a38d8eSmillertauthentication mechanism is intended to be used to disallow certain
59bd9e08d2Smpechtypes of logins.
60bd9e08d2SmpechFor example, a class entry (see
61b8a38d8eSmillert.Xr login.conf 5 )
62b8a38d8eSmillertmay contain:
63b5ceb444Sjmc.Bd -literal -offset indent
64*adf22013Sajacoutot:auth=passwd:
65b8a38d8eSmillert:auth-ftp=reject:
66b8a38d8eSmillert.Ed
67bd9e08d2Smpech.Pp
68*adf22013Sajacoutotwhich would allow password authentication for this class
69b8a38d8eSmillertbut would reject attempts to authenticate from
70b8a38d8eSmillert.Xr ftpd 8 .
71b8a38d8eSmillert.Sh SEE ALSO
72046e7ae9Smarc.Xr login 1 ,
73b8a38d8eSmillert.Xr login.conf 5 ,
74046e7ae9Smarc.Xr ftpd 8
75