How to enter a password each time to avoid sudo

1. Open the / etc / sudoers

sudoedit /etc/sudoers

2, add the following line

<user-account-name> ALL=(ALL:ALL) NOPASSWD:ALL

Guess you like

Origin blog.csdn.net/iamjjh/article/details/92057725