At 6:48 AM -0700 5/3/02, [EMAIL PROTECTED] wrote:
>I've gone and broken my sudoers file, and can't sudo now. I opened it
>in BBedit to add the line:
><my username>  ALL = NOPASSWD: ALL
>but it now comes up with the message  "sudo: /etc/sudoers is mode
>0640, should be 0440"
>Any idea what to do?

Dan,
Other people have responded with how to repair your system: su, chmod 0440 ...

But I wanted to mention visudo (/usr/sbin/visudo). It exists to catch 
errors like yours before they end up breaking the system. It requires 
learning a little bit of how to edit with vi, but I'd argue that 
that's good knowledge to have if you're going to be mucking with 
things as root.

Hope that helps (at least for the future)
-dave

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to