I had originally used the 1000 UID that slackware assigned it.  I changed
it because, well I was trying just about anything and that was the number
that Redhat 5.1 had given that same user when I created him.  As it turned
out the permissions for /etc/passwd was set at 700.  So when I logged on
as someone other than root, the OS was unable to read the file and tell me
who I was.  I'm not positive here, but don't really think that the value
of the UID really makes a diff, as long as it isnt one that is already
reserved for something else.  From now on, though, I will let adduser make
that decision.

Scott


[EMAIL PROTECTED] wrote:

> I had the same crap happen too me. I still don't know why it happens.
> Did you specifically pick the uid of 501? It's better to let adduser
> pick the uid, because user ids are sometimes supposed to be over 1000.
> I have slackware, and if I create a user with a uid of under 1000,
> all the same crap happens to me.
>
> On 04-Sep-98 Taylor, Scott J wrote:
> > Ok, I capitulate!  I can't figure out why 'whoami' will not tell me
> > who
> > I am unless I am logged in as root.
> >
> > The facts:
> > I created the user using the adduser utility (in fact I created
> > more
> > than just this one, and they all have the same outcome)
> > The /etc/passwd file has the user identified as
> > "scotty:x:501:100:scott,,,,,:home/scotty:/bin/bash" which is AFAIK
> > 100%
> > okey dokey
> > When I try to use pine is says "Who are you? (Unable to look up
> > login
> > name)" but when I type mail it says "no mail for scotty"
> > When I do a whoami is says "whoami: cannot find username for UID
> > 501"
> > When I ls -l /home it identifies /home/scotty as being owned by
> > scotty
> >
> > I have done a lot research on this and I absolutely can not figure
> > it
> > out on my own.  Any insight to this problem would be greatly
> > appreciated.
> >
> > 486/66, 32M, 1G, Slackware 3.5 with a standard 2.0.34
> >
> > Thanks,
> > Scott
> >
> > COLUG: Hey guys, when is the next meeting?  and are you going to
> > have it
> > at the library?
> >
>
> --] [EMAIL PROTECTED] [--
> --] www.leto.net      [--
> --] 05-Sep-98 21:03:55[--

Reply via email to