I just installed Quantal Quetzal and when I type sudo in the terminal it asks for the password. Before upgrading, I changed something in the file, and it wouldn’t ask for passwords. I have already tried advice from many websites, but none of them worked. Does 12.10 differ with sudo in any way? If anyone can tell me which file to change to fix this, that will be great.
Your main user is member of group 'sudo'. Default settings is to ask your password in order to perform any activity which requires some privilegies.
in order to change it, you need to run in a terminal:
and change this line:
for this line:
save the changes and close your session to have your system taking the changes.