Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use putty to log in to a remote LINUX machine. (Ubuntu 10)

When I log in I have to authenticate myself, that goes on pretty smooth.

Whenever I try to use sudo or su though, I experience Authentication failures. I am entering the same password I entered when logging in.

I can't read the sudoers file too.

Had no problems with sudo till a week back, any ideas how I can solve this?

share|improve this question

migrated from Dec 4 '12 at 7:37

This question came from our site for professional and enthusiast programmers.

maybe the root password has been changed – sheldonCooper Dec 4 '12 at 6:19
No, it has not. – Desert Ice Dec 4 '12 at 6:36
You can't read the sudoers file without root access and you cannot get root access without sudo working. If su and then root password is not working (assuming you enabled root), then the root password is not what you believe it is. If you can no longer sudo, then you are no longer in the sudoers file. Either this, or something has changed in pam. If you administer this server, and you haven't made changes to these things, then someone else has. It is time to boot into single user mode and see what is happening. – Paul Dec 4 '12 at 8:18
is your user a sudoer? also have you tried to use sudo with physical access? – dzervas Dec 4 '12 at 12:01
@Sadly, I am not the administrator and there may have changes to PAM. I will check if thats the case with my administrator – Desert Ice Dec 4 '12 at 12:10

You must log in to answer this question.

Browse other questions tagged .