4 ms·
Related to this, is the advice I give everyone for editing the sudoers file: First, open two superuser terminals. The second one is so if you fuck up the sudoe
by hinkley 2y ago
Related to this, is the advice I give everyone for editing the sudoers file:
First, open two superuser terminals. The second one is so if you fuck up the sudoers format so it doesn't parse and you accidentally 'exit' one too many times in the first terminal.
- deberon 2y agoThe visudo command is often times available as well. It won’t let you save a malformed sudoers file. Finding other footguns though is an exercise for the reader.
- hinkley 2y agoIt will however let you accidentally break "sudo su -" and happily tell you to go fuck yourself afterward.
- rsyring 2y agohttps://www.sudo.ws/docs/man/1.8.13/visudo.man/ https://www.sudo.ws/docs/man/1.8.13/visudo.man/ "visudo edits the sudoers file in a safe fashion..."