*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> lock (1)              
Title
Content
Arch
Section
 

lock(1)

Contents


NAME    [Toc]    [Back]

       lock - Requests and verifies a user password

SYNOPSIS    [Toc]    [Back]

       lock [-number]

       The  lock  command  requests  and  reads a password from a
       user, then requests the password a second time  to  verify
       it.

OPTIONS    [Toc]    [Back]

       Sets  the  time-out  period to number minutes. The default
       value is 15 minutes.

DESCRIPTION    [Toc]    [Back]

       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    [Toc]    [Back]

       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    [Toc]    [Back]

      
      
       Commands:  passwd(1)



                                                          lock(1)
[ Back ]
 Similar pages
Name OS Title
krb5_kuserok FreeBSD verifies if a principal can log in as a user
yppasswd Tru64 Update user password in Network Information Service (NIS) password map.
pxfgetpwuid IRIX Gets password information by using user ID
passwd Linux change user password
checkPassword IRIX confirm a user password
yppasswd IRIX update user password in NIS database
unix_chkpwd Linux check the password of the invoking user
skey OpenBSD one-time password user database
skeyinit OpenBSD change password or add user to S/Key authentication system
chage Linux change user password expiry information
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service