Hi,
Why do I see two different processes for my ssh session?
Why there is my UID in the User field (in the first column) for the Dev@pts/16 process?
What does [priv] means in the first instance of my ssh session?
Code:
[root@dev-host ~]# ps auxf | grep -E "(sshd$|Dev)"
root 3009 0.0 0.0 60744 1196 ? Ss 2012 0:01 /usr/sbin/sshd
root 12941 0.0 0.1 104584 4936 ? Ss 09:31 0:00 \_ sshd: Dev [priv]
14703 12947 0.0 0.0 104584 2452 ? S 09:31 0:00 | \_ sshd: Dev@pts/16
Please Note: Actually, I logged-in to the server as Dev and then switched user to root.
Thanks,
Dev.