sodu 免密
2019-10-30 本文已影响0人
胸口砕大石
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
.......................