LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 01-14-2013, 03:15 AM   #1
McZ
Member
 
Registered: Aug 2012
Posts: 42

Rep: Reputation: Disabled
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

Last edited by McZ; 01-14-2013 at 03:31 AM.
 
Old 01-15-2013, 12:46 AM   #2
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Perl: Find highest UID between 1000 and 2000 Angel2953 Programming 8 03-04-2012 10:00 AM
How to configure 1000 Base T ethernet card to send at 1000 Base T? trist007 Linux - Newbie 12 09-23-2009 01:59 AM
Find More than 1000 howtos ,articles and tutorials guruhowtos General 1 01-25-2009 07:10 AM
Where I can find a driver for my hp dv 1000 touchpad? jsky_20 Linux - Laptop and Netbook 1 09-16-2006 08:41 PM
How to find out my NIC speed (10/100/1000) fjkum Linux - Networking 4 07-13-2006 10:47 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration