which PID should be written to utmp/wtmp file

Logu logsnaath at gmx.net
Tue May 3 20:07:00 EST 2005


Hi,

For each user connection when privilege separation is enabled, 3 processes 
are of interest for this topic.

1. sshd:[priv]         -  privileged user process.
2. sshd:user at pts/0 -  user process.
3. shell                  -  shell process.

Openssh code writes the #2. sshd:user at pts/0 -  user process to the utmp/wtmp 
file. Is this the correct behaviour.? Or should it write the #3. shell pid 
to the utmp/wtmp file.

Thanks
-logu 




More information about the openssh-unix-dev mailing list