Re: Mounting shares with python

2007-01-30 Thread half . italian
On Jan 26, 10:27 am, Bjoern Schliessmann usenet- [EMAIL PROTECTED] wrote: 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. Consider modifying /etc/fstab. Have a comand to send a root

Mounting shares with python

2007-01-26 Thread Marcpp
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. --

Re: Mounting shares with python

2007-01-26 Thread Diez B. Roggisch
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

Re: Mounting shares with python

2007-01-26 Thread Michael Bentley
On Jan 26, 2007, at 6:40 AM, 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.

Re: Mounting shares with python

2007-01-26 Thread Carl J. Van Arsdall
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. I do a lot of that type

Re: Mounting shares with python

2007-01-26 Thread Bjoern Schliessmann
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. Consider modifying /etc/fstab. Have a comand to send a root password...? I've tried os.system (su) os.system (the password) but it doesn't