Portmap-5beta

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.

Package Information

Additional Downloads

Portmap Dependencies

Required

TCP Wrapper-7.6

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/portmap

Installation of Portmap

Portmap runs as a daemon with a uid of 1. This uid is not configurable. To set up a user to match this uid, as the root user, run:

useradd -u 1 -g 1 -d /dev/null -s /bin/false bin

Install portmap with the following commands:

patch -Np1 -i ../portmap-5beta-compilation_fixes-3.patch &&
patch -Np1 -i ../portmap-5beta-glibc_errno_fix-1.patch &&
make

Now, as the root user:

make install
[Note]

Note

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 blfs-bootscripts-20060910 package.

make install-portmap

Contents

Installed Programs: pmap_dump, pmap_set, and portmap
Installed Libraries: None
Installed Directories: None

Short Descriptions

pmap_dump

saves the port mapping table to an ASCII file.

pmap_set

restores the port mapping table from an ASCII file.

portmap

is an RPC port mapper.

Last updated on 2007-02-14 11:57:11 -0600