TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Showing results 1 to 1 of 1
Search took 0.00 seconds.
Search: Posts Made By: shanto19
Forum: Advanced PHP Programming 05-26-2009, 07:05 AM
Replies: 1
Views: 1,078
Posted By shanto19
Unhappy apache user cannot execute useradd via sudo

Hi all
My server is REHL 5 with php 5.1.6.
In my app I want apache to add user through sudo.

My sudoers file is:

My test.php :
<?php
$username="hixhix";
system("/usr/bin/sudo /usr/sbin/useradd -s...
Showing results 1 to 1 of 1

 

All times are GMT. The time now is 05:24 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design