Tuesday, September 19, 2017

Set no password for `su` in Ubuntu 17.04

1. Create new group: groupadd wheel
2. Add your user name: usermod -G wheel your_user_name
3. gedit /etc/pam.d/su

# Uncomment this if you want wheel members to be able to
# su without a password.
auth       sufficient pam_wheel.so trust

No comments:

Post a Comment