Xref: utzoo comp.sys.att:3991 unix-pc.general:1248 comp.unix.questions:8788
Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!killer!dcs!wnp
From: wnp@dcs.UUCP (Wolf N. Paul)
Newsgroups: comp.sys.att,unix-pc.general,comp.unix.questions
Subject: Re: username problem
Message-ID: <172@dcs.UUCP>
Date: 15 Aug 88 01:20:35 GMT
References: <578@proxftl.UUCP>
Reply-To: wnp@dcs.UUCP (Wolf N. Paul)
Organization: DCS, Dallas, Texas
Lines: 34

In article <578@proxftl.UUCP> aaron@proxftl.UUCP (Aaron Zimmerman) writes:
 >I have a curious problem on my 3b1...
 >
 >Login: aaron
 >Password:
 >$
 >
 >[that is, I log in okay]
 >
 >$ who am i
 >aaron      w4           Aug 12 08:01
 >$ passwd
 >Changing password for LOGIN
 >Permission denied.
 >$ passwd aaron
 >Old password:
 >
 >
 >So what's happenning is: somewhere along the line, some things think I'm
 >aaron, while others think I'm not. What's the story? I figure something might
 >be wrong with my /etc/group or my /etc/passwd.

sounds more like a problem with /etc/utmp to me, since passwd seems to think
you are "LOGIN", which is one of the entries in the utmp file, whereas it has
nothing to do with either /etc/passwd or /etc/group.

What does "who" show ?

It seens that either /bin/login does not properly update the utmp file, or
else /bin/passwd does not read it properly.
-- 
Wolf N. Paul * 3387 Sam Rayburn Run * Carrollton TX 75007 * (214) 306-9101
UUCP:     killer!dcs!wnp                 ESL: 62832882
DOMAIN:   wnp%dcs@killer.dallas.tx.us    TLX: 910-380-0585 EES PLANO UD