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 (FTP): ftp://ftp.porcupine.org/pub/security/portmap_5beta.tar.gz
Download MD5 sum: 781e16ed4487c4caa082c6fef09ead4f
Download size: 18 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 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
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-20060910 package.
make install-portmap
Last updated on 2007-02-14 11:57:11 -0600