LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   id: cannot find name for group ID 1000 / user ID 1000 (https://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 02: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-14-2013 11:46 PM

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 06:29 AM.