useradd problem on RedHat linux

Anish Mathew nedumannilanish at yahoo.co.uk
Wed Dec 22 12:52:33 UTC 2004


try useradd -n
 
anish

Rajanish Rai <rajanishrai at yahoo.com> wrote:
Hi,

I am facing a problem while executing 'useradd'
command to add user on RedHat linux, if there is
already a group with same name as user and '-g' option
is not used to set primary usergroup.

Details to reproduce issue is as -
(1)On RadHat linux system, a usergroup with name
"newuser" already exists.
(2)Tried to add user with name "newuser" using
following command.
useradd newuser
(3)Got following problem -
useradd: group test123 exists - if you want to add
this user to that group, use -g

I was hoping to set "newuser" as primary usergroup
while executing above command.

Pls let me know any possible workaround for the same.

Regards
Rajanish Rai



__________________________________ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

		
---------------------------------
 ALL-NEW Yahoo! Messenger - all new features - even more fun!  


More information about the redhat-list mailing list