From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,8f50b074b85793f6 X-Google-Attributes: gidfee84,public From: ccam@spiral2.its.latrobe.edu.au (Andrew Moar) Subject: Re: Upgrade problem!! Date: 1999/10/21 Message-ID: <7ulrmd$ath$1@news.latrobe.edu.au>#1/1 X-Deja-AN: 538659282 References: <380dcc7d.66009632@news.dal.ca> Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@news.latrobe.edu.au X-Trace: news.latrobe.edu.au 940470797 11185 131.172.12.60 (21 Oct 1999 01:53:17 GMT) Organization: La Trobe University Mime-Version: 1.0 NNTP-Posting-Date: 21 Oct 1999 01:53:17 GMT Newsgroups: comp.unix.osf.osf1 In article <380dcc7d.66009632@news.dal.ca>, hx_101@hotmail.com (HxMan) writes: > I am getting strange things happening that did not happen prior to our > upgrade from 4.0 to 4.0d...... When adding new users (adduser), these > new users are getting locked automatically, so I have to boot > dxaccounts and unlock them.... Also, this process seems to lock both For this one you need to change the defaults. You can do this via the GUI, but it's probably easier via the command line: # usermod -D -x administrative_lock_applied=0 (to display the current defaults, just use "usermod -D") > the passwd and group file and place the file /etc/.AM_is_running..... > Any ideas why this is happening?????? Well, I guess to lock the passwd and group files :) > Also, how do I unlock an account without using dxaccounts??? Depends somewhat on why it was locked... There are number of reasons why an account gets locked, eg. number of unsuccesful logins exceeded, password lifetime expired, admin. lock applied... Couple of ways to fix such problems: edauth -g fred | sed "s/u_numunsuclog#99/u_numunsuclog#0/" | edauth -s (to reset unsuccessful logons) or usermod -x administrative_lock_applied=0 fred (to remove admin. lock on fred) See man usermod and man edauth for more fun and excitement... -- Andrew Moar : Ph +61 3 9479 1505 email A.Moar@latrobe.edu.au Unix Environment Specialist, Information Technology Services La Trobe University, Melbourne