Re: sudo under django or better solutions?

2008-02-01 Thread Tim Chase
> mm... sudo is a much more fine grained way of granting permission. I don't > really like do give all power to a web application. > > What I would have liked was a sort of sudo module, so execute certain > *configured* funcions with more power. Another option might be a long-running process (L

Re: sudo under django or better solutions?

2008-02-01 Thread David Reynolds
On 31 Jan 2008, at 5:27 pm, sandro dentella wrote: > i'd like to make an application that should execute commands with > permission that are not normally for www-data (eg: create user). Of > course > I know I could use sudo and execute the command via subprocess or > similar. But it happ

Re: sudo under django or better solutions?

2008-01-31 Thread Graham Dumpleton
On Feb 1, 9:46 am, Alessandro Dentella <[EMAIL PROTECTED]> wrote: > On Thu, Jan 31, 2008 at 02:30:02PM -0800, Graham Dumpleton wrote: > > > On Feb 1, 4:27 am, sandro dentella <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > i'd like to make an application that should execute commands with > > > pe

Re: sudo under django or better solutions?

2008-01-31 Thread Alessandro Dentella
On Thu, Jan 31, 2008 at 02:30:02PM -0800, Graham Dumpleton wrote: > > On Feb 1, 4:27 am, sandro dentella <[EMAIL PROTECTED]> wrote: > > Hi, > > > > i'd like to make an application that should execute commands with > > permission that are not normally for www-data (eg: create user). Of > > cou

Re: sudo under django or better solutions?

2008-01-31 Thread Graham Dumpleton
On Feb 1, 4:27 am, sandro dentella <[EMAIL PROTECTED]> wrote: > Hi, > > i'd like to make an application that should execute commands with > permission that are not normally for www-data (eg: create user). Of > course > I know I could use sudo and execute the command via subprocess or > sim

sudo under django or better solutions?

2008-01-31 Thread sandro dentella
Hi, i'd like to make an application that should execute commands with permission that are not normally for www-data (eg: create user). Of course I know I could use sudo and execute the command via subprocess or similar. But it happens that the command is a python script so i'd prefer to