is there any way to check which folders are shared by TFTP ?

link|improve this question
feedback

1 Answer

up vote 1 down vote accepted

Usually the daemon runs with the shared directory as an argument, try

ps auxww | grep tftpd

if it's running as a detached process, or

less /etc/xinetd.d/*tftp*

if it's running under xinetd. You're looking for something like in.tftpd /tftpboot, which would indicate that /tftpboot was the shared directory.

If it's got no argument it'll be using the compiled-in defaults, in that case check the man page or run strings on the binary and take a shrewd guess. If you do the latter, do check the guess by putting a file with a random name in that directory, and try retrieving it with tftp.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.