* Disabled accounts
@ 2003-01-10 19:00 Darryl Cook
0 siblings, 0 replies; only message in thread
From: Darryl Cook @ 2003-01-10 19:00 UTC (permalink / raw)
I need some help with Tru64 5.1. I create about 200 accounts each
semester and then close them out at the end of each semester. Almost
every semester after new accounts have been created and old accounts
reactivated some have problems being disabled. If I go into dxaccounts
and look at the account it has a red circle with an X in it. Im sure
most of you have seen it. If I click on the enable tab and set a date
in the future then the X is gone and the account is ok again. My
question is this: What is causing this in the first place? I would
like to incorporate into my scripts that build the accounts something
that would clear this so I dont have to do it by hand each time. Below
is the commands that I use to create new accounts
useradd -c "$username" -d $directory/$userid -g csf -s
/usr/local/bin/tcsh -x administrative_lock_applied=1 -x distributed=0 -x
passwd_must_change=1 -x account_inactive=14 $userid
and the one that I reactivate an already existing account is
usermod -d /u/css/$userid -x administrative_lock_applied=1 distributed=0
$userid
Im pretty sure that it is mostly older accounts that have the problem.
thanks,
darryl cook
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-01-10 19:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-10 19:00 Disabled accounts Darryl Cook
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox