Re:macOS lock screen: “I just sent my session pass to my who...
by rst on Friday December 08, 2017 @09:56AM
(#15878993)
Even more fun if the focus happens to be on a terminal window...
[ Parent
| on HN ]
Re:macOS lock screen: “I just sent my session pass to my who...
by breakingcups on Friday December 08, 2017 @10:06AM
(#15879088)
I knew I shouldn't have picked 'rm -rf /' as a password
Re:macOS lock screen: “I just sent my session pass to my who...
by __david__ on Friday December 08, 2017 @02:08PM
(#15881064)
Oh, you're lucky. Mine is 'rm -rf --no-preserve-root /'.
Re:macOS lock screen: “I just sent my session pass to my who...
by teekert on Friday December 08, 2017 @11:48AM
(#15879995)
Haha, tried that a couple of months back before wanting to do a reinstall. The system stopped me with some warning :) I think it was Arch but could have been Ubuntu or Solus.
Re:macOS lock screen: “I just sent my session pass to my who...
by Gloire_a_Satan on Friday December 08, 2017 @01:31PM
(#15880737)
There's a way to still do the rm -rf / bypassing the warning but you shouldn't do that.
Ever since systemd was a thing, that command has stopped being 'safe'. It no longers solely affect the filesystem. It can wipe your EFI variables and make your comnputer unable to boot at all, even unable to boot installers to reinstall linux.
https://github.com/systemd/systemd/issues/2402
Don't think of the file system as just the file system. If you keep thinking of / as only meaning 'whatever's in that hard drive' you will not like what you may encounter.
Re:macOS lock screen: “I just sent my session pass to my who...
by p7IDD243 on Friday December 08, 2017 @12:47PM
(#15880432)
Yep, nowadays rm has a failsafe and requires you to add --no-preserve-root argument if you want to force remove the root folder recursively.
Re:macOS lock screen: “I just sent my session pass to my who...
by tachion on Friday December 08, 2017 @10:17AM
(#15879186)
If it's not there, you can always make it be, like I did in past with very similar issue (described in another comment). Quite few people disable/change OS wide keyboards shortcuts ;)