Waffelson@lemmy.world to linuxmemes@lemmy.world · 8 months agoWhen you realized you forgot sudolemmy.worldimagemessage-square33fedilinkarrow-up1370
arrow-up1370imageWhen you realized you forgot sudolemmy.worldWaffelson@lemmy.world to linuxmemes@lemmy.world · 8 months agomessage-square33fedilink
minus-squarePantherina@feddit.delinkfedilinkarrow-up4·8 months agosudoedit is more secure btw. Many editors are not built to be ran as root, and this copies the file to a temo directory, edits it without root, and then overwrites the original file on save with root.
sudoedit
is more secure btw. Many editors are not built to be ran as root, and this copies the file to a temo directory, edits it without root, and then overwrites the original file on save with root.