How to execute sudo commands with Expect & send commands in bash script? (2 Solutions!!)

How to execute sudo commands with Expect & send commands in bash script? (2 Solutions!!)

Roel Van de Paar

4 года назад

185 Просмотров

How to execute sudo commands with Expect & send commands in bash script? (2 Solutions!)

Helpful? Please support me on Patreon: https://www.patreon.com/roelvandepaar

With thanks & praise to God, and with thanks to the many people who have made this project possible! | Content (except music & images) licensed under cc by-sa 3.0 | Music: https://www.bensound.com/royalty-free-music | Images: https://stocksnap.io/license & others | With thanks to user sasuke (https://askubuntu.com/users/162214), user glenn jackman (https://askubuntu.com/users/10127), user Eliah Kagan (https://askubuntu.com/users/22949), and the Stack Exchange Network (http://askubuntu.com/questions/307067). Trademarks are property of their respective owners. Disclaimer: All information is provided "AS IS" without warranty of any kind. You are responsible for your own actions. Please contact me if anything is amiss at Roel D.OT VandePaar A.T gmail.com.

Тэги:

#bash #scripts #sudo #question #answer #solutions #shell_script #scripting #root
Ссылки и html тэги не поддерживаются


Комментарии: