Robert83
Nov 28 2004, 03:03 PM
Hi,
I'm having problems here ... searching google.com tells me to do this
if user robert exists... and there is a group www
to add robert to www
just type
adduser robert www
but this aint working...
how can one do this besides
vipw (manually) ?
Sincerely
Robert B
chrisw
Nov 29 2004, 11:38 PM
if you want to add a user to a group of which user and group already exists you use 'usermod'
for example in your case you would use
usermod -Gwww robert
and if you want to add 'robert' to multiple groups you would do the following
usermod -Gwww,group2,group3 robert