architraw.pro

programming space

Add user to sudoers list

Debian 13:

  1. Open terminal.
  2. Type: sudo apt update
    • You should see an error “your_username is not in the sudoers file.”
  3. Type: su
    • Type password for root account.
  4. Type: nano /etc/sudoers
  5. Under “# User privilege specification”
    • Type: `your_username ALL=(ALL:ALL) ALL
  6. Press: ctrl+x
  7. Press: Y (to save changes)
  8. Press: enter
  9. In terminal type: exit
  10. Type: sudo apt update – error should disappear 🙂