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 ran rsync -aHA --delete --devices -S -xv /media/tmp/oldroot/ /media/newroot/. After I reboot, I can login. But I cannot use sudo and passwd.

How to fix this?

$ sudo ls
sudo: must be setuid root

$ passwd
Changing password for galaxy.
(current) UNIX password: 
passwd: Authentication failure
passwd: password unchanged
share|improve this question
    
also $ chromium Failed to move to new PID namespace: Operation not permitted –  Galaxy Jul 14 '11 at 14:23
1  
Well, I just find I mount the new disk with nosuid. That is the reason. Maybe I should keep this question for those just made a mistake like me. –  Galaxy Jul 14 '11 at 14:28
    
Go ahead add that comment as an answer. It lets us know that you have answered the question. And hey, you might just get upmodded ;) –  new123456 Jul 15 '11 at 0:28
    
I tried and found I cannot self-answer within 8 hours ... –  Galaxy Jul 16 '11 at 15:04

1 Answer 1

up vote 0 down vote accepted

Well, I just find I mount the new disk with nosuid. That is the reason.

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.