Azitech

Azimout's Linux weblog

user groups

leave a comment »

I use the following commands every now and then, but I have to study the manpages each time:

add (existing) user to (existing) (secondary) group:

usermod -a -G group user

remove user from (secondary) group:

there seems to be no easy way to do this

rename group:

groupmod -n new_group old_group

Advertisements

Written by azimout

15/09/2010 at 14:42

Posted in Howto

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: