HNHacker News
TopNewBestAskShowJobs

jean_dupont

41 karma · joined November 24, 2023

A great power lays in developers hands. One should bend the metal to its will to shape a better future for the generations to come.
submissionscomments
jean_dupont··on Show HN: Boulette - Protect you from yourself (even as root).
Unfortunately we have to detect nested sessions too! When doing sudo -i, the $SSH env var can't be retrieve and we have to browse through the process tree and look for sshd. And we need fancy printing with colors too!
jean_dupont··on Show HN: Boulette - Protect you from yourself (even as root).
It just didn't cross my mind! You've got a point here! I'll rethink the argument parsing.
jean_dupont··on Show HN: Boulette - Protect you from yourself (even as root).
I think such a thing can be achieved easily with the starship prompt!
jean_dupont··on Show HN: Boulette - Protect you from yourself (even as root).
You can set the challenge type to hostname as well and some others. The only pb with Molly-guard is that I can't have it working properly on my system.
jean_dupont··on Show HN: Boulette - Protect you from yourself (even as root).
Yes! Molly guard is genius! Unfortunately I couldn't get it to work on nixos which is not FHS-complient!
jean_dupont··on Show HN: Boulette - Protect you from yourself (even as root).
Hahaha, yes I thought of it while writting it! This is a crazy annoying terminal popup! But it can maybe be useful if used correctly and with parsimony
jean_dupont··on Show HN: Boulette - Protect you from yourself (even as root).
This! Another use case: I use it on nixos-rebuild to update the system, when I don't want to rebuild from tiny hosts but rather from a powerfull machine and then send binaries,because it would take to much time to compile otherwise.
jean_dupont··on Show HN: Boulette - Protect you from yourself (even as root).
Boulette isn't only for safeguarding "shutdown", it is for safeguarding what needs to be. This is to prevent yourself from some harmeful reflexes.

I my case, I use atuin a lot and automatically retype long commands and sometimes as root.

The regularity of this actions tend to lower my attention, but the fact that many users depend on what I do on big machines and with lots of priviledges isn't less true.

Danger comes from getting used to it.

jean_dupont··on Pipelight: Tiny Automation Pipelines
Thank you for your esteem toward the project!