LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-25-2006, 02:20 PM   #1
kampow
LQ Newbie
 
Registered: Jul 2006
Posts: 8

Rep: Reputation: 0
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"

Last edited by kampow; 07-25-2006 at 02:25 PM.
 
Old 07-25-2006, 04:44 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
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.
 
Old 07-25-2006, 06:35 PM   #3
kampow
LQ Newbie
 
Registered: Jul 2006
Posts: 8

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
what is uid and gid rmanocha Linux - Software 9 08-18-2008 11:03 PM
set gid linuxtesting2 Solaris / OpenSolaris 2 06-18-2006 02:18 PM
What is my uid/gid? Jeebizz Slackware 2 11-22-2005 11:39 AM
Changing GID in X dxdad Linux - Software 2 03-22-2004 08:45 AM
changing uid, gid zeke1955 Linux - General 4 01-09-2004 11:53 PM


All times are GMT -5. The time now is 07:23 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration