Marcpp wrote:
> Hi, when i mount a share with python...
>
> os.system ("mount -t smbfs -o username=nobody ...")
>
> the problem is that I'll to be root.
> Have a comand to send a root password...?
> I've tried
>
> os.system ("su")
> os.system ("the password")
>
> but it doesn't works.
You can try to use sudo
os.system ("sudo mount -t smbfs -o username=nobody ...")
It must be configured properly of course.
Diez
--
http://mail.python.org/mailman/listinfo/python-list
