From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,8437b689e0f48291 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2002-03-04 23:39:06 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!isdnet!freenix!fr.clara.net!heighliner.fr.clara.net!news.netcologne.de!news.f.de.plusline.net!news.ccowzb.de!news.dtag.de!not-for-mail From: Eberhard Jopp Newsgroups: comp.sys.dec Subject: Re: problem with adding / deleting users Date: Tue, 05 Mar 2002 08:25:48 +0100 Organization: Deutsche Telekom AG Message-ID: References: <829v7u0ehstt5q9p2fdl75nuec2vlnuscj@4ax.com> <9h578ugqvkbcid7b0obmpoedkm2srb75j7@4ax.com> Reply-To: eberhard.joppnospam@no_spam_benseler.de NNTP-Posting-Host: 62.153.192.11 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.dtag.de 1015312893 11371 62.153.192.11 (5 Mar 2002 07:21:33 GMT) X-Complaints-To: usenet@news.dtag.de NNTP-Posting-Date: 5 Mar 2002 07:21:33 GMT X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.sys.dec:12188 On Mon, 4 Mar 2002 20:50:53 -0000, "Adam Price" wrote: > > >"Eberhard Jopp" wrote in message news:9h578ugqvkbcid7b0obmpoedkm2srb75j7@4ax.com... >> On Fri, 1 Mar 2002 18:32:24 -0000, "Adam Price" >> 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 > Thanks, now I'm completely satisfied (I hope my english is not too bad) Eberhard