NIS group vs local group


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers NIS group vs local group
# 1  
Old 05-14-2003
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.
# 2  
Old 05-14-2003
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.
# 3  
Old 05-15-2003
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
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 11:01 AM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

need a one liner to grep a group info from /etc/group and use that result to search passwd file

/etc/group tiadm::345:mk789,po312,jo343,ju454,ko453,yx879,iy345,hn453 bin::2:root,daemon sys::3:root,bin,adm adm::4:root,daemon uucp::5:root /etc/passwd mk789:x:234:1::/export/home/dummy:/bin/sh po312:x:234:1::/export/home/dummy:/bin/sh ju454:x:234:1::/export/home/dummy:/bin/sh... (6 Replies)
Discussion started by: chidori
6 Replies

2. UNIX for Dummies Questions & Answers

NIS user in local group

I have root access on a linux (RH5.4) server within an NIS setup that I don't control. I have an NIS account that creates directories on my local node that I want to be writable by my local apache account. The NIS account is only a member of the "users" group and the local apache account is... (1 Reply)
Discussion started by: clindseysmith
1 Replies

3. Shell Programming and Scripting

Sort the file contents in each group....print the group title as well

I've this file and need to sort the data in each group File would look like this ... cat file1.txt Reason : ABC 12345-0023 32123-5400 32442-5333 Reason : DEF 42523-3453 23345-3311 Reason : HIJ 454553-0001 I would like to sort each group on the last 4 fileds and print them... (11 Replies)
Discussion started by: prash184u
11 Replies

4. UNIX for Advanced & Expert Users

NIS Group Lookup Problem

I'm running a NIS on an network of Ubuntu 8.04 linux systems. I'm seeing a weird problem where the 'id' command is not returning all the groups I am a member of. For example: alex@client $ id -Gn localgroupA localgroupB nisgroup1 nisgroup2 nisgroup4 alex@client $ id -Gn alex nisgroup1... (0 Replies)
Discussion started by: vertigo23
0 Replies

5. Shell Programming and Scripting

Merge group numbers and add a column containing group names

Hi All I do have a file like this with 6 columns. Groups of data merge together and the group number is indicated above each group. 1 1 12 26 289 3.2e-027 GCGTATGGCGGC 2 12 26 215 6.7e+006 TTCCACCTTTTG 3 9 26 175 ... (1 Reply)
Discussion started by: Lucky Ali
1 Replies

6. Shell Programming and Scripting

Merge group numbers and add a column containing group names

I have a file in the following format. Groups of data merge together and the group number is indicated above each group. 1 adrf dfgr dfg 2 dfgr dfgr 3 dfef dfr fd 4 fgrt fgr fgg 5 fgrt fgr (3 Replies)
Discussion started by: Lucky Ali
3 Replies

7. UNIX for Dummies Questions & Answers

NIS Group, Netgroup

Hi all, Is there a way for me to know the NIS group and Netgroup my UNIX account? Thank you. (0 Replies)
Discussion started by: risk_sly
0 Replies

8. Solaris

How can i allow only a group of users in NIS?

Hello experts. I am using Solaris10. How can i allow a group of users, remaining should be deny. Thanx in advance. (9 Replies)
Discussion started by: younus_syed
9 Replies

9. Solaris

make issue when I add some members into a NIS group on solaris 9,please help !!

Hello Sir, I want to add some members into a group on NIS domain, but when I run "/usr/ccs/bin/make group" to update the group map it was failed :-( the error message is : problem storing develop... (4 Replies)
Discussion started by: lk74612
4 Replies
Login or Register to Ask a Question