Hey matt, did you ever get utftpd working? I just installed it but the USAGE docs are not very clear on how to configure it. I read that you have to run utftpd_make, but i don't know how to do this to generate a file that you need to put into /etc/inet.d along with some other info. More specifically:
Code:
Put something like this:
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
The last lines say that you need to create a /etc/utftpd.conf file. So i did, only with the following lines uncommented:
Code:
default:sccs-get(/bin/get) sccs-delta(/bin/delta) \
sccs-clean(/bin/clean) sccs-admin(/bin/admin) \
rcs-ci(/bin/ci) rcs-co(/bin/co)
192.168.220.13:read,write,create(/home/ralvarez/hda3/pix:/config)
And then, it says to run:
utftpd_make /etc/utftpd.cdb /etc/utftpd.tmp /etc/utftpd.conf
The thing is that even when running utftpd_make from where it's located, i get a '-sh: .utftpd_make: command not found' error. So i got kinda lost.
If it's not too much trouble, perhaps you can share the rest of steps you went through to get tftp working with your cisco boxes, since i am in diers need to do this too.
Thanks a bunch man.