[BACK]Return to lock.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / lock

Diff for /src/usr.bin/lock/lock.1 between version 1.18 and 1.19

version 1.18, 2019/07/05 14:11:26 version 1.19, 2019/07/19 18:32:19
Line 37 
Line 37 
 .Nd reserve a terminal  .Nd reserve a terminal
 .Sh SYNOPSIS  .Sh SYNOPSIS
 .Nm lock  .Nm lock
 .Op Fl np  .Op Fl p
 .Op Fl a Ar style  .Op Fl a Ar style
 .Op Fl t Ar timeout  .Op Fl t Ar timeout
 .Sh DESCRIPTION  .Sh DESCRIPTION
Line 45 
Line 45 
 requests a password from the user, reads it again for verification  requests a password from the user, reads it again for verification
 and then will normally not relinquish the terminal until the password is  and then will normally not relinquish the terminal until the password is
 repeated.  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 someone  
 with the appropriate privileges.  
 .Pp  .Pp
 The options are as follows:  The options are as follows:
 .Bl -tag -width Ds  .Bl -tag -width Ds
Line 66 
Line 63 
 .Ar style  .Ar style
 to get the standard prompt for that  to get the standard prompt for that
 .Ar style .  .Ar style .
 .It Fl n  
 Don't use a timeout value.  
 Terminal will be locked forever.  
 This option is incompatible with the  
 .Fl t  
 option.  
 .It Fl p  .It Fl p
 A password is not requested, instead the user's current login password  A password is not requested, instead the user's current login password
 is used.  is used.
Line 85 
Line 76 
 challenge to which they may respond with a six-word S/Key one-time  challenge to which they may respond with a six-word S/Key one-time
 password.  password.
 .It Fl t Ar timeout  .It Fl t Ar timeout
 The time limit (default 15 minutes) is changed to  Unlock the terminal after
 .Ar timeout  .Ar timeout
 minutes.  minutes.
 This option is incompatible with the  When used in this manner
 .Fl n  .Nm
 option.  should be invoked so that the user is safely logged out
   if the timeout elapses:
   .Pp
   .Dl $ lock -t 15 || exit
 .El  .El
 .Sh SEE ALSO  .Sh SEE ALSO
 .Xr skey 1 ,  .Xr skey 1 ,

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19