tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Peter Bartal <bartik () gmx ! net>
To: tru64-unix-managers
Subject: SUMMARY: unlock account from command line
Date: Fri, 28 Aug 1998 07:06:00 +0000	[thread overview]
Message-ID: <96078718212005.tru64-unix-managers.marc@archive.invalid> (raw)

First of all, thanks to the following people who took the time to answer:

Steve Copeland
Saar Picker
Mark Allen
Paul Yahnig
Matt Moore
Helen Tay
Ken McCoy
Guido Burak
Girish Phadke
Jasper Hoon

    I really used to accomplish this task using dxaccounts. I think I'm
going to use the command line more often. The gui is nice. But I'll stick to
my keyboard rather than to a rodent...

I picked the answer which I think covers the problem best, from Steve
Copeland:

 Usermod -x administrative_lock_applied=0 username
works if the user is only locked and not expired etc.

/usr/tcb/bin/edauth -g username |
  sed 's/string-to-alter-or-remove/string-to-replace/' |
  /usr/tcb/bin/edauth -s

will fix the others, once you determine from
/usr/tcb/bin/edauth -g username
what should be altered/removed.

man usermod(8), edauth(8) and prpasswd(4) for details (such as they
are.)

Cheers.

comment: the string-to-alter-or-remove in my case shoud be u_lock
                 and the string-to-replace shoud be u_lock@
----------------------------------------------------------------------------
--------

Peter Bartal Internet : bartal@gmx.net
Pribinova 25 Voice : 421-07-5634517
Bratislava Corinex Group a.s.
Slovakia

                 reply	other threads:[~1998-08-28  7:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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