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:
> 
>       [EMAIL PROTECTED]:/bin$ sudo /usr/src/modules/alsa-driver/snddevices
>       sudo: /etc/sudoers is mode 0777, should be 0440
>       [EMAIL PROTECTED]:/bin$ su
>       Password:
>       setgid: Operation not permitted
>       [EMAIL PROTECTED]:/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'?

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?

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to