laura (professoryaffle) wrote in linuxnewbies,

default user groups

In our systems your default user group is one private to your user account

I want to be able to change this to a wider ranging user group that I belong to to make it easier to give a work colleague permission to read my files and potentially edit/move files I own without giving everyone on the system that permission

I have tried putting the command newgrp groupname into my .bashrc but it seems to break things, if sourced during a session the source command hangs and if I control C it then the terminal does not respond properly. If at login the login hangs but after pressing return I am logged in but not at the environment is set

Is there a way to change the group you are working under by default on login?

  • Post a new comment


    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.