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.
Download (HTTP): http://neil.brown.name/portmap/portmap-6.0.tgz
Download MD5 sum: ac108ab68bf0f34477f8317791aaf1ff
Download size: 21 KB
Estimated disk space required: 268 KB
Estimated build time: 0.01 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/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:
make
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:
make DAEMON_UID=x DAEMON_GID=y
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.
Install the /etc/rc.d/init.d/portmap
init script included
in the blfs-bootscripts-20080816 package.
make install-portmap
Last updated on 2008-03-08 04:05:42 -0600