[syslinux] tftpd-hpa privileges checks under inetd

Matus UHLAR - fantomas uhlar at fantomas.sk
Tue Jun 3 04:00:16 PDT 2014


Hello,

I've looked at some bugs reports for tftpd-hpa  and it seems that it
explicitly wants to be executed with root privileges and fails if it's not.

Could tftpd-hpa check for root privileges before trying to call
initgroups(setgroups), setuid/setreuid and chroot() ?

(and probably complain when -s is called and UID is not 0).

Or do you find it useless and need for root privileges so it should be noted
in docs?

-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
REALITY.SYS corrupted. Press any key to reboot Universe.


More information about the Syslinux mailing list