Mounting shares with python

Marcpp marcpp at
Fri Jan 26 13:40:28 CET 2007

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.

More information about the Python-list mailing list