useradd problem on RedHat linux
Anish Mathew
nedumannilanish at yahoo.co.uk
Wed Dec 22 14:05:30 UTC 2004
did u tried.. useradd newuser -g newuser
anish
Rajanish Rai <rajanishrai at yahoo.com> wrote:
thanks anish,
I tried useradd -n,but still getting the same problem.
rajanish
--- Anish Mathew wrote:
> try useradd -n
>
> anish
>
> Rajanish Rai 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 newuser 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!
> --
> redhat-list mailing list
> unsubscribe
>
mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
__________________________________
Do you Yahoo!?
Send a seasonal email greeting and help others. Do good.
http://celebrity.mail.yahoo.com
--
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