LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   group (https://www.linuxquestions.org/questions/linux-newbie-8/group-650268/)

santanu419 06-19-2008 04:21 AM

group
 
How to change user's primary group & see the primary group of user?

acid_kewpie 06-19-2008 04:48 AM

Nothing to do with Networking. Moved to Linux - Newbie. You might also like to say please or thankyou when asking for help in future posts. thanks.

and that'll be the chgrp command.

jschiwal 06-19-2008 05:38 AM

You can list the groups you are a member of with the "group" command. To change your primary group, use the root command "usermod". See the usermod man page for details. You will probably want to use the chgrp command for your $HOME directory and all files and directories inside.


All times are GMT -5. The time now is 06:54 PM.