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 did

sudo mv /lib64 /backup_lib64 

to test some compilation. Now sudo doesn't work at all

farhat@heracles:~/software/sudo-1.8.7$ sudo ls
sudo: unable to dlopen /usr/libexec/sudoers.so: (null) 
sudo: fatal error, unable to load plugins

How can I move backup_lib64 to lib64 without rebooting the system? I do not have the root password either.

Thanks.

share|improve this question
    
It sounds like you didn't get much in terms of a ways out of this situation. However, have you tried su command? Perhaps it doesn't need to load any libraries (not likely, but you could still try). –  wvxvw Jun 29 '13 at 20:25
    
su works, unfortunately you still need the root password. –  Farhat Jun 30 '13 at 20:16
    
Well, then I'm sorry to tell you, but it seems like you have to pull some other triggers there... it doesn't look like there's a technical way to solve this. –  wvxvw Jun 30 '13 at 21:27
    
I figured out the root password finally. Things are okay now. –  Farhat Jul 2 '13 at 4:10

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.