in reply to Re^2: Net::Appliance::Session, Disable paging & send commands after "su" ?
in thread Net::Appliance::Session, Disable paging & send commands after "su" ?
I found the solutions for one of my problems :
1. disable paging -- just put ....new->({ ..do_paging => 0.. }) https://rt.cpan.org/Public/Bug/Display.html?id=69139 2. $s->begin_privileged({password => 'pass'});The above suggestion.. Doesn't work for me. Workaround is to put "send pass " in the macro begin_privileged at the Phrasebook file i.e.
...... macro begin_privileged send su - match passsu send pass match privileged ......
|
|---|