Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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