Re: Mounting shares with python

2007-01-30 Thread half . italian
On Jan 26, 10:27 am, Bjoern Schliessmann 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 password...? > > I'

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") >

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

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

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

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. -- http://mail.python.org/mailman/listinfo/py