From: nicholas_hogg@yahoo.com (Nick)
Subject: Re: User account management with enhanced security
Date: 19 Aug 2003 19:59:36 -0700 [thread overview]
Message-ID: <505df60a.0308191859.4046e3e0@posting.google.com> (raw)
In-Reply-To: 505df60a.0308142315.ec88e2d@posting.google.com
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 <username>' 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 <username>' 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 <username> 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
next prev parent reply other threads:[~2003-08-20 2:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-12 23:27 User account management with enhanced security Nick
2003-08-13 7:46 ` Nikola Milutinovic
2003-08-13 16:53 ` Ann Majeske
2003-08-15 7:15 ` Nick
2003-08-20 2:59 ` Nick [this message]
2003-08-20 19:59 ` Ann Majeske
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox