LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   id: cannot find name for group ID 1000 / user ID 1000 (http://www.linuxquestions.org/questions/linux-from-scratch-13/id-cannot-find-name-for-group-id-1000-user-id-1000-a-4175445499/)

McZ 01-14-2013 03:15 AM

id: cannot find name for group ID 1000 / user ID 1000
 
So I have installed my LFS system to my laptop and now I'm done installing Xorg and stuff so I added a user

Code:

useradd -c "My Name" -g 1000 mcz
passwd mcz

Then when I log in I get this
Code:

id: cannot find name for group ID 1000
id: cannot find name for user ID 1000

in /etc/{passwd,shadow} my new user exist and the group users with id 1000 is in /etc/groups

nsswitch.conf
Code:

passwd: files
group: files
shadow: files

...

What else is missing?

EDIT: nvm, /etc/{passwd,group} was chmod 600 :p

EricTRA 01-15-2013 12:46 AM

Hi,

Glad you got it figured out and thanks for marking the thread as solved, indicating what the problem was. Off the Zero Reply List.

Kind regards,

Eric


All times are GMT -5. The time now is 05:14 PM.