DOKK / manpages / debian 11 / login / nologin.8.zh_CN
NOLOGIN(8) 系统管理命令 NOLOGIN(8)

名称

nologin - 礼貌地拒绝登录

大纲

nologin

描述

The nologin command displays a message that an account is not available and exits non-zero. It is intended as a replacement shell field for accounts that have been disabled.

To disable all logins, investigate nologin(5).

If SSH_ORIGINAL_COMMAND is populated it will be logged.

参见

login(1), nologin(5).

历史

The nologin command appeared in BSD 4.4.

2020-02-07 shadow-utils 4.8.1