* SUMMARY: Can't enable user from command line (w/ enhanced security)
@ 1999-07-02 16:28 Jon Wright
0 siblings, 0 replies; only message in thread
From: Jon Wright @ 1999-07-02 16:28 UTC (permalink / raw)
To: tru64-unix-managers
Essence of the original problem:
> I created a new account using useradd and usermod. The entry for this
> account in /etc/password is consistent with all the other (working)
> accounts. I set the password with passwd. I tried to log in; no joy. I
> did a usermod -x administrative_lock_applied=0; that didn't have any
> effect.
>
> What more do I need to do to enable this account (from the command
> line)? And also, is there a way to tell from the command line whether
> or not an account is disabled?
/tcb/bin/edauth is the magic tool. It can list and edit the authcap
database that comes along with Enhanced Security.
I got several pointers stating that a value of :u_lock: meant the
account
was disabled and :u_lock@: meant is was enabled.
Well, I suspect my problem was that neither of these was in the record
for my new user! So I compared a known working user against my new
user and added :u_lock@: in the appropriate position. I also had to
decrement the u_numunsuclog field down to something reasonable
(from 8 to 1). Then I was able to login.
This behavior could correspond to one tidbit I received from Toni
Harbaugh-Blackford <harbaugh@ncifcrf.gov>:
> What version of DU4.0 are you running? This is actually a bug that
> has been fixed as of 4.0D PK2.
> You can stop this from happening - *without* installing the patch kit.
> Immediately after changing the password for the user, run edauth and
> remove the 'u_pwchanger' field.
I didn't do what Toni said, but noticed that once I was able to login,
the u_pwchanger field was removed from the user's record. So, this
could be a known bug.
A great, big THANKS (in no particular order) to:
Andrew Busch <a.busch@qut.edu.au>
Rober Mulley <robert@gnsconsulting.com.au>
Marie-Claude Vialatte <mc.vialatte@cust.univ-bpclermont.fr>
Toni Harbaugh-Blackford <harbaugh@ncifcrf.gov>
Piotr Bienias <bienias@ae.katowice.pl>
Gordon Lawson <gordon.lawson@uk.akzonobel.com>
Regards,
Jon
--
Jon Wright
Unified Information, Inc.
voice: 425-814-4019
fax: 425-814-4001
mailto:jon.wright@ui.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-07-02 16:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-07-02 16:28 SUMMARY: Can't enable user from command line (w/ enhanced security) Jon Wright
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox