This question already has an answer here:
- I can't use sudo commands! 3 answers
I have tried creating a user through command line with
sudo adduser user but when I log in using that user's credential I get some error saying user is not in sudoers file. How can I add new user to sudoers file?