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 12:51:09 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!lon1-news.nildram.net!peernews!peer.cwci.net!news5-gui.server.ntli.net!ntli.net!news6-win.server.ntlworld.com.POSTED!not-for-mail From: "Adam Price" Newsgroups: comp.sys.dec References: <829v7u0ehstt5q9p2fdl75nuec2vlnuscj@4ax.com> <9h578ugqvkbcid7b0obmpoedkm2srb75j7@4ax.com> Subject: Re: problem with adding / deleting users X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Inktomi-Trace: ntl_site 1015275044 14249 80.2.249.101 (4 Mar 2002 20:50:44 GMT) Message-ID: Date: Mon, 4 Mar 2002 20:50:53 -0000 NNTP-Posting-Host: 80.3.128.4 X-Complaints-To: abuse@ntlworld.com X-Trace: news6-win.server.ntlworld.com 1015275046 80.3.128.4 (Mon, 04 Mar 2002 20:50:46 GMT) NNTP-Posting-Date: Mon, 04 Mar 2002 20:50:46 GMT Organization: ntl News Service Xref: archiver1.google.com comp.sys.dec:12178 "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