Live data from Hacker News

Suicide Linux

qntm.org

11–20 of 135 posts

Re: Suicide Linux

#12
Haha, how can it do that out of interest, if you're not root? (As aren't the top level directories in / owned by root?, or does it work anyway, if rm can recurse down? deleting files from the current user)

Re: Suicide Linux

#14

Haha, how can it do that out of interest, if you're not root? (As aren't the top level directories in / owned by root?, or does it work anyway, if rm can recurse down? deleting files from the current user)

As far as I know, it can recurse down and get to more files than you want. The alternative is that the last time I ran that command, it was actually on an account with write rights to the root dir.

Re: Suicide Linux

#15

Haha, how can it do that out of interest, if you're not root? (As aren't the top level directories in / owned by root?, or does it work anyway, if rm can recurse down? deleting files from the current user)

In the video he says that you need to be root when you make the typo. But since you have to be root when you install the package, you could plant a suid binary or even leave a service running as root that deletes all your files later.

Re: Suicide Linux

#17
bash corrects your spelling?? Is this a cute way of saying "I made a typo that turned out to be a legit command" or is there some DWIM I don't know about (and thankfully don't have enabled)?
Post reply on HN