From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,89e3ba1db203e07 X-Google-Attributes: gidfee84,public From: mcheek@alfin (Matt Cheek) Subject: Re: Unlocking a user account Date: 1997/06/06 Message-ID: <5n9vu1$df7@webdev.mcit.com>#1/1 X-Deja-AN: 246635099 References: <339826BB.6FA2@dsuper.net> Organization: MCI Telecommunications Colorado Springs, CO Reply-To: Matthew.Cheek@MCI.Com Newsgroups: comp.unix.osf.osf1 Anthony McGarr (delphig@dsuper.net) wrote: > Version 4.0b.C2 enabled .. How do you unlock a user account from the > command line. > Due to a bug in the cde we cannot use dxaccounts. Anthony, As root, run the following: /usr/tcb/bin/edauth userid (of course substituting the user account name) This should pop you into the editor specified by the $EDITOR environment variable with the protected password entry for that account. Simply find and remove the "u_lock" entry, then save quit the editor. For example: This account is locked: mcheek:u_name=mcheek:u_id#201:u_pwd=VIyfrxO1cdD.Y:u_succhg#865377576:\ :u_unsucchg#865347935:u_policy:u_pwchanger=mcheek:u_oldcrypt#0:\ :u_suclog#865205124:u_suctty=ttyp7:u_lock:chkent: After removing the "u_lock" parameter on the third line, now this account is unlocked: mcheek:u_name=mcheek:u_id#201:u_pwd=VIyfrxO1cdD.Y:u_succhg#865377576:\ :u_unsucchg#865347935:u_policy:u_pwchanger=mcheek:u_oldcrypt#0:\ :u_suclog#865205124:u_suctty=ttyp7:chkent: Hope this helps. Matt -- MCI Telecommunications | Matthew.Cheek@MCI.Com 2424 Garden of the Gods Road | MCI Mail: 201-2666 Colorado Springs, CO 80919 | Tel: (719) 535-6677