trivial implementation of sudo