Results 1 to 10 of 22
Well, when I try to do useradd -, -G users,audio 11 I get the error invalid user name '11'.
I want to add all the users under there client number.
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-23-2007 #1
Cant add user?
Well, when I try to do useradd -, -G users,audio 11 I get the error invalid user name '11'.
I want to add all the users under there client number.
So I want to give them Numbers, why cant I?
Is there a way to do that? (I know the old way to add users self editing the Shadow+Passwd file but I am scared of breaking this system)
Cheers.
Robin
- 11-23-2007 #2Linux Enthusiast
- Join Date
- Aug 2006
- Location
- Portsmouth, UK
- Posts
- 539
Code:# useradd '11'
RHCE #100-015-395
Please don't PM me with questions as no reply may offend, that's what the forums are for.
- 11-23-2007 #3
- 11-23-2007 #4Linux Enthusiast
- Join Date
- Aug 2006
- Location
- Portsmouth, UK
- Posts
- 539
Whats the -, for ?
Not seen that before. I tried adding '11' on a FC7 box worked no problem.
I'll try it on a RHEL4 box in a mo.RHCE #100-015-395
Please don't PM me with questions as no reply may offend, that's what the forums are for.
- 11-23-2007 #5Linux Enthusiast
- Join Date
- Aug 2006
- Location
- Portsmouth, UK
- Posts
- 539
Ok,
It works on RHEL4 as well, even without the quotes.
-, just returns invalid option...RHCE #100-015-395
Please don't PM me with questions as no reply may offend, that's what the forums are for.
- 11-23-2007 #6
- 11-23-2007 #7Linux Enthusiast
- Join Date
- Aug 2006
- Location
- Portsmouth, UK
- Posts
- 539
Hmm, could be a pam setting ?
RHCE #100-015-395
Please don't PM me with questions as no reply may offend, that's what the forums are for.
- 11-23-2007 #8
- 11-23-2007 #9Linux Enthusiast
- Join Date
- Aug 2006
- Location
- Portsmouth, UK
- Posts
- 539
Just been looking not found anything yet though.
You might want to have a dig through /etc/libuser.confRHCE #100-015-395
Please don't PM me with questions as no reply may offend, that's what the forums are for.
- 11-23-2007 #10


Reply With Quote
