From: Hannes Loeffler <Hannes.Loeffler@uibk.ac.at>
Subject: Re: inconsistency between /etc/passwd and /var/tcb/files/auth.db
Date: 1999/08/27 [thread overview]
Message-ID: <yh67lmh61uj.fsf@tci005.uibk.ac.at> (raw)
In-Reply-To: 37C32E18.3663B78B@uni-lj.si
Jure Simsic <jure.simsic@uni-lj.si> writes:
> Hannes Loeffler wrote:
> >
> > I have the problem that I manually deleted a user name in /etc/passwd which,
> > of course, is still in /var/tcb/files/auth.db. Now I created a user with a new
> > name but the same user id as the one I deleted. The program authck complains
> > about this inconsistency and new files created by the user show the old user
> > name.
> >
> > Is there a way to manipulate the Protected Password database to remove the
> > older entry? OS version is 4.0d.
> >
> As I remember, you can't reuse UIDs. That's also the reason why you
> can't really delete users, only retire them in dxaccounts. It seems
> thats a kind of protection if some deleted/retired user's files were
> still laying around, the new user would have access to them as they are
> owned by uid's, not usernames.
Thank you for your answer. I'm already aware of the concept of retireing
users. What I was looking for a was a low level utility to manipulate
/var/tcb/files/auth.db directly. As Paul Szabo (thanks to you as well) pointed
out
#/tcb/bin/edauth -r <username>
removes <username> from auth.db. This seems to work perfectly (I checked with
`strings'), however, ls still maps the user id to the old user name. Now I
wonder from where ls (and others) get this information.
Still puzzled, Hannes.
prev parent reply other threads:[~1999-08-27 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-08-25 4:00 inconsistency between /etc/passwd and /var/tcb/files/auth.db Hannes Loeffler
1999-08-24 4:00 ` Jure Simsic
1999-08-27 4:00 ` Hannes Loeffler [this message]
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