Sunday, October 26, 2014

HowTo: Fix "user is not in the sudoers file. This incident will be reported" in Debian

In Debian, the user created during installation is not automatically added to the sudoers list. To fix do:
  1. Change to root user by typing su in a terminal.
  2. As root, do visudo.
  3. Search for line root    ALL=(ALL:ALL) ALL.
  4. Copy that line (in nano, do Ctrl+K then Ctrl+U to uncut and on more Ctrl+U to duplicate the line).
  5. Change that new line to like timus    ALL=(ALL:ALL) ALL. This adds user timus to the sudoers.
Reference(s):
http://ubuntuforums.org/showthread.php?t=1837295

No comments:

Install Winget on Windows 2022 or Windows 10 LSTC

Install Winget on Windows 2022 or Windows 10 LTSC Install Pre-reqs Install Microsoft.UI.Xaml/2.8.6 Navigate to https://www.nuget.org/pa...