Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
When I'm using 'useradd -g users -m dummy' I get the following error message:
'useradd: unknown group 100'.
In my /etc/group I have 'users:x:100:' and 'newgrp users' allows me to enter the group. So somehow the group exists but not for 'useradd'.
Any ideas?
'useradd -g users -m dummy'
seems to be correct as
'useradd -g users -m dummy dummy'
doesn't solve the 'unknown group 100' problem. Instead it lists the options for the useradd-command.
The /etc/defaults/useradd was created in a WinXP using Notepad. Writing a new one using Emacs did the trick! I had this problem before, DOS and Linux use different line feeds...
Thanks for the fast reply!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.