read password from tty