%general-entities; ]> Portmap-&portmap-version; Portmap Introduction to Portmap The portmap package is a more secure replacement for the original SUN portmap package. Portmap is used to forward RPC requests to RPC daemons such as NFS and NIS. &lfs70_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &portmap-md5sum; Download size: &portmap-size; Estimated disk space required: &portmap-buildsize; Estimated build time: &portmap-time; Portmap Dependencies Required Optional User Notes: Installation of Portmap Portmap runs as a daemon with a uid of 1. This uid is only configurable at compile time and is used as default. To set up a user to match this uid, as the root user, issue: useradd -u 1 -g 1 -d /dev/null -s /bin/false bin Install portmap with the following commands: LDLIBS=-ltirpc make Note that the LDLIBS environment variable must be before the make command. If you want the portmap daemon to use a uid/gid other than the defaults, pass DAEMON_UID=x and DAEMON_GID=y as shown below: LDLIBS=-ltirpc make DAEMON_UID=x DAEMON_GID=y If you want to build the portmap daemon without tcpwrappers, add NO_TCP_WRAPPER=true to the make line as shown below: LDLIBS=-ltirpc make NO_TCP_WRAPPER=true Now, as the root user: make install The above installation places executable portmap in /sbin. You may choose to move the file to /usr/sbin. If you do, remember to modify the bootscript also. Configuring Portmap Boot Script Install the /etc/rc.d/init.d/portmap init script included in the package. portmap make install-portmap Contents Installed Programs Installed Libraries Installed Directories pmap_dump, pmap_set, and portmap None None Short Descriptions pmap_dump saves the port mapping table to an ASCII file. pmap_dump pmap_set restores the port mapping table from an ASCII file. pmap_set portmap is an RPC port mapper. portmap