osf1 man page for lock

Query: lock

OS: osf1

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

lock(1) 						      General Commands Manual							   lock(1)

NAME
lock - Requests and verifies a user password
SYNOPSIS
lock [-number] The lock command requests and reads a password from a user, then requests the password a second time to verify it.
OPTIONS
Sets the time-out period to number minutes. The default value is 15 minutes.
DESCRIPTION
The lock command then locks the terminal and does not relinquish it until the password is received again, unless one of the following occurs: The root password is entered. The time-out interval is exceeded. The command is killed by a user with appropriate permission. The time-out default value is 15 minutes, but this can be changed with the -number option.
EXAMPLES
To lock a terminal, enter: lock The password is requested twice, with two different prompts, so the system can verify it. If the password is not repeated within 15 minutes, the command times out. To lock a terminal for 10 minutes instead of 15, enter: lock -10
SEE ALSO
Commands: passwd(1) lock(1)
Related Man Pages
lckpwdf(3c) - opensolaris
ulckpwdf(3c) - opensolaris
lock_read(9r) - osf1
lock_terminate(9r) - osf1
ulckpwdf(3c) - sunos
Similar Topics in the Unix Linux Community
Delete a block of text delimited by blank lines when pattern is found
Command rm deletes filename but not the blocks
Extracting a block of text from a large file using variables?
How can I extract XML block around matching search string?
Help with Reviving a NETRA240 Pls?