Link to home
Create AccountLog in
Avatar of WAS
WASFlag for United States of America

asked on

add a user in linux

i have a centos 5.9,  unable to create a new user "wasman" , it says "webadmin" is an unknown group, but when thype command "id" i see the user webadmin and group webadmin are already there.

webadmin$ sudo useradd -G{webadmin} wasman
useradd: unknown group {webadmin}

webadmin$ id
uid=500(webadmin) gid=500(webadmin) groups=500(webadmin) context=user_u:system_r:unconfined_t

Please help
ASKER CERTIFIED SOLUTION
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of WAS

ASKER

Thank you woolmilkporc, it's working now.