Central Queensland Linux User Group

  • home
  • faq's
  • hints, help and information
  • links
  • linux programming
  • media
  • events
  • about us
Home

Editing sudoers - Be safe

noorbeast — Sun, 2010-06-27 11:44

Sudoers is one of those core files where if you make a mistake it is easy to lock yourself out of your own system. Though not as common these days, some systems use vi as the default editor for the sudoers file.

Don't get me wrong, vi is a great editor, but hardly intuitive for someone who is new to Linux. If you do not consider yourself a power vi user, and want to be safe, as you can lock yourself out by messing up the editing of the sudoers file, then use nano or a graphic editor like gedit, leafpad or mousepad instead, by setting your editor of choice like this in a terminal: export EDITOR=nano visudo

Much safer.

  • How-To's

Navigation

  • Recent posts

User login

  • Request new password

Events

Coming to a meeting soon!
Meetings for 2020
more

Who's online

There are currently 0 users and 0 guests online.
  • home
  • faq's
  • hints, help and information
  • links
  • linux programming
  • media
  • events
  • about us