hyadijxp 发表于 2017-5-16 06:31:10

shell中执行sudo,不需输入密码

转自:http://hi.baidu.com/sunnnnnnnnny/item/ffc22fa6fef03513a8cfb78e

echo "yourpassword" | sudo -S yourcommend
页: [1]
查看完整版本: shell中执行sudo,不需输入密码