Re: HELP! can't become root
On Wed, Oct 03, 2007 at 12:12:52PM -0700, tom arnall wrote:
> I got impatient with an aumix error and did 'chmod -R /dev' (and ctl-C'ed out
> of it after ~3 min's.) now I can't become root. Some examples:
> kloro@debian:/bin$ sudo /usr/src/modules/alsa-driver/snddevices
> sudo: /etc/sudoers is mode 0777, should be 0440
> kloro@debian:/bin$ su
> setgid: Operation not permitted
> When I try to log in as root on a pseudo terminal, I get:
> setgid: operation not permitted
> I can log in as myself.
> Also, is there other damage that i might have done with the 'chmod'?
You'd have to know what files got altered. For example, you say you
chmoded /dev. Then how did /etc/sudoers get changed?
Can you boot single-user mode and login as root?
Do you have good backups of your data?