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_at_
----------------------------------------------------------------------------
--------
Peter Bartal Internet : bartal_at_gmx.net
Pribinova 25 Voice : 421-07-5634517
Bratislava Corinex Group a.s.
Slovakia
Received on Fri Aug 28 1998 - 06:30:53 NZST