oriond@lemmy.ml to Asklemmy@lemmy.ml · 10 months agoWhat is the most destroying command you can type in the Linux terminal?message-squaremessage-square142fedilinkarrow-up1164arrow-down19
arrow-up1155arrow-down1message-squareWhat is the most destroying command you can type in the Linux terminal?oriond@lemmy.ml to Asklemmy@lemmy.ml · 10 months agomessage-square142fedilink
minus-squareutopianfiat@lemmy.worldlinkfedilinkEnglisharrow-up14·10 months agoI imagine if you can mount from a busybox possibly
minus-squaregrabyourmotherskeys@lemmy.worldlinkfedilinkarrow-up8·10 months agoThen figure out the correct perms.
minus-squareCalicoJack@lemmy.dbzer0.comlinkfedilinkarrow-up13·10 months agoEh, just hit it with the 777 and pray. Then swear at it some more.
minus-squarenixcamic@lemmy.worldlinkfedilinkarrow-up4·10 months agoI think you’ll need to change passwd and shadow, maybe a few other files, but besides that it’ll mostly work.
minus-squareLrdThndr@lemmy.worldlinkfedilinkarrow-up4·10 months agoBoot from a usb stick, mount the fs, use the live environment’s chmod command to fix stuff.
minus-squaregrabyourmotherskeys@lemmy.worldlinkfedilinkarrow-up2·10 months agoThis is the traditional method.
minus-squareutopianfiat@lemmy.worldlinkfedilinkEnglisharrow-up4·10 months agoYeah that’s the painful part. A backup would be key here
minus-squareintensely_human@lemm.eelinkfedilinkarrow-up1·10 months agoWorst case you boot up a virtual server with the same OS as your own and just go down the tree learning permissions, and it’s a deep dive learning experience.
I imagine if you can mount from a busybox possibly
Then figure out the correct perms.
Eh, just hit it with the 777 and pray. Then swear at it some more.
I think you’ll need to change passwd and shadow, maybe a few other files, but besides that it’ll mostly work.
deleted by creator
Boot from a usb stick, mount the fs, use the live environment’s chmod command to fix stuff.
This is the traditional method.
Yeah that’s the painful part. A backup would be key here
Worst case you boot up a virtual server with the same OS as your own and just go down the tree learning permissions, and it’s a deep dive learning experience.