Sponsored Content
Top Forums UNIX for Advanced & Expert Users Change to NIS netgroup definition in upcoming Internet Draft Post 302798693 by MadeInGermany on Thursday 25th of April 2013 04:17:45 AM
Old 04-25-2013
IMHO the netgroup design is a bit crappy. The domain field is hardly usable - I have seen it empty in a dozen environments.
Usually the host field has FQDN and resolve order is files-dns-nis.
 

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
innetgr(1)							   NSS utilities							innetgr(1)

NAME
innetgr - Check netgroup membership SYNTAX
innetgr [-d domain] [-h host] [-u user] [-v] <netgroup> DESCRIPTION
innetgr checks if the specified user, host or domain is a member of the given netgroup. The program does not produce any output unless the verbose ( -v ) flag is given. The exit status is 0 if the user/host/doman combination is a member of the given netgroup. Exit status is 1 if the combination is not found in the group, and 2 if one of the arguments are invalid. OPTIONS
--domain <domain> | -d <domain> Search in the given domain. --host <host name> | -h <host name> Search for the given host name. --user <user name> | -u <user name> Search for the given user name. --verbose | -v Enable verbose mode --version | -V Show version information. EXAMPLES
To check if the current host is listed in the netgroup allhosts, use this command line: if innetgr -h `uname -n` allhosts ; then echo "Found"; fi CONFORMING TO
A innetgr program first appeared in NetBSD 1.4. AUTHORS
Petter Reinholdtsen <pere@hungry.com> SEE ALSO
getent(1) netgroup(1) innetgr(3) netgroup(5) nsswitch.conf(5) Petter Reinholdtsen 0.7 innetgr(1)
All times are GMT -4. The time now is 06:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy