What is the most destroying command you can type in the Linux terminal?oriond@lemmy.ml to Asklemmy@lemmy.ml – 155 points – 11 months ago136Post a CommentPreviewYou are viewing a single commentView all commentsShow the parent commentCan you recover from that?I imagine if you can mount from a busybox possiblyThen 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.This is the traditional method.2 more...Yeah that's the painful part. A backup would be key hereWorst 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.2 more...2 more...chroot in and then syncing the permissions from something like the equivalent of filesystem package in Arch for your distro should get you going2 more...
Can you recover from that?I imagine if you can mount from a busybox possiblyThen 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.This is the traditional method.2 more...Yeah that's the painful part. A backup would be key hereWorst 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.2 more...2 more...chroot in and then syncing the permissions from something like the equivalent of filesystem package in Arch for your distro should get you going2 more...
I imagine if you can mount from a busybox possiblyThen 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.This is the traditional method.2 more...Yeah that's the painful part. A backup would be key hereWorst 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.2 more...2 more...
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.This is the traditional method.2 more...Yeah that's the painful part. A backup would be key hereWorst 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.2 more...
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.This is the traditional method.2 more...
I think you'll need to change passwd and shadow, maybe a few other files, but besides that it'll mostly work.
Yeah that's the painful part. A backup would be key hereWorst 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.
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.
chroot in and then syncing the permissions from something like the equivalent of filesystem package in Arch for your distro should get you going
Can you recover from that?
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.
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.
chroot
in and then syncing the permissions from something like the equivalent offilesystem
package in Arch for your distro should get you going