Safe sudo

From Technologia Incognita
Jump to: navigation, search
Projects
MQ-3 sensor.jpg
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

  1. Create a nice USB board and case
  2. Make sudo require an OK from the board
  3. 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