I was trying to install a package using the command:
sudo apt-get install ruby-rvm
But I'm prompted with
nish is not in the sudoers file. This incident will be reported.
I tried to add myself to sudoers list in /etc/sudoers. But to do that I need to be logged in as root user.
using the command "sudo su" again prompts "nish is not in the sudoers file. This incident will be reported." Please cold someone help me out here. Thanks
su
and enter root's password (of course, if you're an admin). But that only works on some distributions by default as the root password is locked. Try usingsudo
with a user you created during the installation, it should have the permissions by default to runsudo