Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ypinit(8) [debian man page]

ypinit(8)						      System Manager's Manual							 ypinit(8)

NAME
ypinit - NIS database install and build program SYNOPSIS
/usr/lib/yp/ypinit [ -m ] [ -s master_name ] DESCRIPTION
ypinit builds the domain subdirectory of /var/yp for the current default domain. After building the domain subdirectory, ypinit builds a complete set of administrative maps for your system and places them in this directory. The first map created by ypinit -m is the ypservers map. You should run it as root on the hosts, which should be the master ypserver. You should have only one master server per NIS domain. All databases are built from scratch, either from information available to the program at runtime, or from the ASCII data base files in /etc. These files are listed below under FILES. An NIS database on a slave server is set up by copying an existing database from a running server. The master_name argument should be the hostname of an NIS server (either the master server for all the maps, or a server on which the data base is up-to-date and stable). OPTIONS
-m If the local host is the NIS master. -s Set up a slave server with the database from master_name FILES
/etc/passwd /etc/group /etc/hosts /etc/networks /etc/services /etc/protocols /etc/netgroup /etc/rpc SEE ALSO
makedbm(8), revnetgroup(8), yppush(8), ypserv(8), ypxfr(8) BUGS
There isn't a good error handling at the moment. AUTHOR
Thorsten Kukuk <kukuk@suse.de> August 1996 ypinit(8)

Check Out this Related Man Page

YPINIT(8)						    BSD System Manager's Manual 						 YPINIT(8)

NAME
ypinit -- initialize NIS subsystem SYNOPSIS
ypinit -c [domainname] [-l server1,...,serverN] ypinit -m [domainname] [-l server1,...,serverN] ypinit -s master_server [domainname] [-l server1,...,serverN] DESCRIPTION
ypinit initializes the files and directories that are required for a NIS client or server. If domainname isn't specified, the default domain (as returned by domainname(1)) is used. The following options are available: -c Create a NIS client. Initializes /var/yp/binding/<domain>.ypservers to contain a list of ypservers for ypbind(8) to connect to. -l server1,...,serverN Set the list of client servers from the command line rather than prompting for them interactively. The format is a comma separated list of server names with no spaces. -m Create a master NIS server. Generates map data from local files (/etc/master.passwd, /etc/group, etc.). -s master_server Create a slave server. Downloads the maps from master_server, which should be the active master NIS server. To rebuild or refresh the maps for the NIS domain <domain>, change to the /var/yp/<domain> directory and run make. FILES
/var/yp master NIS directory; contains the template makefiles. /var/yp/<domain> directory to store NIS maps for <domain>. /var/yp/binding/<domain>.ypservers list of NIS servers to bind to. SEE ALSO
domainname(1), make(1), makedbm(8), mknetid(8), nis(8), stdethers(8), stdhosts(8), ypbind(8), yppush(8), ypserv(8) AUTHORS
Originally written by Mats O Jansson <moj@stacken.kth.se>. Modified by Jason R. Thorpe <thorpej@NetBSD.org>. BSD
February 26, 2005 BSD
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

NIS users cann't login on AIX and HP

Hey, I've set up a NIS domain with linux as master-server, slave server and clients ... and Linux works fine. To that NIS domain I tried to add a HPUX 11.00 and an AIX 4.3.3 system (till now - there should be more clients in final version). And both systems now have to same problem: I can... (3 Replies)
Discussion started by: mod
3 Replies

2. UNIX for Dummies Questions & Answers

NIS question

Is it possible to set up a NIS slave to refer to a different set of home directories in /etc/passwd. Im basically thinking of setting up a failover system where the NIS master has an attached storage array (A1000) containing the home directories. However if this fails I want the NIS slave to... (2 Replies)
Discussion started by: blakmk
2 Replies

3. UNIX for Advanced & Expert Users

Nis config in solaris8

Could anyone one help me regarding NIS setup in solaris 8,i've done it several times before ,but in one of our systems after running "ypinit -m" on server it says: "could not get domain for local host.check your path" by the way i've defined my domainname in /etc/defaultdomain file & also with... (1 Reply)
Discussion started by: nikk
1 Replies

4. IP Networking

building a server

hi, i am a pretty good linux user..but i have no idea on building a server witha domain and everthing. please help! (5 Replies)
Discussion started by: hamza11050
5 Replies

5. Cybersecurity

Linux Security help..! Thanks

I am newer to Linux/Unix/RedHat etc... I run a Linux root server with some 55 domain names, about 3 months ago the server was exploited. I need some good advice as far as Firewell's go and getting everything up and running. It was a pain in my *** and cost a lot of time and money.. Thanks! (0 Replies)
Discussion started by: denveraccess
0 Replies

6. HP-UX

File permissions issue

Hi, We have a apps database running on HP-UX 11.11. Yesterday, we had a problem with the server which was resolved after rebooting the server. Now the problem I am facing is that now the files created by application manager user has weird file permissions. Like instead of rw-r-r it is... (1 Reply)
Discussion started by: isingh786
1 Replies

7. SuSE

Automount on NIS slave

I am setting up the NIS slave server to automount the home directory just like its master server on suse linux (SLES 10). Since the master will be the first to mount the /home on the client. I have not been able to mount the /home on the on the slave when the master NIS server is unavailable.... (1 Reply)
Discussion started by: ibroxy
1 Replies

8. Solaris

How to do the Loadbalancing on NIS Server in Solaris 10 sparc

We set-up master/slave servers for NIS on Solaris10 Sparc. We are trying to synchronize them in such a way that if one server is down then other server would pick-up and also do load balancing. We are stuck on this part. Do you have any documentation or point to the documentation where we get some... (1 Reply)
Discussion started by: anandp14
1 Replies

9. Solaris

Problem while setting NIS master on Solaris 10

Hi All, I get below error while running cd /var/yp /usr/sbin/ypinit -m Error Code - 1 updated netmasks make : warning : target all not remade because of errors current working dir /var/yp *** error code 1 *** make : fatal error : command failed for target 'k' error running... (4 Replies)
Discussion started by: naw_deepak
4 Replies

10. Solaris

How to bind from a NIS slave server

Hi All, I have a client already binded with a NIS master server. Now, I want to bind this particular client to one of NIS slave. How to do it? Thanks, Deepak (2 Replies)
Discussion started by: naw_deepak
2 Replies

11. Solaris

Error while configuring NIS master

Hello - I have a Solaris machine, which I would like to configure as NIS master. When I run the command /usr/sbin/ypinit -m, I see below output. I am enclosing them in tags. /usr/sbin/ypinit -m In order for NIS to operate sucessfully, we have to construct a list of the NIS servers. Please... (1 Reply)
Discussion started by: manju--
1 Replies

12. Linux

Ping check failed from Nagios master server on windows hosts in the same subnet

Hello All, We have added a windows host and its config files to Nagios master server and wanted to do a ping check alone at the moment however, the nagios master server identifies the host in its GUI and immediately disappears can anyone let me know the right approach to this one, We want to... (2 Replies)
Discussion started by: lovesaikrishna
2 Replies

13. Emergency UNIX and Linux Support

Dead server, need to restore few files

Hi, One of my Linux server running Redhat version 3 is dead. I already build the new server but I need to get few of the license files from the old server. Currently, I booted the old server using the CDROM. But when I go to /mnt/sysimage/var, I don't see any of files? I also went to... (4 Replies)
Discussion started by: samnyc
4 Replies

14. SuSE

530 Login incorrect

Hi I upgraded my Suse linux server and installed a complete new server with suse ver 11. I copied the passwd and shadow files from the old Suse 10 to the new Suse 11 server (/etc) Now I get "530 Login incorrect" error when I try to FTP into an account with correct username and password. Can... (1 Reply)
Discussion started by: Tony.Marshall
1 Replies

15. Solaris

Testing NIS slave server

Hi guys, In my Sol-10 i setup NIS server following the oracle doc and setup a Linux as NIS client all went ok. I added another Sol-10 and configure it as a NIS slave server following the oracle doc again. and added the server on the yp.conf on my NIS client How do i test if my NIS slave... (3 Replies)
Discussion started by: batas
3 Replies