LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   utftpd on slackware (https://www.linuxquestions.org/questions/slackware-14/utftpd-on-slackware-539137/)

trebek 03-20-2007 05:24 PM

utftpd on slackware
 
Hello, i just installed this tftp server/client replacement onto a machine running slackware 11. I am reading the usage instructions, but i don't understand how to make it run so i can dump my cisco config unto the machine, modify it, and then put it back in there. I was reading the following instructions:

utftpd -c /etc/utftpd.cdb -C /tftp -u rightless_user
into your internet services configuration file (typically
/etc/inetd.conf), where
- /etc/utftpd.cdb
is a configuration file created by utftpd_make
- /tftp
is the tftp area the daemon will chroot to (yes, _do_ that.
TFTP has no security).
- rightless_user is some user which may read or write to
files in the tftp area, but has no other rights. utftpd
will change to that user just after it did the chroot().
A full line in the configuration file may look like this:
tftp dgram udp wait root /usr/local/sbin/utftpd \
utftpd -c /etc/utftpd.cdb -C /tftp -u rightless_user
(all one one line).
Comment out any other tftp line. kill -HUP inetd.

I don't know how to run utftpd_make, or what am i missing to get it running. I already created a directory where i will dump the config files. But that line i have to add to /etc/inetd.conf file. Another thing, i can have utftpd use my username that i log in with normally, right? I doesn't say i have to create a new user and that it will take care of the chrooting. Help me clear this up. Thanks a bunch.


All times are GMT -5. The time now is 03:26 PM.