Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: mcheek@alfin (Matt Cheek)
Subject: Re: Unlocking a user account
Date: 1997/06/06	[thread overview]
Message-ID: <5n9vu1$df7@webdev.mcit.com> (raw)
In-Reply-To: 339826BB.6FA2@dsuper.net


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



      parent reply	other threads:[~1997-06-06  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-06-06  4:00 Unlocking a user account Anthony McGarr
1997-06-06  4:00 ` Torsten Hehl
1997-06-06  4:00 ` Matt Cheek [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox