Go to main content

マニュアルページ セクション 1: ユーザーコマンド

印刷ビューの終了

更新: 2022年7月27日
 
 

lock(1)

名前

lock - lock tty

形式

lock

説明

Lock access to the current tty until successful re-authentication, by the user account that owns the tty device.

The lock command uses pam(3PAM) for authentication and account management with the PAM service name of "lock". The PAM configuration policy, listed in either /etc/pam.conf or /etc/pam.d/lock, specifies the modules to be used for lock.

A lock screen audit record is written on startup. A success or fail unlock screen audit record is written depending on the outcome of the PAM authentication.

属性

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/core-os

関連項目

login(1), attributes(7)