Add this line Code: user ALL = NOPASSWD: ALL at the end, and now the user "user", logged in on any machine, can execute any command without authentication.
user ALL = NOPASSWD: ALL