Add sudo validate

Closes #17