How do I add users using Python scripts on a Linux machine

Sebastian 'lunar' Wiesner basti.wiesner at gmx.net
Wed Jan 3 12:59:27 CET 2007


Piet van Oostrum <piet at cs.uu.nl> typed

>>>>>> Sebastian 'lunar' Wiesner <basti.wiesner at gmx.net> (SW) wrote:
> 
>>SW> Linux seems to ignore SUID bit on scripts:
> 
> The reason is that obeying SUID bits on scripts would be a security
> risk.

I don't see a problem with SUID on scripts. If you restrict write access
to the owner, modification is hardly possible. 
However, if you allow world-wide write access to your binaries and
scripts, both can easily be modified...

-- 
Freedom is always the freedom of dissenters.
                                      (Rosa Luxemburg)



More information about the Python-list mailing list