/* execute any "root preexec = " line */
/* if (*lp_rootpreexec(SNUM(conn))) { */ /*slitt*/
if (0 && (*lp_rootpreexec(SNUM(conn)))) {
|
CAUTION: The preceding fix has not been tested for side effects or back door root exec capabilities. Have your developers investigate thoroughly before implementing. There are many other methods of disabling root preexec and root postexec. Please also investigate root preexec close, a boolean specifying whether a non-zero return closes the service.
| Copyright (C) 2000 by Steve Litt, you can freely distribute
unmodified copies if this copyright notice and disclaimer are intact.
This presentation has no warrantee, express or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. The entire risk as to the quality and performance of the presentation is with you. |