Operating System - HP-UX
1832606 Members
2190 Online
110043 Solutions
New Discussion

WARNING: Group writable directory in NIS configuration

 
T.V. Thirumala Rao
New Member

WARNING: Group writable directory in NIS configuration

Hi
I am configuring NIS afresh in new environment after installing HPUX 11.
I edited /etc/rc.config.d/namesvrs file well.
While building the maps: Found Warnings that:
.....................
# ypinit -m
You will be required to answer a few questions to install the Network Information Service.
All questions will be asked at the beginning of this procedure.

Do you want this procedure to quit on non-fatal errors? [y/n: n]
OK, but please remember to correct anything which fails.
If you don't, some part of the system (perhaps the NIS itself) won't work.


At this point, you must construct a list of the hosts which will be
NIS servers for the "elec_domain" domain.
This machine, elec, is in the list of Network Information Service servers.
Please provide the hostnames of the slave servers, one per line.
When you have no more names to add, enter a or a blank line.

next host to add: elec
next host to add: manc
next host to add:
The current list of NIS servers looks like this:

elec
manc

Is this correct? [y/n: y]

There will be no further questions. The remainder of the procedure should take
5 to 10 minutes.

Building the ypservers database... ypservers build complete.

Running make in /var/yp:
updated passwd
updated group
updated hosts
updated networks
updated rpc
updated services
updated protocols
updated netgroup
WARNING: Group writable directory /var/yp/elec_domain
WARNING: Group writable directory /var/yp/elec_domain
WARNING: Group writable directory /var/yp/elec_domain
updated aliases
updated publickey
updated netid
updated auto.master

elec has been set up as a master Network Information Service server without any errors.

If there are running slave NIS servers, run yppush(1M) now for any databases
which have been changed. If there are no running slaves, run ypinit on
those hosts which are to be slave servers.
#
...........................
I tried the same operation in some other environment, no warnings observed.

What could be the problem ?

Problem in Slave server : While executing 'ypinit -s elec' in Slave server, found some errors as:
..................
.
.
.
Transferring vhe_list for domain elec_domain from elec...
ypxfr: can't get order number for map vhe_list from ypserv at elec
reason: no such map in server's NIS domain
.
.
.
transferring ethers.byaddr for domain elec_domain from elec...
ypxfr: can't get order number for map ethers.byaddr from ypserv at elec
reason: no such map in server's NIS domain
Transferring ethers.byname for domain elec_domain from elec...
ypxfr: can't get order number for map ethers.byname from ypserv at elec
reason: no such map in server's NIS domain
Transferring netmasks.byaddr for domain elec_domain from elec...
ypxfr: can't get order number for map netmasks.byaddr from ypserv at elec
reason: no such map in server's NIS domain
Transferring bootparams for domain elec_domain from elec...
ypxfr: can't get order number for map bootparams from ypserv at elec
reason: no such map in server's NIS domain
Transferring ypservers for domain elec_domain from elec...

manc has been set up as a slave Network Information Service server with errors.
Please remember to correct the errors, and run ypinit again.

At this point, make sure that /etc/passwd, /etc/hosts, /etc/networks,
/etc/group, /etc/protocols, /etc/services, /etc/rpc and /etc/netgroup have been
edited so that when the Network Information Service is activated, the databases you have just
created will be used in addition to or instead of the /etc ASCII files.


....................

Here I had doubt that 'How NIS server will get some additional maps like,ether.byaddr,netmasks.byaddr..maps.

Thanks in advance

- Thirumala Rao
Thirumala Rao