Sunday, May 4, 2008

Change Group Ownership

To check the list of groups a user belongs to ....

groups user

To change the group owner for temporary ...

newgrp groupName

Example:

To see the list of groups the user alexander belongs to ...

groups alexander

To change the primary group of alexander to sales, as user alexander, type below command.

newgrp sales

No comments: