Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 18347

Re: Debian on Edison

$
0
0

One problem I'm stuck on is a "broken" sudo after I chroot into Debian.  I need to execute a command with root privileges from a perl script that is executed by Apache2.  Apache2 executes the script as user 'www-data'.  In a normal Debian environment, I can use sudo within the perl script, e.g. system("sudo command ..."); and make it work.  With this chroot setup on Edison, the Apache2 error log shows the error 'sudo: effective uid is not 0, is sudo installed setuid root?'.  I Googled this error and attempted to apply remedies I found there, but to no avail.  Any ideas? 

 

Jim


Viewing all articles
Browse latest Browse all 18347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>