zeca011 has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks, my first time here.
I am trying to make a Perl sript in Linux that, besides other things, mounts a network filesystem. Basically, the problem is that I don't know how to interact with bash when it prompts for the password, after the mount call inside Perl:
my @output = `mount //xpto /xpto2 -o username=xpto3`
Well, I know that the password could be passed as an option of the mount call, but let me just say that this can't be done in this specific case.
Any ideas? Is there any Perl module that could help solving that?
Thanks a lot!
Zeca
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Help with mount!
by mr_mischief (Monsignor) on Mar 13, 2009 at 18:08 UTC | |
by zeca011 (Initiate) on Mar 16, 2009 at 14:27 UTC | |
|
Re: Help with mount!
by slacker (Friar) on Mar 13, 2009 at 19:49 UTC | |
|
Re: Help with mount!
by ig (Vicar) on Mar 13, 2009 at 19:17 UTC |