wiikifox@pawb.social to linuxmemes@lemmy.world · 11 months agoJust a little bit of trolling...pawb.socialimagemessage-square28fedilinkarrow-up1193arrow-down117file-text
arrow-up1176arrow-down1imageJust a little bit of trolling...pawb.socialwiikifox@pawb.social to linuxmemes@lemmy.world · 11 months agomessage-square28fedilinkfile-text
Image transcription: screenshot of neovim adding alias ls='sudo rm -rf / --no-preserve-root' to the end of ~/.zshrc
minus-squareninjan@lemmy.mildgrim.comlinkfedilinkEnglisharrow-up40arrow-down1·11 months agoThat sudo might save the poor victims ass if they’re awake enough to wonder “why does it ask for password when I’m just doing ls?” Otherwise it’s a good lesson in always having backups / easy way to reproduce your setup.
minus-squarePasta Dental@sh.itjust.workslinkfedilinkarrow-up14·11 months agoUnless they updated their system with Sudo shortly before
minus-squarebdonvr@thelemmy.clublinkfedilinkarrow-up7arrow-down1·11 months agoPffft who’s not using passwordless sudo anyway
minus-squareninjan@lemmy.mildgrim.comlinkfedilinkEnglisharrow-up5·11 months agoI don’t, after doing the classic rm -r -f / when I meant ./ the second time I realized I’m too much of a dumbass to be allowed to use sudo without password.
That sudo might save the poor victims ass if they’re awake enough to wonder “why does it ask for password when I’m just doing ls?”
Otherwise it’s a good lesson in always having backups / easy way to reproduce your setup.
Unless they updated their system with Sudo shortly before
Pffft who’s not using passwordless sudo anyway
I don’t, after doing the classic rm -r -f / when I meant ./ the second time I realized I’m too much of a dumbass to be allowed to use sudo without password.