Re: useradd
Chad Huneycutt <[email protected]>
| Newsgroups | gmane.linux.gentoo.newbies |
|---|---|
| Organization | Georgia Tech College of Computing |
| Message-ID | <[email protected]> |
David Obwaller wrote:
> I recently installed Gentoo 1.2 from the stage3 tarball. I updated the
> portage tree and merged a recent linux kernel (linux-2.4.19). I added a
> user using the command:
>
> useradd -m -g users -G wheel username
>
> and set a password. Now, when I log into this account I get an error:
>
> /usr/bin/whoami: cannot find username for UID 1000
>
> The prompt looks like "I have no name!@stoner / $" where stoner is my
> hostname.
Did you update baselayout, and let it overwrite your /etc/passwd and
/etc/shadow file? That is what I suspect happened. Take a look at that
file, and see if it has all of your users in it.
--
Chad Huneycutt try { Windows }
Ph.D. Student catch ( Exception BSOD )
Georgia Tech College of Computing { linux };
http://www.cc.gatech.edu/~chadh