After logging into ssh in a Linux machine, I got this message:
'Username' is not in the sudoers file. This incident will be reported.
How can I resolve this? I'm connecting ssh to my virtual private server.
I need to have sudoers privilegies.
Open file
su root
nano /etc/sudoers
Then add the user below admin user like below syntax.
user_name ALL=(ALL) ALL