set tty_uid to -1 by default, so that tty_uid:0 is always meaningful