set tty for sudo commands