Waffelson@lemmy.world to linuxmemes@lemmy.world · 9 months agoWhen you realized you forgot sudolemmy.worldimagemessage-square43fedilinkarrow-up1373
arrow-up1373imageWhen you realized you forgot sudolemmy.worldWaffelson@lemmy.world to linuxmemes@lemmy.world · 9 months agomessage-square43fedilink
minus-squarePantherina@feddit.delinkfedilinkarrow-up4·9 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.