From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d293c7f8ef38bcf2 X-Google-Attributes: gidfee84,public From: Hannes Loeffler Subject: Re: inconsistency between /etc/passwd and /var/tcb/files/auth.db Date: 1999/08/27 Message-ID: #1/1 X-Deja-AN: 517724014 Sender: hal@tci005.uibk.ac.at References: <37C32E18.3663B78B@uni-lj.si> Content-Type: text/plain; charset=US-ASCII X-Trace: 27 Aug 1999 10:53:56 +0100, tci005.uibk.ac.at Organization: University of Innsbruck - Institute of General, Inorganic and Theoretical Chemistry Mime-Version: 1.0 (generated by tm-edit 7.108) Newsgroups: comp.unix.osf.osf1 Jure Simsic 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 removes 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.