linux put user in sudoers file centos code example Example: add user with sudoer centos username ALL=(ALL) NOPASSWD:/usr/bin/du,/usr/bin/ping