Next | Prev | Up | Top | Contents | Index
Enabling TFTP Access on an Installation Server
During miniroot installations, Inst uses TFTP to transfer files from remote systems. For this reason, any system acting as the server for miniroot installations must allow tftp access. However, on factory-shipped Silicon Graphics systems, tftpd(1M) access is disabled in the /etc/inetd.conf file.
This procedure explains how to change the /etc/inetd.conf to allow tftp access.
Note: If your site has strict security requirements, step 2 of this procedure offers an option that limits tftp access to the distribution directory.
- Become the superuser on the installation server.
% su
Password:
#
- Modify the tftp line in /etc/inetd.conf on the server.
You can modify /etc/inetd.conf to allow tftp access in a way that suits the needs of your site. The default tftp entry in /etc/inetd.conf looks similar to this (your entry might contain additional arguments to the -s option):
tftp dgram udp wait guest /usr/etc/tftpd tftpd -s /usr/local/boot
Take any of these actions to modify the tftp entry:
- Remove the -s /usr/local/boot, and any additional directories that are specified by the -s option, from the entry to allow tftp access to all publicly readable directories. (This is not recommended for sites on the Internet.) The modified line should look like this:
tftp dgram udp wait guest /usr/etc/tftpd tftpd
- Specify access to the distribution directory only (suggested for secure sites). The modified line should look like this:
tftp dgram udp wait guest /usr/etc/tftpd tftpd -s
/usr/local/boot <distdir>
- Specify access to the CD-ROM drive. The modified line should look like this:
tftp dgram udp wait guest /usr/etc/tftpd tftpd -s
/usr/local/boot <CDdir>/dist
Note: If an account other than guest is used for installation, replace the guest entry on the tftp line with the alternate user ID.
- Put your changes into effect.
# killall -v -HUP inetd
When the remote system is no longer needed for software installation, you can return the /etc/inetd.conf file to its original state, then enter the killall command to put your changes into effect.
Next | Prev | Up | Top | Contents | Index