From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,d7acc6670e90d16a X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-08-19 19:59:37 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: nicholas_hogg@yahoo.com (Nick) Newsgroups: comp.unix.tru64 Subject: Re: User account management with enhanced security Date: 19 Aug 2003 19:59:36 -0700 Organization: http://groups.google.com/ Message-ID: <505df60a.0308191859.4046e3e0@posting.google.com> References: <505df60a.0308121527.36468d50@posting.google.com> <3f3a732c@usenet01.boi.hp.com> <505df60a.0308142315.ec88e2d@posting.google.com> NNTP-Posting-Host: 203.2.228.63 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1061348377 11243 127.0.0.1 (20 Aug 2003 02:59:37 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 20 Aug 2003 02:59:37 GMT Xref: archiver1.google.com comp.unix.tru64:10708 Still having problems with this one... I'm running Tru64 Unix version 4.0F. I need to create and delete user accounts from the command line, rather than using dxaccounts. If I use 'useradd', an entry is made in /etc/passwd and I can use 'edauth -g ' to see that users entry in the protected password database (auth.db). I can use passwd to set the initial password for the user, and this gets updated in auth.db. I then use 'usermod -x administrative_lock_applied=0 ' to unlock the account. The user can then log in, and use 'passwd' to change their password, and this too is updated in auth.db. Here's the strange part... After a while (usually not less than about 10 minutes), the users entry in /etc/passwd disappears. I don't know what causes this and would appreciate suggestions. After this has happened, I can still view the user entry in auth.db, and the user can still log in, and use 'passwd' to change their password. If I run 'authck -p' it reports that is in the protected password database but not in /etc/passwd. The HP Security documentation for 4.0F says that there must be a corresponding entry in /etc/passwd for every entry in auth.db, and if this is not the case then the account is not considered valid. If anyone can enlighten me as to why the /etc/passwd entry is being removed, and by what process, I would appreciate it. Also, if the user can still log in and work without the entry in /etc/passwd, is there any reason I should try and fix this, other than because the doco says the account is not considered valid. Regards, Nick