How do I execute ALL sudo commands without password?

Type the following command as root user:
visudo

Append the following entry to run ALL command without a password for a user named tom:

tom ALL=(ALL) NOPASSWD:ALL