Safe sudo
| Projects | |
|---|---|
| | |
| Participants | The JinX |
| Skills | Coding, Access control, Soldering, Electronics |
| Status | Getting parts |
| Niche | Software |
| Purpose | Fun |
Sometimes it's not safe to sudo
So I bought this alcohol sensor
TODO
- Create a nice USB board and case
- Make sudo require an OK from the board
- Make git commit require OK
Function
Only allow sudo (and git commit) after testing breath for alcohol pro-milage . .
Git is easy, can be done with a wrapper or a pre-commit hook ;)
Sudo needs to be patched but that seems trivial too :D
Alternate function
Ballmer Peak detector