[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: HELP! can't become root

tom arnall wrote the following on 03.10.2007 21:12
> 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
> 	Password:
> 	setgid: Operation not permitted
> 	kloro@debian:/bin$
> 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'?
> Thanks,
> tom arnall

i suggest you to reinstall. It´s not worth the hassle.
What you did is:

chmod -R /dev 777 as it seems

where inside /dev is your whole system ( e.g. /dev/hda1)


key: 0x4A411E09

Reply to: