![]() ![]() ![]() Right now the only option of using any other editor for the visudo command is adding the line Default env_editor to the sudoers file, this can be done in two waysġ) using visudo (that means that you use vim, vim is not too friendly for someone who doesnt know vim and doesnt want to waste time digging in vim's help to find out that you need to type "a" to edit something and to tyoe ":wq" to save and exit, maybe knowing vim itsealf is KISS but digging everywhere to learn those basic commands so that i can use an editor i know for visudo is definatlly not KISS in any way)Ģ) editing with your editor, its very unsafe, a wrong syntax and sudo wont work, some admins prefer to disable root, such an act can kill a system with a disabled root.
0 Comments
Leave a Reply. |