Sponsored Content
Top Forums UNIX for Advanced & Expert Users Change to NIS netgroup definition in upcoming Internet Draft Post 302798669 by cambridge on Thursday 25th of April 2013 03:30:05 AM
Old 04-25-2013
Lightbulb Change to NIS netgroup definition in upcoming Internet Draft

I'm considering the merits of slightly redefining the "domain" field in a NIS netgroup (the third field in the triple) to make it more useful, in a new Internet Draft that I am currently developing. Does anyone out there who uses NIS actually make use of the "domain" field? The places I've worked at have always left the field blank. I'd be interested to hear from you if you do use it, and how important (or not) it is to you?
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

NIS problem with netgroup

Hi@all, I'd setup a nis server and 4 slaves. Update of passwd work's fine, but if i create a netgroup file the make all process hang by push the netgroup file. I work with AIX 4.3.3.0 and Maintance Level 5. Tank's for help (1 Reply)
Discussion started by: Michael
1 Replies

2. UNIX for Dummies Questions & Answers

Change NIS Passwords without dxaccounts/SAM?

Hi, if I am dialling in remotely it takes a long time to launch dxaccounts on Tru64 or SAM on our HP boxes. Can anyone tell me how to reset users NIS passwords without knowing their old password from the command line? When I use yppasswd it prompts me for the old password even though I am... (1 Reply)
Discussion started by: sjmolloy
1 Replies

3. Solaris

Change hostname, NIS stops

All, I have changed my machine name from A202 to B205. All I modified was /etc/hosts, /etc/nodename, hostname.ce0, /etc/net/<stuff needed to change>. But for some reason now NIS does not work. This is not the NIS server. When I telnet in I get "No directory! Logging in with home=/" when I... (4 Replies)
Discussion started by: kjbaumann
4 Replies

4. Shell Programming and Scripting

NIS User UID Change

Hi All, I need to change the UID numbers of many NIS users, is there any command to modify the UID in NIS maps ? ( like usermod) so that their file permissions will be same even with their new UID. If not, how to check all the files owned by particular user in a computer and change the... (1 Reply)
Discussion started by: RAA
1 Replies

5. UNIX for Advanced & Expert Users

NIS server IP change

I am changing the IP on my NIS server. Are there any files that need to be changed on my other servers that are using NIS? (1 Reply)
Discussion started by: calamine
1 Replies

6. Shell Programming and Scripting

How to change the user id from 672 to 673 in NIS

Hi, Can anyone tell me how to change the user id in NIS.I have created a NIS user.The user id i got is that 672.The same user id is assigned to some other user.So i want to do change from 672 to 673.Can anyone help me with this one. (0 Replies)
Discussion started by: yogks
0 Replies

7. Solaris

NIS - Change Password @ first login.

Hi Any body knows how to prompt user to change password on first login in a Solaris NIS client. Thanks HG (3 Replies)
Discussion started by: Hari_Ganesh
3 Replies

8. 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

9. AIX

Slave NIS server configuration change

Hello Everybody, I have a question regarding SLAVE NIS SERVER in aix. We are using NIS master of Sun Solaris 9.0 which is on different subnet i.e. 10.197.93.0. And Our slave server is having AIX 5.3 installed which is on 10.207.13.0 subnet. I have a query regarding its name and ip address... (0 Replies)
Discussion started by: jit15975
0 Replies

10. Linux

/etc/security/limits.conf NIS netgroup support

Hi there, I am trying to set a ulimit max in the /etc/security/limits.conf against a NIS netgroup (which contains a whole bunch of users) instead of a local user or group. so I have a NIS netgroup called +@myusers , none of whose users are defined locally on the box. I want to ensure that... (2 Replies)
Discussion started by: rethink
2 Replies
getnetgrent(3)						     Library Functions Manual						    getnetgrent(3)

NAME
getnetgrent, setnetgrent, endnetgrent, innetgr - get network group entry SYNOPSIS
innetgr(netgroup, machine, user, domain) char *netgroup, *machine, *user, *domain; setnetgrent(netgroup) char *netgroup endnetgrent() getnetgrent(machinep, userp, domainp) char **machinep, **userp, **domainp; DESCRIPTION
The innetgr routine accesses the netgroup file and checks to see if the specified input parameters match an entry in the file. The routine returns 1 if it matches an entry, or 0 if it does not. Any of the three strings; machine, user, or domain can be NULL, which signifies any string in that position is valid. The getnetgrent routine returns the next member of a network group. After the call, machinep will contain a pointer to a string containing the name of the machine part of the network group member, and similarly for userp and domainp. If machinep, userp or domainp is returned as a NULL pointer, it signifies any string is valid. The getnetgrent routine allocates space for the name by using the malloc routine. This space is released when an endnetgrent call is made. The getnetgrent routine returns 1 if it succeeds in obtaining another member of the network group, or 0 if it reaches the end of the group. The setnetgrent routine establishes the network group from which getnetgrent will obtain members, and also restarts calls to getnetgrent from the beginning of the list. If the previous setnetgrent call was to a different network group, an endnetgrent call is implied. The endnetgrent routine releases the space allocated during the getnetgrent calls. Note that the netgroup file is distributed by NIS and exists in its original, readable form on the NIS master server only. NIS slave servers distribute copies of the netgroup maps created from the original on the master. FILES
/var/yp/src/netgroup /var/yp/domain/netgroup /var/yp/domain/netgroup.byuser /var/yp/domain/netgroup.byhost delim off getnetgrent(3)
All times are GMT -4. The time now is 06:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy