3 ms·
I need to connect to various machines throughout the day and as a first step, need to sudo to a service account. Expect has been a godsend to automate the inter
by noisy_boy 7y ago
I need to connect to various machines throughout the day and as a first step, need to sudo to a service account. Expect has been a godsend to automate the interaction/input my credential (I know that it is far from being the most secure thing but the convenience of typing an alias and being connected including sudo is significant).