Re: Mount something with my perl script

2002-07-24 Thread strange
As Dominic Mitchell already pointed out, you're better using sudo than su. Or just add the option "owner" (and optionally "uid=uid") to /etc/fstab. Or just chgrp scriptegid /usr/bin/smbmnt ; chmod 04750 /usr/bin/smbmnt. Regards, Luciano Rocha -- Consciousness: that annoying time between naps

Re: Mount something with my perl script

2002-07-24 Thread Michael Jacob
e: > > > From: "Heiss, Christian" <[EMAIL PROTECTED]> > > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > Subject:Mount something with my perl script > Date: Wed, 24 Jul 2002 13:55:13 +0200 > > > > > Hello,

Re: Mount something with my perl script

2002-07-24 Thread lembark
>> # ! /usr/bin/perl -w >> `su - root -c 'mount -t smbfs -o credentials= >> // /'`; Check out the automounter. -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647 +1 800 762 1582

Re: Mount something with my perl script

2002-07-24 Thread Dominic Mitchell
Heiss, Christian wrote: > Hello, > > I don't know if this is the right mailing list, but well... > > How can I mount something with my perl script? > I've got always the error: mount: only root can do this > > So I changed my script something like this: >

Mount something with my perl script

2002-07-24 Thread Heiss, Christian
Title: Mount something with my perl script Hello, I don't know if this is the right mailing list, but well... How can I mount something with my perl script? I've got always the error: mount: only root can do this So I changed my script something like this: #! /usr/bin/p