The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Where are my groups mhenryj AIX 4 01-21-2008 02:54 PM
Secondary groups show in groups but don't show in id (Not working) zen03 HP-UX 4 12-31-2007 07:15 AM
User groups Zak UNIX for Dummies Questions & Answers 3 05-10-2006 07:54 AM
Adding user to groups peteythapitbull UNIX for Dummies Questions & Answers 1 03-21-2006 06:35 PM
Advantages of Groups kurtmc UNIX for Dummies Questions & Answers 3 02-18-2004 09:23 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-06-2006
Registered User
 

Join Date: Oct 2006
Posts: 6
Stumble this Post!
Adding new groups!!

I want to know how we can add a new group in solaris. As per my understanding this is done by adding a new entry in /etc/groups file (or by using groupadd command which will also add the entry in the groups file). But when I use group command to see the groups to which I belong, it shows my userid is a part of mqm group, but there is no entry for mqm in /etc/groups file. Am I missing something???
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 10-06-2006
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,325
Stumble this Post!
You might be using NIS/NIS+ or some such mechanism. In that case the entry for your username won't be in the /etc/passwd file either.
Reply With Quote
  #3 (permalink)  
Old 10-07-2006
Registered User
 

Join Date: Feb 2005
Location: Broomfield, CO
Posts: 395
Stumble this Post!
Just a little pickiness, just in case. It's "/etc/group" not groups.

You never know

Carl
Reply With Quote
  #4 (permalink)  
Old 10-07-2006
Registered User
 

Join Date: Oct 2006
Posts: 6
Stumble this Post!
@blowtorch

could you please explain a bit on NIS/NIS+?
Reply With Quote
  #5 (permalink)  
Old 10-08-2006
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,325
Stumble this Post!
There are any number of books on this subject, not to mention the amount of matter available online. Take a look at this and this.
Reply With Quote
  #6 (permalink)  
Old 10-09-2006
Registered User
 

Join Date: Oct 2006
Posts: 6
Stumble this Post!
thanks a lot!!
Reply With Quote
  #7 (permalink)  
Old 10-09-2006
Registered User
 

Join Date: Oct 2006
Posts: 13
Stumble this Post!
if you are using nis you can try

ypcat group|grep <username>
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:54 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0