Sponsored Content
Full Discussion: Pull Netgroup from Servers
Top Forums Shell Programming and Scripting Pull Netgroup from Servers Post 303005145 by dbashyam on Saturday 14th of October 2017 12:19:47 AM
Old 10-14-2017
Pull Netgroup from Servers

Hi, How to pull netgroup from all servers

I think the netgroup resides in /etc/security/access.conf so I want to know how to get the list of netgroup in all the servers.

I have a jump server I can run the script from there to get the list but not sure how to do the script. Any ideas or starting point?
 

9 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. Shell Programming and Scripting

how to pull files from one machine to another

Hello I have 2 Linux machines with a zip file residing on one of them I am using putty to connect to my Linux files Is there a way to copy the zip file from one Linux machine to the second Using the putty textual interface? If I had a visual interface, maybe I could have opened a browser,... (5 Replies)
Discussion started by: jasongr
5 Replies

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

4. UNIX for Dummies Questions & Answers

Rsync push or pull?

We have a cluster of 3 web servers. I'll be updating a single master server and copying info to the other 2 slave servers. What's the best way of synching all of them? Run rsync on each of the slave servers to pull the updates from the master? Or run rsync on the master to push the updates to the... (1 Reply)
Discussion started by: gaspol
1 Replies

5. Solaris

Need to know whch disk to pull out.

Hi all. This may be a stupid question but here goes: I lost a disk on my Sun-Fire 480-r and want to replace it. I don't care about the data, I just need to get a new disk in which I have. The problem I have is that there are two disks and both have the green lights on them... and I'm not... (3 Replies)
Discussion started by: jamie_collins
3 Replies

6. Shell Programming and Scripting

Pull Intermediate Strings

Experts, You all have been very supportive of me so far & Im thankful for it. I need to extract data between two sets of parenthesis and also between quotes. cat LOGFILE | grep 'number wasnt' | head -2 I. 2011/04/14 01:12:03. process(130) Deleting Text on line 11... (9 Replies)
Discussion started by: OMLEELA
9 Replies

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

8. UNIX for Advanced & Expert Users

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... (8 Replies)
Discussion started by: cambridge
8 Replies

9. Shell Programming and Scripting

Bash Script to pull ipa server name on 500 servers

Hello All, I need help writing a bash script that will run on 500 LINUX servers and do the following: 1. Capture the ipa_server name from /etc/sssd/sssd.conf on a list of 500 servers in the ipahosts file. 2. Write to a file outputing only server name and IPA server name. Root ssh keys... (3 Replies)
Discussion started by: vtowntechy
3 Replies
NETGROUP_MKDB(8)					    BSD System Manager's Manual 					  NETGROUP_MKDB(8)

NAME
netgroup_mkdb -- generate the netgroup database SYNOPSIS
netgroup_mkdb [-o database] [file] DESCRIPTION
netgroup_mkdb creates a db(3) database for the specified file. If no file is specified, then /etc/netgroup is used. This database is installed into /var/db/netgroup.db. The file must be in the correct format (see netgroup(5)). The options are as follows: -o database Put the output databases in the named file. The databases are used by the C library netgroup routines (see getnetgrent(3)). netgroup_mkdb exits zero on success, non-zero on failure. FILES
/var/db/netgroup.db The current netgroup database /var/db/netgroup.db.tmp A temporary file /etc/netgroup The current netgroup file SEE ALSO
db(3), getnetgrent(3), netgroup(5) BUGS
Because netgroup_mkdb guarantees not to install a partial destination file it must build a temporary file in the same file system and if suc- cessful use rename(2) to install over the destination file. If netgroup_mkdb fails it will leave the previous version of the destination file intact. BSD
May 20, 2007 BSD
All times are GMT -4. The time now is 08:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy