Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: "Adam Price" <adam+usenet@pappnase.co.uk>
Subject: Re: problem with adding / deleting users
Date: Mon, 4 Mar 2002 20:50:53 -0000	[thread overview]
Message-ID: <G6Rg8.45815$Hg1.7817779@news6-win.server.ntlworld.com> (raw)
In-Reply-To: 9h578ugqvkbcid7b0obmpoedkm2srb75j7@4ax.com



"Eberhard Jopp" <eberhard.joppnospam@no_spam_benseler.de> wrote in message news:9h578ugqvkbcid7b0obmpoedkm2srb75j7@4ax.com...
> On Fri, 1 Mar 2002 18:32:24 -0000, "Adam Price"
> <adam+usenet@pappnase.co.uk> wrote:
SNIP

> >
> Hello Adam,
>
> Thank you very much for your help.
>
> I checked if there are duplicate UIDs in the passwd but I found none.
> Then I looked for files in /etc. I found passwd.pag and passwd.dir.
> man passwd leaded me to a command 'vipw'
> man vipw
> told me that this programm creates or recreates  the hashed
> passwd-database (Unfortunately I did not understand it completely).
> I executed 'vipw' , did nothing, but quit ':q'
> and all my problems are solved: Deleted user cannot login to the
> system and all user rights and permissions are correct.
>
> The only thing is, that I do not understand what's going on ...
>
The hashed password database (/etc/passwd.dir and /etc/passwd.pag) were
out of sync with /etc/passwd.
After you used vipw it re-ran the mkpasswd command to recreate the
hashed password database from the password file.
You could also have fixed it by manually running mkpasswd or by removing
/etc/passwd.dir and /etc/passwd.pag
Hope this helps
Adam




  reply	other threads:[~2002-03-04 20:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-01 15:59 problem with adding / deleting users Eberhard Jopp
2002-03-01 18:32 ` Adam Price
2002-03-04 15:56   ` Eberhard Jopp
2002-03-04 20:50     ` Adam Price [this message]
2002-03-05  7:25       ` Eberhard Jopp
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