From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,8437b689e0f48291,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2002-03-01 08:09:22 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.tele.dk!small.news.tele.dk!193.174.75.178!news-fra1.dfn.de!news.f.de.plusline.net!news.ccowzb.de!news.dtag.de!not-for-mail From: Eberhard Jopp Newsgroups: comp.sys.dec Subject: problem with adding / deleting users Date: Fri, 01 Mar 2002 16:59:10 +0100 Organization: Deutsche Telekom AG Message-ID: <829v7u0ehstt5q9p2fdl75nuec2vlnuscj@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 1014998102 10957 62.153.192.11 (1 Mar 2002 15:55:02 GMT) X-Complaints-To: usenet@news.dtag.de NNTP-Posting-Date: 1 Mar 2002 15:55:02 GMT X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.sys.dec:12140 Hello, I have a very strange phenomenon while adding / deleting users. We have a DEC Alpha 2000 with Digital Unix 4.0d. When I add a user with useradd john ... the systems creates a line in /etc/passwd, a homedirectory and everything seems to be okay. But when I login as user john I get the following: ALPHA> login john Password: Last login: Fri Mar 1 16:27:51 on ttyp4 Digital UNIX V4.0D (Rev. 878); Sat Mar 27 20:29:06 MET 1999 ***************************************************** No terminfo database. Cannot find termcap ALPHA> pwd /usr/users/john ALPHA> whoami staatz ALPHA> echo "something" > text.txt ALPHA> ls -l total 2 drwxr-xr-x 2 staatz users 512 Dec 30 1997 bin -rw-r--r-- 1 staatz users 10 Mar 1 16:29 text.txt ALPHA> ---------------------------------------------------------------------- The user is identified from the system as "staatz" - this is another active and valid username. Ok. I add the next user: adduser harry ... --------------------------------------------------------------------- # login harry Password: Digital UNIX V4.0D (Rev. 878); Sat Mar 27 20:29:06 MET 1999 **************************************************************************** No terminfo database. Cannot find termcap ALPHA> whoami seitz ALPHA> pwd /usr/users/harry ALPHA> echo "what is" > text.txt ALPHA> ls -l total 2 drwxr-xr-x 2 seitz users 512 Dec 30 1997 bin -rw-r--r-- 1 seitz users 8 Mar 1 16:32 text.txt ALPHA> -------------------------------------------------------------------------- The user is identified from the system as "seitz" - this is another active and valid username. Then I decide to delete user john: -------------------------------------------------------------------------- # whoami root # userdel john userdel: Specified user not found. # # more /etc/passwd | grep john john:idNBBpGnc2JEc:14927:15:john:/usr/users/john:/bin/sh # # more /etc/group | grep john # -------------------------------------------------------------------------- OK, I think I delete him in passwd, then: -------------------------------------------------------------------------- # whoami root # more /etc/passwd | grep john # # login john Password: Last login: Fri Mar 1 16:28:46 on ttyp4 Digital UNIX V4.0D (Rev. 878); Sat Mar 27 20:29:06 MET 1999 **************************************************************************** No terminfo database. Cannot find termcap ALPHA> ALPHA> whoami staatz ALPHA> pwd /usr/users/john ALPHA> ------------------------------------------------------------------------- john is still able to login to the system, although there is no entry for him in passwd. Does anyone knows why this happen and how can I fix it?? Many thanks Eberhard Jopp