i tried to look for tftp on /etc/xinetd.d directory but i didnt find it,howcan i enable this feature on linux server.I want to use it to boot a diskless client.
Printable View
i tried to look for tftp on /etc/xinetd.d directory but i didnt find it,howcan i enable this feature on linux server.I want to use it to boot a diskless client.
TFTP is UDP based so you will not find it in inetd.conf (or xinitd.d).Quote:
Originally posted here by irrnp
i tried to look for tftp on /etc/xinetd.d directory but i didnt find it,howcan i enable this feature on linux server.I want to use it to boot a diskless client.
What linux distro do you use?
TFTP is UDP based but it may still be in inetd.conf (or xinetd for that matter)
UDP services can run out of inetd.
You will need to install the daemon in.tftpd and put in a corresponding line in /etc/inetd.conf
(xinetd may use a file in /etc/xinetd.d for this purpose)
Anyway, if it existed, the line would look something like this
It appears that Slackware ships with the trivial file transfer daemon.Code:tftp dgram udp wait nobody /usr/sbin/in.tftpd in.tftpd
You should be careful with security.
You can specify a directory (say, /tftpboot) on the inetd.conf line to restrict tftpd to that directory. This is usually a good idea.
tftp has no security whatsoever, anybody who can connect can retrieve any (world readable) file, assuming they know it exists (You cannot list directories with tftp). Best to run it on a LAN protected by a firewall :)