Software >> OS >> Unix >> Linux >> commands >> sudo >> How to enable user1 to run su - without requiring password

# vi /etc/sudoers

add the following line:

user1 ALL=NOPASSWD: /bin/su -