tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Darryl Cook <dlc@cs.appstate.edu>
Subject: Disabled accounts
Date: Fri, 10 Jan 2003 14:00:49 -0500	[thread overview]
Message-ID: <3E1F1861.50305@cs.appstate.edu> (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



                 reply	other threads:[~2003-01-10 19:00 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