Erik Price writes:
 > 
 > On Friday, May 3, 2002, at 09:21  AM, Dan O'Brien 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?
 > 
 > Log in as root and chmod it back.
 > 
 > bash$ su
 > Password:
 > bash# chmod 0440 /etc/sudoers
 > bash# exit
 > bash$
 > 
 > If you haven't activated your root account, you can do it via
 > NetInfo or a handful of other ways, see MacOSXHints.com for
 > more info

The default seems to be '%admin ALL=(ALL) ALL'.

Any particular reason that you're putting in a specific entry for
your uid, and not just having your uid belong to the admin group?

-- 
Viktor Haag : Software & Information Design : Research In Motion
                              +--+
              "We just love the way salesmen talk.
                  Especially frightened ones."


_______________________________________________________________

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