Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ypinit(8) [centos man page]

YPINIT(8)						       NIS Reference 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 is no good error handling at the moment. AUTHOR
Thorsten Kukuk <kukuk@linux-nis.org> NIS Reference Manual 04/02/2009 YPINIT(8)

Check Out this Related 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)
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 Advanced & Expert Users

NIS trouble

:eek: hi all, I have a NIS trouble on a server. when I create a file on a server (server1), the group of this file is the number of the group and not its name. when I create a file with this group on another server which depends of another NIS slave, the file is created with the group name.... (10 Replies)
Discussion started by: farzolito
10 Replies

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

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. UNIX for Dummies Questions & Answers

Which OS?

New here. I want to install a server on my pc for personal use. If I chose to run it under Linux, would the pc have to be running the Linux OS for the server to be accesable? Or, in other words, will the server run when I choose to run Windows? Would it be better to run it under Windows? ... (6 Replies)
Discussion started by: MrKim
6 Replies

6. UNIX for Dummies Questions & Answers

NIS+ and trusted hosts

Hello there, Can someone tell me if you need to make the hosts trusted hosts if you use NIS+? Thanks, E (2 Replies)
Discussion started by: eknaap
2 Replies

7. UNIX for Dummies Questions & Answers

need help with setting up linux server

Hello, I recently got my first "real" job, i come from a *microsoft* world, I'm being asked to setup from scratch a database and a webserver that allows users to view/add/edit data (intranet). I installed Ubuntu Server 7.10 which comes with LAMP (apache 2.*, mysql5.* and php 5.*) The only... (2 Replies)
Discussion started by: elzalem
2 Replies

8. UNIX for Dummies Questions & Answers

disabling NIS

How do you disable a server, #1, from trying to use the NIS that is running on another server, #2? I would like the #1 server to just use the local etc/shadow file (3 Replies)
Discussion started by: calamine
3 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. 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

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

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

14. UNIX for Dummies Questions & Answers

Program sharing on NFS

I am not sure is this plausible... I have just built a NFS master server on a solaris box (secured by NIS) And I have a dozen of virtual machines running 32 and 64 bits linux and windows, running different types of servers. I am not sure is it possible to move most of the programs to the... (6 Replies)
Discussion started by: xstaci
6 Replies

15. What is on Your Mind?

How Can We Increase the Size of Our Community?

Any suggestions on how to increase the number of posters and contributors? Please vote and write in your suggestions. Thank you! (72 Replies)
Discussion started by: Neo
72 Replies