From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Darryl Cook Newsgroups: gmane.os.tru64.managers Subject: Disabled accounts Date: Fri, 10 Jan 2003 14:00:49 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <3E1F1861.50305@cs.appstate.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1042225205 1140 80.91.224.249 (10 Jan 2003 19:00:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 10 Jan 2003 19:00:05 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18X4Nt-0000Hg-00 for ; Fri, 10 Jan 2003 20:00:01 +0100 Original-Received: (qmail 31865 invoked by uid 5); 10 Jan 2003 19:01:01 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 31843 invoked by uid 49493); 10 Jan 2003 19:01:01 -0000 Original-Received: from dlc@cs.appstate.edu by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(0.3/5.0):. Processed in 0.374166 secs); 10 Jan 2003 19:01:01 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 10 Jan 2003 19:01:00 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0H8I00H0OI5KPG@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 10 Jan 2003 14:01:00 -0500 (EST) Original-Received: from cs.cs.appstate.edu (cs.cs.appstate.edu [152.10.143.13]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0H8I00C8CI5DIZ@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 10 Jan 2003 14:00:53 -0500 (EST) Original-Received: from cs.appstate.edu (viking.cs.appstate.edu [152.10.116.70]) by cs.cs.appstate.edu (8.12.6/8.12.6) with ESMTP id h0AJ0nRM139460 for ; Fri, 10 Jan 2003 14:00:49 -0500 (EST) Original-To: Tru64 Mailing List X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 Xref: main.gmane.org gmane.os.tru64.managers:2927 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:2927 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