Introduction to Inetutils
The Inetutils package contains
network clients and servers. If you are building on an LFS
platform, this package was installed during LFS and only the
clients (telnet, ftp, etc.) were installed. These instructions
allow you to install the server programs. Note that most of the
Inetutils servers are insecure and
should only be used on trusted networks.
This package is known to build and work properly using an
LFS-SVN-20101029 platform.
Package Information
Inetutils Dependencies
Optional
Linux-PAM-1.1.5, TCP
Wrappers-7.6, krb4, and Heimdal-1.4
or MIT Kerberos V5-1.6
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/inetutils
Installation of Inetutils
Install Inetutils by running the
following commands:
./configure --prefix=/usr \
--libexecdir=/usr/sbin \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-logger \
--disable-syslogd \
--disable-whois \
--disable-ifconfig \
--disable-hostname \
--disable-clients &&
make
To test the results, issue: make
check.
Now, as the root
user:
make install
Command Explanations
--disable-logger
: This
switch prevents Inetutils
installing a logger
program, which is installed in the LFS book.
--disable-syslogd
: This
switch prevents Inetutils
installing a system log daemon, which is installed in the LFS book.
--disable-whois
: This switch prevents
Inetutils installing an outdated
whois client. Add
this option if you plan on installing Whois-5.0.12.
--disable-ifconfig
: This switch
prevents Inetutils from installing
an ifconfig command.
Use this parameter if you have Net-Tools installed and wish to keep its
version of ifconfig.
--disable-hostname
: This switch
prevents Inetutils from installing
a hostname command.
Use this parameter if you have the version of this program supplied
by the either the Coreutils
package or the Net-Tools package
and wish to keep it.
--disable-clients
: This
switch prevents Inetutils
installing any of the client programs (most of which were build
during LFS) and only installs the server programs.
--with-wrap
: This switch makes
Inetutils compile against
tcp-wrappers. Add this option if
you want to utilize tcp-wrappers.
--with-pam
: This switch makes
Inetutils link against
Linux-PAM libraries. Add this
option if you want to utilize PAM.
--disable-servers
: Some of the servers
included with Inetutils are
insecure in nature and in some cases better alternatives exist. You
can choose this switch to enable only the servers you need,
avoiding the installation of unneeded servers.
Contents
A list of the installed programs not included here, along with
their short descriptions can be found at
../../../../lfs/view/development/chapter06/inetutils.html#contents-inetutils.
Installed Programs:
ftpd, hostname, ifconfig, inetd, rexecd,
rlogind, rshd, talkd, telnetd, tftpd, uucpd and whois
Installed Libraries:
None
Installed Directories:
None
Short Descriptions
ftpd
|
is a DARPA Internet File Transfer Protocol Server.
|
inetd
|
is an Internet super-server. Note that the xinetd-2.3.14 package provides a much
better server that does the same thing.
|
rexecd
|
is a remote execution server.
|
rlogind
|
is a remote login server.
|
rshd
|
is a remote shell server.
|
talkd
|
is a remote user communication server.
|
telnetd
|
is a DARPA TELNET protocol server.
|
tftpd
|
is an Internet Trivial File Transfer Protocol server.
|
uucpd
|
is a server for supporting UUCP connections over
networks.
|
whois
|
is a client for the whois directory service. Note that
the Whois-5.0.12 package provides a much
better client.
|