Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com 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
2  
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? –  ttouch 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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.