samsam is not in the sudoers file
-
I got this error when i run sudo localuser ( samsam is not in the sudoers file. This incident will be rported)
-
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,
Daniel -
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.