PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
Ollie Saunders
DevNet Master
Posts: 3179 Joined: Tue May 24, 2005 6:01 pm
Location: UK
Post
by Ollie Saunders » Sun Aug 20, 2006 8:57 pm
sudo will want a password, you'll need to pipe the pass text to it i think.
Weirdan
Moderator
Posts: 5978 Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine
Post
by Weirdan » Sun Aug 20, 2006 9:04 pm
apache in sudoers file, password in plain text file.... suggestions are getting worse with every post.
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Sun Aug 20, 2006 9:05 pm
Buy a telnet enabled powerstrip.
mibocote
Forum Newbie
Posts: 18 Joined: Sun Aug 20, 2006 9:51 am
Contact:
Post
by mibocote » Sun Aug 20, 2006 9:10 pm
Weirdan wrote: apache in sudoers file, password in plain text file.... suggestions are getting worse with every post.
Might as well put this in your httpd.conf:
Ollie Saunders
DevNet Master
Posts: 3179 Joined: Tue May 24, 2005 6:01 pm
Location: UK
Post
by Ollie Saunders » Sun Aug 20, 2006 9:12 pm
apache in sudoers file, password in plain text file.... suggestions are getting worse with every post.
Ahh yeah, you're quite right. I think all this means:
It can't be done
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Sun Aug 20, 2006 9:31 pm
My solution will more than likely work in any environment, provided
fsockopen() is at least enabled.