Difference between revisions of "Safe sudo"
m |
m |
||
Line 18: | Line 18: | ||
Only allow sudo (and git commit) after testing breath for alcohol pro-milage . . | 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= | =Alternate function= | ||
[http://xkcd.com/323/ Ballmer Peak] detector | [http://xkcd.com/323/ Ballmer Peak] detector |
Latest revision as of 15:37, 29 November 2013
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