icon Top 9 categories map      RocketAware >


Tips: Browse or Search all pages for efficient awareness of more than 6000 of the most popular reusable and open source applications, functions, libraries, and FAQs.

The "RKT couplings" below include links to source code, updates, additional information, advice, FAQs, and overviews.


Search all pages


By activity
Professions, Sciences, Humanities, Business, ...

User Interface
Text-based, GUI, Audio, Video, Keyboards, Mouse, Images,...

Text Strings
Conversions, tests, processing, manipulation,...

Integer, Floating point, Matrix, Statistics, Boolean, ...

Algorithms, Memory, Process control, Debugging, ...

Stored Data
Data storage, Integrity, Encryption, Compression, ...

Networks, protocols, Interprocess, Remote, Client Server, ...

Hard World
Timing, Calendar and Clock, Audio, Video, Printer, Controls...

File System
Management, Filtering, File & Directory access, Viewers, ...


RocketLink!--> Man page versions: OpenBSD FreeBSD NetBSD Others

LOCK(1)                    OpenBSD Reference Manual                    LOCK(1)

     lock - reserve a terminal

     lock [-n] [-p] [-t timeout]

     lock requests a password from the user, reads it again for verification
     and then will normally not relinquish the terminal until the password is
     repeated.  There are two other conditions under which it will terminate:
     it will timeout after some interval of time and it may be killed by some-
     one with the appropriate privileges.

     The options are as follows:

     -n          Don't use a timeout value.  Terminal will be locked forever.

     -p          A password is not requested, instead the user's current login
                 password is used.  If the user has an S/Key key, they may al-
                 so use it to unlock the terminal. To do this the user should
                 enter "s/key" at the unlock "Key:" prompt. The user will then
                 be issued an S/Key challenge to which they may respond with a
                 six-word S/Key one-time password.

     -t timeout  The time limit (default 15 minutes) is changed to timeout


     The lock command appeared in 3.0BSD.

OpenBSD 2.6                      June 6, 1993                                1

Source: OpenBSD 2.6 man pages. Copyright: Portions are copyrighted by BERKELEY
SOFTWARE DESIGN, INC., The Regents of the University of California, Massachusetts
Institute of Technology, Free Software Foundation, FreeBSD Inc., and others.

(Corrections, notes, and links courtesy of RocketAware.com)

[Detailed Topics]
FreeBSD Sources for lock(1)
OpenBSD sources for lock(1)

[Overview Topics]

Up to: Terminal I/O - low-level character based display (TTY) and keyboard routines.

RocketLink!--> Man page versions: OpenBSD FreeBSD NetBSD Others

Rapid-Links: Search | About | Comments | Submit Path: RocketAware > lock.1/
RocketAware.com is a service of Mib Software
Copyright 1999, Forrest J. Cavalier III. All Rights Reserved.
We welcome submissions and comments