News for hackers. Stuff that matters.
Re:Nginx for Developers: An Introduction by voltagex_ on Wednesday June 19, 2013 @09:35PM (#5909646)
What does visudo do that nano -w doesn't? I've never understood this properly.
Re:Nginx for Developers: An Introduction by vacri on Wednesday June 19, 2013 @10:32PM (#5909811)
Locks to only one editing user and confirms syntax is clean before saving. I'm not aware of nano enforcing correct sudoers syntax. Plus plenty of us don't like nano.

man visudo for more info.

Re:Nginx for Developers: An Introduction by throwaway2048 on Thursday June 20, 2013 @04:51AM (#5910953)
visudo, like vipasswd or crontab -e and other commands, respect the EDITOR environmental variable, so you can edit these files with whatever editor you prefer, while maintaining their protections.
Re:Nginx for Developers: An Introduction by vacri on Thursday June 20, 2013 @06:08AM (#5911172)
True. Provisioning a new test VM for me usually entails something like this: ssh in; visudo; wtf, this is nano! Boo!; ctrl-x; update-alternatives --config editor... :)
Re:Nginx for Developers: An Introduction by e12e on Thursday June 20, 2013 @07:35PM (#5915611)