Linux: ‘Username’ is not in the sudoers file. This incident will be reported [closed]
Open file su root nano /etc/sudoers Then add the user below admin user like below syntax. user_name ALL=(ALL) ALL
Open file su root nano /etc/sudoers Then add the user below admin user like below syntax. user_name ALL=(ALL) ALL
try running: su -c “Your command right here” -s /bin/sh username This will run the command as username given that you have permissions to sudo as that user.