Mounting shares with python

Marcpp marcpp at gmail.com
Fri Jan 26 07:40:28 EST 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