I got this error when i run sudo localuser ( samsam is not in the sudoers file. This incident will be rported)
-
samsam is not in the sudoers file
-
Hey @samerrustom
If you want a user account to be able to elevate privilege using the sudo command, they will need to be given permissions to do so. This can be done by adding entries to the '/etc/sudoers' file.
Here's an article that might be able to help you understand this.
https://linuxize.com/post/how-to-add-user-to-sudoers-in-ubuntu/
Cheers,
DanielITProTV
Show Host -
First rule I learned was don't elevate a user to sudoers. With all the malware and viruses, you don't want to run an Administrator account. Sudo su will handle these needs.