I found a solution, not the best one considering security issues.
I am running apache as a regular user and the os.system('sudo reboot')
on my view will work.On Nov 18, 12:36 pm, delcio <[email protected]> wrote: > I am using Django 1.0 with Ubuntu 8.04 LTS trying to execute system commands, > like a print screen to show me the picture or to reboot the system but it > seem it just won't execute due to permission settings (?). > I there any good way to do this? It may be within the backoffice or a view, > I just need it working. :) > Thanks in advance for your attention. > -- > View this message in > context:http://www.nabble.com/How-to-issue-system-commands-like-printscreen--... > Sent from the django-users mailing list archive at Nabble.com. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

