From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,c25884dc4863f768 X-Google-Attributes: gidfee84,public From: Nikola Milutinovic Subject: Re: dxaccounts Date: 1998/08/21 Message-ID: <35DDB1FD.B4FF3F00@EUnet.yu>#1/1 X-Deja-AN: 383413507 Content-Transfer-Encoding: 7bit References: <35dd7efb.0@amhnt2.amherst.edu> Content-Type: text/plain; charset=us-ascii Organization: Me organized? Not here! Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 Paul Chapin wrote: > > Is there a way to run dxaccounts without it locking the password file. It > takes almost ten minutes to load so I don't want to have to start it > everytime I want to check an account. 10 minutes? What do you have? It usually takes less than 10 seconds for me. > Or, is there a way to check the lock status of an account without using > dxaccounts. I can set the status using usermod, but I'd like to be able to > check and see if that's the user's problem first. Use "edauth" command. It displays a selected entry from a specified security database. See man pages, but I think it would be something like: edauth -g -d p If you see "...:u_lock:..." field, then it's administratively locked. If it's not there or it says "...:@u_lock:..." then it's OK. If there was an excessive failed login case, then ther would be "...:failures#:..." Nix.