-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 visudo, as well as vipassed and vigr use whatever editor is in the EDITOR variable...i like nano
in .bash_profile EDITOR='nano' export EDITOR tcsh is slightly different... On Friday, May 3, 2002, at 05:01 PM, David Bacher wrote: > 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 > > - -chris zubrzycki - - -- PGP public key: http://homepage.mac.com/beren/publickey.txt ID: 0xA2ABC070 Fingerprint: 26B0 BA6B A409 FA83 42B3 1688 FBF9 8232 A2AB C070 ======================================================== "Twice blessed is help unlooked for." --Tolkien -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (Darwin) Comment: For info see http://www.gnupg.org iD8DBQE81Ccd+/mCMqKrwHARApPSAKDW0WZGIUixdWTLnfxQPDzbchDNVACg1ouK qVmTYx1eAhH2T5KUOBFb2kY= =F9/X -----END PGP SIGNATURE----- _______________________________________________________________ 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
