Validate sudo

closes #29