NIS group vs local group | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

NIS group vs local group

UNIX for Dummies Questions & Answers


Tags
nis client, tru64

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 05-14-2003
vjsony vjsony is offline
Registered User
 
Join Date: Jul 2002
Last Activity: 3 June 2003, 5:18 AM EDT
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
NIS group vs local group

Hi everyone,

I'm new to UNIX so plz excuse me if this sounds foolish

Assume there exists a group 'xyz' on the NIS as well as on the local UNIX box.

And we added the user 'test' to the local group.

Which group priveleges will 'test' have?

do reply..

thanks,
VJ.
Sponsored Links
    #2  
Old 05-14-2003
RTM's Avatar
RTM RTM is offline Forum Advisor  
Registered User
 
Join Date: Apr 2002
Last Activity: 17 October 2014, 8:46 PM EDT
Location: On my motorcycle
Posts: 3,093
Thanks: 1
Thanked 32 Times in 9 Posts
Quote:
Assume there exists a group 'xyz' on the NIS as well as on the local UNIX box.

And we added the user 'test' to the local group.

Which group priveleges will 'test' have?
What is the OS and version?

If Solaris, then how is nsswitch.conf set for group? Files then NIS or NIS then files?

Is the user 'test' an NIS account or local?

Are the group numbers the same locally as in NIS?
Example:
$ ypcat group|grep dba
dba::90:
$ grep test /etc/group
dba::101:test

Assuming local user with local group (and the group ID is not the same as in NIS) then 'test' will have only local group privs. If the group ID is the same in /etc/group and NIS, then that user should have privs as if the account was in both.
Sponsored Links
    #3  
Old 05-15-2003
vjsony vjsony is offline
Registered User
 
Join Date: Jul 2002
Last Activity: 3 June 2003, 5:18 AM EDT
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Hi,

The scenario we have is
OS : Compaq Tru64 Unix v5.1

On NIS, we have
group - mqm
user - 'test' which belongs to mqm group

test is an NIS user.

We've added test to the local mqm group as well.
Group ids are same for both local and NIS

Any idea how this works on Tru64?

Regards
VJ.
    #4  
Old 05-19-2003
RTM's Avatar
RTM RTM is offline Forum Advisor  
Registered User
 
Join Date: Apr 2002
Last Activity: 17 October 2014, 8:46 PM EDT
Location: On my motorcycle
Posts: 3,093
Thanks: 1
Thanked 32 Times in 9 Posts
Well, I don't have a Tru64 system to play with and it's been years since I've been on one. I was hoping someone with recent experience was going to comment.

It should work the same as explained for Solaris. I don't know which file you use for telling the system to look at files first or dns (or if Tru64 does that at all - check the /etc/svc.conf file). If you don't get an answer, the next best thing is to check out the Tru64 Online docs .

Last edited by RTM; 05-19-2003 at 10:01 AM..
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
need a one liner to grep a group info from /etc/group and use that result to search passwd file chidori Shell Programming and Scripting 6 02-08-2012 08:56 AM
NIS user in local group clindseysmith UNIX for Dummies Questions & Answers 1 10-10-2011 05:51 PM
Sort the file contents in each group....print the group title as well prash184u Shell Programming and Scripting 11 08-26-2010 01:54 AM
Merge group numbers and add a column containing group names Lucky Ali Shell Programming and Scripting 1 12-09-2009 09:17 AM



All times are GMT -4. The time now is 01:08 AM.