-
Categories
-
Tags/Keywords
WLB07051 mod_rewrite postfix SSH metabolism blog.bigsmoke.us shell PHP ssl Screen smb Windows nutrition Linux XTerm svn van der Molen Gentoo RuG zimbra plugin WWW HTTP xen Firefox Ubuntu Debian DNS HTML MySQL bash RAID CLI X T61 Ruby CSS samba WordPress Family VIM MediaWiki Javascript Subversion Apache -
Recent Posts
-
Recent Comments
Tag: suid
Executing system commands from PHP with SUID executable.
If you want to execute system commands from something like PHP, you need a SUID executable which you can call from your PHP scripts. This is such a script. It could be extended to support parameters for the commands you want to execute, but that would be an enormous security risk, because then anybody can execute any command. If you need something as flexible as that, you need to think about adding some kind of security restrictions, like a list of allowed commands.
Read More »