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
...
- 03-20-2007 #1Linux 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
- 03-20-2007 #2
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?
- 03-20-2007 #3Linux 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
- 03-20-2007 #4
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
- 03-20-2007 #5Linux 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
- 03-20-2007 #6
attach the file. lets have a look.
Regards
- 03-20-2007 #7Linux Newbie
- Join Date
- Feb 2007
- Posts
- 248
attached /etc/group
- 03-20-2007 #8
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.
- 03-20-2007 #9Linux 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
- 03-20-2007 #10
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


Reply With Quote