The Archives

  • 08.Feb.09
    Unlocking a user account cmd | rafacas | (0)
    # passwd -u user Unlocks user's account. That is, lets user log in (a locked account is one prevented from logging in).
  • 25.Jan.09
    Locking a user account shell | rafacas | (3)
    # passwd -l user Locks user's account, that is, prevents user from logging in. Note: This option is available in Linux and Solaris. In Mac OS X, -l option means something different: # passwd -l location user Here, -l changes the password in location. Valid values are: file: a filename. Default is /etc/master.passwd netinfo: a domain name or server/tag pair nis: an NIS domain name opendirectory: a directory node name