@mxey @timb_machine I'm not sure I follow: sudo runs as root (since it's setuid root), as well as other processes it creates, so I can't ptrace them from my lame user account. If we talk about ptracing a low-priv shell before it elevates via sudo, that's possible but not the same as hijacking an already running privileged terminal (larger window of opportunity/user interaction requirement).