Even when i logged in as non-admin user, and from terminal if enter 'sudo bash' or 'sudo -s', the system does not ask for any password. In the command history, i have not entered any password against the same.
While studying "Learning the Shell"
As I try terminal entries, I GET 'Permission Denied". Then
I try "su" to become the root user. When I use the password
that I entered as I installed Ubuntu 11.04, I get Authentication
sudo (Which I have configured to ask for a password) is rejecting my password (as if I mis-typed it) I am absolutely not typing it incorrectly. I have changed the password temporarily to alphabetic characters only, and it looks fine in plaintext, in the same terminal.
In my linux system i have two sudo users and another root. When i want to switch from sudo user to Root user, and put command SU to switch to root then system ask for Root user password.But when i enter same command with SUDO, like sudo su then my user switches to Root user and don't ask for Root user Password.
Tested on Ubuntu and Fedora, same behavior on both platform.
i just did a fresh install of ubuntu 12.04 - 32 bit on my vps.
then i created a new user and added it into "sudo" group to allow sudo permission. then i tried to sudo to see whether it works or not. then i got "sudo: must be setuid root" warning. after googling for sometime i found out that /urs/bin/sudo file must be given chmod +s permission to make sudo work.