in reply to Re: Perl script to run sudo command(s) on multiple boxes without the use of expect module.
in thread Perl script to run sudo command(s) on multiple boxes without the use of expect module.

There are risks associated with " Expect " with handing passwords... Ansible is an option , but looking for a simple script based solution...
  • Comment on Re^2: Perl script to run sudo command(s) on multiple boxes without the use of expect module.

Replies are listed 'Best First'.
Re^3: Perl script to run sudo command(s) on multiple boxes without the use of expect module.
by i5513 (Pilgrim) on Aug 05, 2015 at 18:56 UTC

    All scripts which have a password inside will have the same problems that using Expect to introduce password, isn't it?.

    I think it is better to use pki and passwordless specifics sudo commands

    Regards