Name
lock
Synopsis
lock [options
]
Place a lock on the current shell session, preventing anyone from typing to the prompt without first entering a password or waiting until the end of the timeout period.
Options
- -p
Use the user’s system password instead of prompting to create a new one-time password.
-
-t
timeout
Unlock the prompt in
timeout
minutes instead of the default 15 minutes.
Get Mac OS X Tiger in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.