You are on page 1of 1

How do you fix username is not in the Sudoers file this incident will be reported

in Debian?

# vi /etc/sudoers
1. Entered Root using command $ su root . Input Root Password.
2. Install sudo: $ apt-get install sudo -y.
3. Add your < username> $ adduser <username> sudo.
4. $ exit.
5. Then sign up and sign in the < username> session.
6. Finally, check with: < username>@< hostname>:~$ sudo apt-get update.

You might also like