auto sudo password in shell

here is the example how to implement the auto password in shell script.

Echo yourpasswordhere | sudo -S insmod xxx.ko

猜你喜欢

转载自www.cnblogs.com/zjbfvfv/p/10336999.html