YPSERV.CONF(5) | NIS Reference Manual | YPSERV.CONF(5) |
ypserv.conf - configuration file for ypserv and rpc.ypxfrd
ypserv.conf is an ASCII file which contains some options for ypserv. It also contains a list of rules for special host and map access for ypserv and rpc.ypxfrd. This file will be read by ypserv and rpc.ypxfrd at startup, or when receiving a SIGHUP signal.
There is one entry per line. If the line is a option line, the format is:
option: argument
The line for an access rule has the format:
host:domain:map:security
All rules are tried one by one. If no match is found, access to a map is allowed.
Following options exist:
files: 30
trusted_master: server
Example:
trusted_master: ypmaster.example.org
slp: [yes|<no>|domain]
xfr_check_port: [<yes>|no]
The field descriptions for the access rule lines are:
host
Examples:
131.234. = 131.234.0.0/255.255.0.0
131.234.214.0/255.255.254.0
domain
map
security
none
port
deny
/etc/ypserv.conf
The access rules for special maps are no real improvement in security, but they make the life a little bit harder for a potential hacker.
Solaris clients don't use privileged ports. All security options which depend on privileged ports cause big problems on Solaris clients.
Thorsten Kukuk <kukuk@thkukuk.de>
03/04/2016 | NIS Reference Manual |