wiikifox@pawb.social to linuxmemes@lemmy.world · 11 months agoJust a little bit of trolling...pawb.socialimagemessage-square19fedilinkarrow-up1101arrow-down112file-text
arrow-up189arrow-down1imageJust a little bit of trolling...pawb.socialwiikifox@pawb.social to linuxmemes@lemmy.world · 11 months agomessage-square19fedilinkfile-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-up29·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-squareBob@sh.itjust.workslinkfedilinkarrow-up11·11 months agoUnless they updated their system with Sudo shortly before
minus-squarebdonvr@thelemmy.clublinkfedilinkarrow-up3arrow-down1·11 months agoPffft who’s not using passwordless sudo anyway
minus-squareninjan@lemmy.mildgrim.comlinkfedilinkEnglisharrow-up2·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.