|
|
1.1 ! root 1: .\" Copyright (c) 1980 Regents of the University of California. ! 2: .\" All rights reserved. The Berkeley software License Agreement ! 3: .\" specifies the terms and conditions for redistribution. ! 4: .\" ! 5: .\" @(#)lock.1 6.3 (Berkeley) 4/26/87 ! 6: .\" ! 7: .TH LOCK 1 "April 26, 1987" ! 8: .UC ! 9: .SH NAME ! 10: lock \- reserve a terminal ! 11: .SH SYNOPSIS ! 12: .B lock ! 13: [ ! 14: .B -p ! 15: ] [ ! 16: .B -number ! 17: ] ! 18: .br ! 19: .SH DESCRIPTION ! 20: \fILock\fP requests a password from the user, reads it again for verification ! 21: and then it will normally not relinquish the terminal until the password is ! 22: repeated. There are three other conditions under which it will terminate: it ! 23: accepts the password for root as an alternative to the one given by the ! 24: user, it will timeout after some interval of time, and it may be killed by ! 25: somebody with the appropriate permission. The default time limit is 15 minutes ! 26: but it may be changed with the \fI-number\fP option where \fInumber\fP is the ! 27: time limit in minutes. The \fI-p\fP option has \fIlock\fP use the user's ! 28: standard password instead of requesting another one.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.