[Dnsmasq-discuss] dhcp-script on dnsmasq

Jan Psota jasiu at kkfsa.pl
Fri Apr 15 17:32:02 BST 2011


> However, if I say "ls -l /tmp/post-lease.sh" its most definitely exists and
> its chmodded 777 just to be safe.
> 
Mode 777 is never safe...
Anybody can edit it and play with rm on root rights.

> Am I missing something important?
/tmp can be mounted noexec if it points to /dev/shm for example

What you see when you write "/tmp/post-lease.sh"?

--
jasiu



More information about the Dnsmasq-discuss mailing list