Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

running a system command as a user

Status
Not open for further replies.

jonnyc2

Programmer
Joined
Apr 4, 2006
Messages
7
Location
GB
Hi

I'm quite new to php. basically I need to run a system command from a php script as a user. do I use http authentication or sudo or what? I'm not concerned about security.

thanks.
 
HTTP authentication will not allow a script to run a piece of software as another user. You should use sudo.


Want the best answers? Ask the best questions! TANSTAAFL!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top