Re: useradd problem on RedHat linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



try useradd -n
 
anish

Rajanish Rai <rajanishrai@xxxxxxxxx> 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@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

		
---------------------------------
 ALL-NEW Yahoo! Messenger - all new features - even more fun!  
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux