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
$ chromium Failed to move to new PID namespace: Operation not permitted– Galaxy Jul 14 '11 at 14:23nosuid. 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