Send Shell commands without interactive shell

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
User avatar
egami
php-forum GURU
php-forum GURU
Posts: 2192
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

Fri Dec 14, 2012 8:51 am

Not possible. If there isn't a shell, there isn't a shell. And giving the WWW user administrative privis on any of your boxes is a 100% idiotic move, especially an Internet facing facility.

Even sudo would be a dumb move.


But, I'm not one to judge, so if you want it to even have any kind of possibility, you're going to have to look into sudo and user nobody, or user apache. But if your site is "hosted" on a providers box, then you have absolutely no chance in hell in getting this to work.


Good luck.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Bing [Bot] and 3 guests