164 reputation
18
bio website
location The Hague, The Netherlands
age
visits member for 4 years, 3 months
seen Jun 23 at 7:29

Apr
1
awarded  Popular Question
May
29
awarded  Notable Question
Feb
27
comment How to set up SUDO rights for execution of Python script from PHP
Hi, i ended up with this %www-data ALL=(ALL) NOPASSWD: /usr/bin/python /path/to/the/* when i only typed the filename it didn't work. i checked it, and a .py file in the /path/to/ directory wasn't executed, and one in the /path/to/the/ folder was. Does that sound logical, the wild card character being necessary?
Feb
26
comment How to set up SUDO rights for execution of Python script from PHP
Will try it, will let you know wether it works
Feb
26
comment How to set up SUDO rights for execution of Python script from PHP
Ah, ok, didn't read the FAQ, thought it was for all kind of server related questions, not only for professionals. Didn't know about the Unix and Linux group, will try it there next time. The raspberry pi group off course was my first choice, but i thought this was more linux specific than Pi specific.
Feb
26
comment How to set up SUDO rights for execution of Python script from PHP
How should i read your proposed line ie what does this part /usr/bin/python /path/to/the/go2.py mean? Is it the combination of the path to a program and the path to the file here, so does it say "Yo can SUDO for python, for the file '/path/to/the/go2.py'?
Feb
26
comment How to set up SUDO rights for execution of Python script from PHP
Ok, looks like i misunderstood things. I thought the /var/www/exec/ part of my command stated that i allowed sudo rights for the group on the DIRECTORY /var/www/exec/. Is that not a correct assumption?
Feb
26
comment How to set up SUDO rights for execution of Python script from PHP
huh, why the -1, tell me, i might learn.
Feb
26
asked How to set up SUDO rights for execution of Python script from PHP
Feb
26
accepted how can i see what sql server is doing?
Feb
22
comment Working from the prompt, but not from the cron job
Well, as i new user on these kind of things, the 'possible' duplicate list didn't help me much. I was more helped by Jasons answer
Feb
22
accepted Working from the prompt, but not from the cron job
Feb
22
comment Working from the prompt, but not from the cron job
Wicked, that works!
Feb
22
asked Working from the prompt, but not from the cron job
Aug
23
awarded  Popular Question
Mar
31
awarded  Popular Question
May
18
accepted when i try to connect to www.microsoft.com on windows web server 2008, where does it get the IPAddress?
May
18
comment when i try to connect to www.microsoft.com on windows web server 2008, where does it get the IPAddress?
But thanks anyway, i'll try google it some more
May
18
comment when i try to connect to www.microsoft.com on windows web server 2008, where does it get the IPAddress?
nope, just a hairy guy who doesn't want to fix anything :)
May
18
comment when i try to connect to www.microsoft.com on windows web server 2008, where does it get the IPAddress?
when you talk about "the machine's DNS server/s". Are they external machines, or can you install your own DNS server in your network and override data at that machine then?