sagarkha has asked for the wisdom of the Perl Monks concerning the following question:
But after execution it always prompt for the password again.system("mount -t smbfs -o username=sachins,domain=POWERSOFT,password= +***** //172.28.89.164/PS /mnt/test");
Is there a way i can save password in a file or in array and use it whenever it prompts.[root@innovation scripts]# ./moun.pl Password:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to enter passowrd through a file when it prompts on STDOUT.
by shmem (Chancellor) on Aug 18, 2010 at 11:07 UTC | |
by Fletch (Bishop) on Aug 18, 2010 at 14:36 UTC | |
|
Re: How to enter passowrd through a file when it prompts on STDOUT.
by wazoox (Prior) on Aug 18, 2010 at 11:08 UTC | |
|
Re: How to enter password through a file when it prompts on STDOUT.
by ww (Archbishop) on Aug 18, 2010 at 14:37 UTC | |
|
Re: How to enter password through a file when it prompts on STDOUT.
by robrt (Novice) on Aug 20, 2010 at 09:46 UTC | |
by sagarkha (Acolyte) on Aug 26, 2010 at 07:51 UTC |