use pty for sudo