Disabled accounts

From: Darryl Cook (dlc@cs.appstate.edu)
Date: Fri Jan 10 2003 - 14:00:49 EST


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



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:03 EDT