[vox-tech] sudoers file on ubuntu corrupted, how can I recover it?

Jeff Newmiller jdnewmil at dcn.davis.ca.us
Sat Jun 12 13:46:30 PDT 2010


Hai Yi wrote:
> Hello all:
>
> I accidentally changed the mode of the file /etc/sudoers and added a 
> line to the file.
>
> Now every time I want to "sudo" sth, I got a "segmental fault" error, 
> and an error message like "... the mode is 0640, it should be 0440..."
>
> I couldn't remember exactly the words, but it's something similar to 
> above.
>
> Anyone knows how to recover this error?
>

Reboot with a linux boot disk (Ubuntu install disk works well)
Mount disk
make chmod change to sudo file
reboot from hard disk

>
> I am using ubuntu 9.10
>
> Thanks a lot!
> Hai
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> vox-tech mailing list
> vox-tech at lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>   



More information about the vox-tech mailing list