I have sometimes problem when during entering password for su other window appears and steals the focus ("wait - did I just entered root password on public IRC chatroom?" - it did not happened but might).
Is it possible to configure su/sudo/PAM to use system dialog instead of terminal? I'm using gnome3/gnome-shell if it helps.