Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-21-2003, 12:49 PM   #1
Registered: Feb 2002
Distribution: xubuntu 8.10
Posts: 225

Rep: Reputation: 31
help getting pptp-php-gtk.php to run as root

I am trying to get pptp-php-gtk.php to run as root. This works:

su -c "pptp-php-gtk.php"

but even though:

rsyring@dell:~$ ls -lh `which pptp-php-gtk.php`
-rwsr-sr-x 1 root root 56k May 5 2003 /usr/bin/pptp-php-gtk.php*

when I start it does not appear to be starting as root. I get an error because it can not read this file:

root@dell:/etc/pptp-php-gtk# ls -lh tunnels
-rwxr-x--- 1 root root 640 Nov 21 11:54 tunnels*

Any idea why I can't seem to SUID?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Run PHP shell_exec as root maneeshsethi Linux - General 5 12-30-2008 07:25 AM
Apache 2, PHP 5, SuSE 9.2 - cannot run php files dickohead Linux - Networking 6 06-28-2006 10:25 AM
How to run php as root user ??? taqs Programming 2 09-01-2004 05:11 AM
PHP HOWTO : Run script as root guideweb Linux - Software 3 08-22-2004 11:38 PM
Is their a way to run a command as root..or another user.. in php BaerRS Programming 2 04-25-2002 02:38 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:39 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration