求助,关于SH脚本
Tofloor
poster avatar
182******97
deepin
2018-02-28 19:04
Author
如图,有没有可能写一行代码使双击的时候就告知系统密码了而不用输入密码?

Reply Favorite View the author
All Replies
avatar
billy123456
deepin
2018-03-02 04:12
#1
你指的是把密码写进脚本里?
Reply View the author
avatar
182******97
deepin
2018-03-12 18:17
#2
https://bbs.deepin.org/post/153655
你指的是把密码写进脚本里?

对对对对对对对对对对对
Reply View the author
avatar
Lyvnee
deepin
2018-03-12 18:48
#3
我是这么干的,echo "password" |   sudo  -S   apt  update
Reply View the author
avatar
billy123456
deepin
2018-03-15 02:28
#4
https://bbs.deepin.org/post/153655
对对对对对对对对对对对

echo 密码|sudo -S apt update
Reply View the author