* inconsistency between /etc/passwd and /var/tcb/files/auth.db
@ 1999-08-25 4:00 Hannes Loeffler
1999-08-24 4:00 ` Jure Simsic
0 siblings, 1 reply; 3+ messages in thread
From: Hannes Loeffler @ 1999-08-25 4:00 UTC (permalink / raw)
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.
TIA, Hannes.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: inconsistency between /etc/passwd and /var/tcb/files/auth.db
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
0 siblings, 1 reply; 3+ messages in thread
From: Jure Simsic @ 1999-08-24 4:00 UTC (permalink / raw)
To: Hannes Loeffler
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.
j-)
--
Jure Simsic
email: jure.simsic@uni-lj.si
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: inconsistency between /etc/passwd and /var/tcb/files/auth.db
1999-08-24 4:00 ` Jure Simsic
@ 1999-08-27 4:00 ` Hannes Loeffler
0 siblings, 0 replies; 3+ messages in thread
From: Hannes Loeffler @ 1999-08-27 4:00 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-08-27 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox