Re: useradd
"mike" <[email protected]>
| Newsgroups | gmane.linux.gentoo.newbies |
|---|---|
| Message-ID | <009601c25b77$009229d0$55f1d782@vapier> |
has this always happened ? if there is no entry in /etc/passwd for a username i dont believe you can log in ... thus if he overwrote /etc/passwd then it would say 'login incorrect' -mike ----- Original Message ----- From: "Chad Huneycutt" <[email protected]> To: <[email protected]> Sent: Friday, September 13, 2002 16:52 Subject: Re: [gentoo-newbies] useradd > 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 > > _______________________________________________ > gentoo-newbies mailing list > [email protected] > http://lists.gentoo.org/mailman/listinfo/gentoo-newbies >