tftp acces restrictions

Chet Murthy murthy at algron.cs.cornell.edu
Thu Aug 9 08:05:14 AEST 1990


yaturner at tempone.Sun.COM (Jim Turner) writes:

>Is there a way to control access to a machine from tftp, that is can I
>prevent people from accessing
>my files via tftp ???

Yes - write a program that chroots itself into a subdirectory, and
then exec's another program, setuid-ing first.  This other program
must be in the subdirectory, but at that point, unless the other
program can delete directories, I think there is no way for it to get
out of the subdirectory.

--chet--




More information about the Comp.unix.wizards mailing list