This is a discussion on SSH logout leaves user logged in on HP-UX 11.11 within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> Hello All, We have some HP-UX 11.11 servers with OpenSSH 4.1 installed. A program that uses Mindterm (Java SSH ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello All, We have some HP-UX 11.11 servers with OpenSSH 4.1 installed. A program that uses Mindterm (Java SSH libraries) logs into these servers regularly, and is able to do whatever it is supposed to do. Problem is that when the program logs out, the user is not logged out of the server (as shown by "w"). When we login using Putty.exe from a Windoze box, it logs out correctly, and the user is not left hanging. We ran SSHD in debug mode and noticed a significant differences in the messages when these clients logout: When the Putty.exe logs out, we see a SIGCHLD and a CONNECTION_CLOSED message, but that Mindterm client logs out, we don't see a SIGCHLD and we see a CONNECTION_ABANDONED message. Has anybody experienced this behavior? Please help. Regards, VS. |
| |||
| Bump. Anybody? VS wrote: > Hello All, > > We have some HP-UX 11.11 servers with OpenSSH 4.1 installed. > A program that uses Mindterm (Java SSH libraries) logs into these > servers regularly, and is able to do whatever it is supposed to do. > Problem is that when the program logs out, the user is not logged out of > the server (as shown by "w"). > > When we login using Putty.exe from a Windoze box, it logs out correctly, > and the user is not left hanging. > > We ran SSHD in debug mode and noticed a significant differences in the > messages when these clients logout: > When the Putty.exe logs out, we see a SIGCHLD and a CONNECTION_CLOSED > message, but that Mindterm client logs out, we don't see a SIGCHLD and > we see a CONNECTION_ABANDONED message. > > Has anybody experienced this behavior? > > Please help. > > Regards, > VS. |
| |||
| VS wrote: > Bump. > Anybody? > > VS wrote: > >> Hello All, >> >> We have some HP-UX 11.11 servers with OpenSSH 4.1 installed. >> A program that uses Mindterm (Java SSH libraries) logs into these >> servers regularly, and is able to do whatever it is supposed to do. >> Problem is that when the program logs out, the user is not logged out >> of the server (as shown by "w"). >> >> When we login using Putty.exe from a Windoze box, it logs out >> correctly, and the user is not left hanging. >> >> We ran SSHD in debug mode and noticed a significant differences in the >> messages when these clients logout: >> When the Putty.exe logs out, we see a SIGCHLD and a CONNECTION_CLOSED >> message, but that Mindterm client logs out, we don't see a SIGCHLD and >> we see a CONNECTION_ABANDONED message. >> >> Has anybody experienced this behavior? >> >> Please help. >> >> Regards, >> VS. Are you running in trusted systems mode? There have been issues that we have seen in the past with a different ssh product that does not close the connection correctly and wtmp does not get updated, sounds like the same kind of issue. |
| |||
| Alan D Johnson wrote: > VS wrote: >> Bump. >> Anybody? >> >> VS wrote: >> >>> Hello All, >>> >>> We have some HP-UX 11.11 servers with OpenSSH 4.1 installed. >>> A program that uses Mindterm (Java SSH libraries) logs into these >>> servers regularly, and is able to do whatever it is supposed to do. >>> Problem is that when the program logs out, the user is not logged out >>> of the server (as shown by "w"). >>> >>> When we login using Putty.exe from a Windoze box, it logs out >>> correctly, and the user is not left hanging. >>> >>> We ran SSHD in debug mode and noticed a significant differences in >>> the messages when these clients logout: >>> When the Putty.exe logs out, we see a SIGCHLD and a CONNECTION_CLOSED >>> message, but that Mindterm client logs out, we don't see a SIGCHLD >>> and we see a CONNECTION_ABANDONED message. >>> >>> Has anybody experienced this behavior? >>> >>> Please help. >>> >>> Regards, >>> VS. > Are you running in trusted systems mode? There have been issues that we > have seen in the past with a different ssh product that does not close > the connection correctly and wtmp does not get updated, sounds like the > same kind of issue. Thanks Alan. How can I determine if trusted systems mode is being used? Regards, Vinay. |
| |||
| On Wed, 05 Apr 2006 17:43:31 +0000, VS wrote: > How can I determine if trusted systems mode is being used? There may be a more elegant way to detect it but if there is a /tcb directory structure and all the password fields in /etc/passwd are * then you are trusted. JohnK |
| |||
| "JohnK" <johnk.dev.null@gmail.com> wrote in message news > On Wed, 05 Apr 2006 17:43:31 +0000, VS wrote: >> How can I determine if trusted systems mode is being used? > > There may be a more elegant way to detect it but if there is a /tcb > directory structure and all the password fields in /etc/passwd are * then > you are trusted. The password fields being * is not (in itself) a reliable indicator, as you may have the "ShadowPasswords" package installed without being Trusted. *** Free account sponsored by SecureIX.com *** *** Encrypt your Internet usage with a free VPN account from http://www.SecureIX.com *** |
| ||||
| VS wrote: > Alan D Johnson wrote: > >> VS wrote: >> >>> Bump. >>> Anybody? >>> >>> VS wrote: >>> >>>> Hello All, >>>> >>>> We have some HP-UX 11.11 servers with OpenSSH 4.1 installed. >>>> A program that uses Mindterm (Java SSH libraries) logs into these >>>> servers regularly, and is able to do whatever it is supposed to do. >>>> Problem is that when the program logs out, the user is not logged >>>> out of the server (as shown by "w"). >>>> >>>> When we login using Putty.exe from a Windoze box, it logs out >>>> correctly, and the user is not left hanging. >>>> >>>> We ran SSHD in debug mode and noticed a significant differences in >>>> the messages when these clients logout: >>>> When the Putty.exe logs out, we see a SIGCHLD and a >>>> CONNECTION_CLOSED message, but that Mindterm client logs out, we >>>> don't see a SIGCHLD and we see a CONNECTION_ABANDONED message. >>>> >>>> Has anybody experienced this behavior? >>>> >>>> Please help. >>>> >>>> Regards, >>>> VS. >> >> Are you running in trusted systems mode? There have been issues that >> we have seen in the past with a different ssh product that does not >> close the connection correctly and wtmp does not get updated, sounds >> like the same kind of issue. > > > > Thanks Alan. > How can I determine if trusted systems mode is being used? > > Regards, > Vinay. try /usr/lbin/getprpw root, if you are in trusted systems mode then that will show you info about logins, otherwise it will give you a failure message. |