How to configure TFTP so that you can PUT a file

How to configure TFTP so that you can PUT a file

INTERNAL USE ONLY


WARNING: Following the below could compromise your NG system

Edit the TFTP configuration file: /etc/xinetd.d/tftpd so that the content is as follow:


service tftp

{

        disable         = no

        socket_type     = dgram

        protocol        = udp

        flags           = IPv6

        wait            = yes

        user            = root

        group           = root

        server          = /usr/sbin/in.tftpd

        server_args     = -c -s /var/opt/tftpboot

}


Differences from default file are:

disable         = no

server_args     = -c -s /var/opt/tftpboot

Then change the permission on the server_args:


chmod 777 /var/opt/tftpboot

Restart the xinetd deamon:


/etc/init.d/xinetd restart

You should have PUT a file via TFTP on your Nodegrid system.