chmod u+w /etc/sudoers
vi /etc/sudoers
root ALL=(ALL) ALL下面加入要免密用户
....................
root ALL=(ALL) ALL
jenkins ALL=(ALL) NOPASSWD:ALL
.......................
chmod u+w /etc/sudoers
vi /etc/sudoers
root ALL=(ALL) ALL下面加入要免密用户
....................
root ALL=(ALL) ALL
jenkins ALL=(ALL) NOPASSWD:ALL
.......................
本文标题:sodu 免密
本文链接:https://www.haomeiwen.com/subject/puwovctx.html
网友评论