Alexander Dalloz wrote:
Am Fr, den 08.07.2005 schrieb Mike McCarty um 16:05:
But he said he couldn't "su". Can you login as root in a virtual
console?
Erm, I think you have your attributions wrong. It was "related..." not
"part of..." the "can't su thread". I don't see where he can't su.
Mike
Please see his topic and the link he made with it to the other thread,
where he wrote: "I can't su to root anymore."
And note that /bin/su (and similarly, /usr/bin/passwd) are setuid
programs that need to be owned by root. If they have changed ownership,
they won't work any more.
Fix for these two specific programs:
# chown root:root /bin/su /usr/bin/passwd
# chmod 4755 /bin/su
# chmod 4511 /usr/bin/passwd
Paul.