Help - Search - Members - Calendar
Full Version: Adding Existing User To A Group
Linuxhelp > Support > Technical Support

I'm having problems here ... searching 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) ?

Robert B
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
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.