---
name: "login_reject"
section: "8"
platform: "openbsd"
package: "man"
version: "8.0-current-20261101"
release: "OpenBSD 8.0-current (2026-11-01)"
platforms: ["openbsd"]
url: "https://new.carta.tech/login_reject"
---

# login\_reject(8)

provide rejected authentication

## NAME

**login\_reject** – provide rejected authentication

## SYNOPSIS

**login\_reject** \[**-s** *service*\] *user* \[*class*\]

## DESCRIPTION

The **login\_reject** utility provides the rejection authentication class. The *user* name, while required, is ignored. The *class* name, which is optional, is also ignored. The **reject** authentication mechanism is intended to be used to disallow certain types of logins. For example, a class entry (see [login.conf(5)](/login.conf/5.md)) may contain:

```
:auth=passwd:
:auth-ftp=reject:
```

which would allow password authentication for this class but would reject attempts to authenticate from [ftpd(8)](/ftpd/8.md).

## SEE ALSO

[login(1)](/login/1.md), [login.conf(5)](/login.conf/5.md), [ftpd(8)](/ftpd/8.md)
