10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
This is the very simple and easy to understand.
How to Disable SSH Logins on a Linux Box?
Hello and Welcome to The UNIX and Linux Forums!
DO NOT hijack others' threads; create a new one with a meaningful and adequate title.
Please read the our FAQ on how to post new threads in the... (1 Reply)
Discussion started by: Bhargavice
1 Replies
2. Solaris
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
3. Red Hat
After configuring the NIS server in my machine (RHEL 5.4)
i create two NIS users user1 and user2 and one local user
when i login to user1 and user2 from client machine i am not able to login
for login to user1 and user2 first i have to login to local user and then i am able to login to... (4 Replies)
Discussion started by: vipinkumarr89
4 Replies
4. Solaris
Hey Guys,
I need your help.
My NIS server filesystem is 100%, the NIS is running under solaris 10.
I am affraid if the server stops, it wont come up again.
Please help. (4 Replies)
Discussion started by: andrevicente
4 Replies
5. Solaris
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
6. AIX
Hi all,
Kindly can help to config the NIS master server in AIX 5.3 ?
Many Thanks.
My procedure:
smit yp -> Change NIS Domain Name of this Host
smit yp -> Configure / Modify NIS -> Change / Show Characteristics of Master Server Configuration
The "Current domain anme of this host" &... (1 Reply)
Discussion started by: tyu
1 Replies
7. Solaris
Hi, all.
I have a Solaris client here needs to bind to NIS server in another subnet. Following is the configuration i made on the client,
1) edit /etc/inet/hosts to add an entry of the NIS server -- nserver01
2) execute `domainname` to set local NIS domain to the domain of the NIS server.... (1 Reply)
Discussion started by: sn_wukong
1 Replies
8. UNIX for Advanced & Expert Users
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
9. UNIX for Advanced & Expert Users
We have a RedHat 8.0 NIS master, with a RedHat 8.0 NIS Slave.
We also have a small number of SUSE 9.1 and SUSE 10 machines here for evaluation.
However, no matter what i do, the SUSE machines will not talk to the NIS Servers.
If i broadcast for NIS Servers for the specified NIS domain, it... (1 Reply)
Discussion started by: fishsponge
1 Replies
10. UNIX for Dummies Questions & Answers
How can I remove a replica server from my NIS+ domain? From reading the man page, it looks like this will work
nisrmdir -s hostname org_dir.domain.com.
But it comes back with
remove "org_dir.domain.com."?
I am afraid that will remove all the tables associated with the domain, not just the... (1 Reply)
Discussion started by: 98_1LE
1 Replies
nis_intro(7) Miscellaneous Information Manual nis_intro(7)
NAME
nis_intro - Network Information Service (NIS) introductory information
DESCRIPTION
The Network Information Service (NIS) is a distributed name service that allows participating hosts to share access to a common set of sys-
tem and network files. NIS allows the system administrator to manage these shared files on a single system.
NIS is intended for use in a secure environment only, where gateways do not allow outside Internet access to the NIS protocol.
NIS Maps
Information distributed by NIS is stored in database files called maps. Most of the NIS maps represent files that were traditionally
stored in the /etc directory. These files include the following: aliases group hosts netgroups networks passwd protocols rpc services
In a secure environment, you can run NIS in a secure mode, thereby creating secure and nonsecure versions of the NIS maps. See the Secu-
rity guide for more information.
You can also use NIS to distribute files used by Automount or AutoFS, or to distribute other user-defined files.
Each NIS map contains a set of keys and associated values. For example, as keys, the hosts map contains all host names on a network, and
as values, the corresponding Internet addresses. Each NIS map has a map name, used by programs to access data in the map.
NIS Domains
A named set of NIS maps is called a domain. A system's "domain name" or "NIS domain" corresponds to the set of NIS maps that the system
can access. You can think of an NIS domain as a set of systems that share the same set of NIS maps.
A system's domain name is set at the time the system is booted by the /sbin/init.d/nis script using an entry in the /etc/rc.config.common
file. System administrators can use the nissetup script to place entries in this file. The nissetup script is described in the Network
Administration manual.
You can determine your system's NIS domain using the domainname command. Refer to domainname(1). A domain name is required for retrieving
data from an NIS database.
NIS Client-Server Model
NIS follows the client-server model of distributed services. There are two types of NIS servers - master and slave. The master server
stores the master copy of the NIS maps for its domain; these are the only NIS maps that can be modified. Each domain has only one master
server.
Slave servers store copies of the master server's NIS maps. NIS slave servers can be spread throughout a network. Whenever an NIS map is
updated on the master server, the master propagates the changes to each slave server in its domain. If the master is unavailable for any
reason, the slave servers continue to make the NIS maps available to the NIS clients.
Clients are all of the systems that can access NIS maps. When a client requires NIS information, it makes a remote procedure call (RPC) to
one of the NIS servers to obtain the information.
NIS Data Storage
The data in NIS maps is stored as databases in dbm/ndbm, btree, or hash format.
For example, the NIS map for the /etc/hosts file in the domain market might be stored in these dbm/ndbm files: /var/yp/mar-
ket/hosts.byaddr.dir
/var/yp/market/hosts.byaddr.pag
/var/yp/market/hosts.byname.dir
/var/yp/market/hosts.byname.pag
The makedbm command takes an ASCII file such as /etc/hosts and converts it into dbm/ndbm files suitable for use by NIS. However, system
administrators use the Makefile script in the /var/yp directory to create NIS map files and specify file format. The Makefile script then
calls makedbm.
Refer to the Network Administration manual for details on the Makefile script, specifying different formats, and other NIS management
information.
RELATED INFORMATION
Commands: domainname(1), svcsetup(8), ypbind(8), yppasswdd(8), ypserv(8), ypxfr(8)
Files: svc.conf(4)
Network Administration delim off
nis_intro(7)