Find the answer to your Linux question:
Results 1 to 4 of 4
I try to add a new user to see if the error goes away but I can't even add a new user.. id: cannot find name for group ID 500 ...
  1. #1
    Just Joined!
    Join Date
    Jul 2007
    Posts
    9

    id: cannot find name for group ID 500

    I try to add a new user to see if the error goes away but I can't even add a new user..

    id: cannot find name for group ID 500
    [.@localhost home]$ su
    Password:
    [root@localhost home]# adduser abc
    bash: adduser: command not found
    [root@localhost home]# adduser
    bash: adduser: command not found
    [root@localhost home]# addusr
    bash: addusr: command not found
    [root@localhost home]# adduser
    bash: adduser: command not found
    [root@localhost home]# adduser
    bash: adduser: command not found
    [root@localhost home]# man adduser
    Formatting page, please wait...
    [root@localhost home]# useradd
    bash: useradd: command not found
    [root@localhost home]# man adduser
    [root@localhost home]# useradd -D
    bash: useradd: command not found
    [root@localhost home]#

    Oh and when I open the home files I get a
    "Cannot find parent item file:///home in the tree. Internal error."

  2. #2
    Just Joined!
    Join Date
    Mar 2006
    Posts
    5
    The messages "cannot find name for user ID xxx" or "cannot find name for group ID xxx" can be due to wrong permissions to the /etc/passwd or /etc/group files. Issue these commands to fix the permissions:

    chmod 644 /etc/passwd
    chmod 644 /etc/group

    Regarding the error message you get when trying to add a user this is most certainly caused by the fact that /usr/sbin is not in your path. Use the complete path:
    /usr/sbin/useradd

  3. #3
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    Quote Originally Posted by lininnex View Post
    [.@localhost home]$ su
    Did you remove your username or is your username '.' ? Is this the user with UID 500?

    Also generally users should have a UID above 1000, below that is reserved for system accounts.

  4. #4
    scm
    scm is offline
    Linux Engineer
    Join Date
    Feb 2005
    Posts
    1,044
    I thought Fedora started allocating user and group IDs from 500?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...