LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   swet gid (https://www.linuxquestions.org/questions/linux-newbie-8/swet-gid-467542/)

kampow 07-25-2006 02:20 PM

swet gid
 
Is it possible to set my default group id in BASH? I'm not root on the computer. the thing is that the genious who wrote the distro made it sot that my default group is my user name too, so there is no point in having a group at all. I have files that I want to share with a group that is already setup... It's just getting it there. Anything would be better than umask 000 in my book

edited to include: DARN IT! title should be "set group id"

Matir 07-25-2006 04:44 PM

Are you a member of this group? Assuming so, you can use 'newgrp GROUPNAME' to change your current groupid. If you wish to make it persistent, then you can place that in your .bash_profile.

kampow 07-25-2006 06:35 PM

Wow, that should do it. Problem: it's solaris and even though the documentation claims that group passwords are antiquated, and also claims that I only need it if I'm not a member (a call to groups says that I am) I still need to enter a password that I don't have. Oh well, thanks for the tip.


All times are GMT -5. The time now is 02:00 PM.