Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15
OS: SLES 10 # useradd dumy useradd: Unknown group `video'. useradd: Unknown group `dialout'. # passwd dumy Changing password for dumy. passwd: User not known to the underlying authentication module ...
  1. #1
    Linux Newbie
    Join Date
    Feb 2007
    Posts
    248

    useradd: Unknown group `video'.

    OS: SLES 10

    # useradd dumy
    useradd: Unknown group `video'.
    useradd: Unknown group `dialout'.
    # passwd dumy
    Changing password for dumy.
    passwd: User not known to the underlying authentication module
    # cat /etc/passwd |grep dumy
    dumy: x:12348:100::/home/dumy:/bin/bash

    Plz help

    On another SLES 10, machine
    # useradd dumy
    # passwdd dumy
    # cat /etc/passwd |grep dumy
    dumy: x:12449:100::/home/dumy:/bin/bash
    Now I have to manually create home dir...
    # mkdir /home/dumy
    # chown dumy /home/dumy
    Why I have to do all the above things manually... why its not automatically. ?

    Plz help

    Regards
    needee

  2. #2
    Just Joined! ch@meleon's Avatar
    Join Date
    Mar 2007
    Location
    Pretoria. South Africa
    Posts
    40
    to create the home directory automatically with useradd you need to use -m parameter.

    video and dialout groups are default groups assigned to a user when they are created. Has anyone tampered with your group settings in the first server?

  3. #3
    Linux Newbie
    Join Date
    Feb 2007
    Posts
    248
    >to create the home directory automatically with useradd you need to use -m parameter.
    thanks... -m works

    >Has anyone tampered with your group settings
    i think.. no

    from first server
    # cat /etc/group |grep video
    video: x:33:test,dumy,a

    # cat /etc/group |grep dialout
    dialout: x:16:test,dumy,a

    Thanks for help

  4. #4
    Just Joined! ch@meleon's Avatar
    Join Date
    Mar 2007
    Location
    Pretoria. South Africa
    Posts
    40
    Hi again

    The first error about the usergroup is a bit weird because it complains about the groups being unknown but still assigns the user to that group....(Have not seen something like that before). Have a look in your yast user and groups configurations to check if you can spot anything there.

    Regards

  5. #5
    Linux Newbie
    Join Date
    Feb 2007
    Posts
    248
    Thanks Again
    >Have a look in your yast user and groups configurations to check if you can spot >anything there.
    OK, i ran yast > security and users > User Management , and got the following error message

    Error
    There is a strange line in /etc/group:
    Perhaps the number of colons is wrong or some of the line entry is missing

    OK I'll check the /etc/group more keenly, because I have examined the /etc/group file...but yet not found any error/mistake

  6. #6
    Just Joined! ch@meleon's Avatar
    Join Date
    Mar 2007
    Location
    Pretoria. South Africa
    Posts
    40
    attach the file. lets have a look.

    Regards

  7. #7
    Linux Newbie
    Join Date
    Feb 2007
    Posts
    248
    attached /etc/group
    Attached Files Attached Files

  8. #8
    Just Joined! ch@meleon's Avatar
    Join Date
    Mar 2007
    Location
    Pretoria. South Africa
    Posts
    40
    The first line of this file shows oot instead of root. Was this copy and paste error or does the actual file have this typo as well. If it does add the r in front of oot and retry creating a user then.

  9. #9
    Linux Newbie
    Join Date
    Feb 2007
    Posts
    248
    yes you are right ... oo was typo, I simply correct it, and now Ican create users via yast > security and users > User Management >
    But still from command line issue remains, i.e i still get the following messages, when creating users from command line
    # useradd t3
    useradd: Unknown group `video'.
    useradd: Unknown group `dialout'.
    # passwd t3
    Changing password for t3.
    passwd: User not known to the underlying authentication module
    # cat /etc/passwd |grep t3
    t3: x:12349:100::/home/t3:/bin/bash

  10. #10
    Just Joined! ch@meleon's Avatar
    Join Date
    Mar 2007
    Location
    Pretoria. South Africa
    Posts
    40

    useradd

    Hi

    Is Samba installed on this server?

    Could you please print the contents of /etc/default/useradd.

    Check out http://www.wains.be/index.php/2007/0...cation-module/ for your password issue.

    Regards

Page 1 of 2 1 2 LastLast

Posting Permissions

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