- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- no users are showing as logged out with SSH
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2005 04:03 AM
10-18-2005 04:03 AM
The output of last looks like this:
user1 pts/ta Tue Oct 18 11:58 - 11:58(00:00)
root pts/3 Tue Oct 18 11:07 - 11:14(00:06)
user1 pts/2 Tue Oct 18 11:01 still logged in
root pts/2 Tue Oct 18 11:01 - 11:01(00:00)
user1 pts/2 Fri Oct 14 15:17 still logged in
user1 pts/1 Fri Oct 14 12:00 still logged in
user1 pts/1 Fri Oct 14 11:52 still logged in
So what do I need to do in order for the logout times to show up with last?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2005 04:31 AM
10-18-2005 04:31 AM
Re: no users are showing as logged out with SSH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2005 06:57 AM
10-18-2005 06:57 AM
Re: no users are showing as logged out with SSH
If so, are they exiting the term window by using the X in the top right corner? Or are they actually doing the 'exit' to logout of the term window?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2005 07:20 AM
10-18-2005 07:20 AM
Re: no users are showing as logged out with SSH
I think you need to let the users(windows user) to do an exit and x the window instead of just closing the window.
We had this issue and we set a timeout value and if the session is idle for sometime then the session terminates.
Rgds
HGN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2005 07:43 AM
10-18-2005 07:43 AM
Re: no users are showing as logged out with SSH
I increased the log level for sshd to debug, and syslog is properly showing when users login, and SSHD will even record when the user logs out:
Oct 18 15:27:59 tlhxov1 sshd[6482]: Connection from 10.207.96.194 port 1421
Oct 18 15:27:59 tlhxov1 sshd[6482]: Failed none for user1 from 10.207.96.194 port 1421 ssh2
Oct 18 15:28:04 tlhxov1 sshd[6482]: Accepted password for user1 from 10.207.96.194 port 1421 ssh2
Oct 18 15:28:28 tlhxov1 sshd[6485]: Connection closed by 10.207.96.194
We're using LDAP for user authentication, rather than local accounts. Root is a local account, and root is properly being shown as logging out. However, when I create a local user, and use SSH to connect, that account also does not show as logging out with last.
It's as if only root as the necessary permissions to record a logout.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2005 01:51 PM
10-18-2005 01:51 PM
Re: no users are showing as logged out with SSH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2005 02:59 PM
10-18-2005 02:59 PM
Solutionas ermin has suggested, the version of your SSH is important.
if u r using Secure Shell 3.61.002 or 3.71.001, there are some problem with the logging as well as others.
refer to this for the latest Secure Shell version:
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T1471AA
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2005 03:33 PM
10-18-2005 03:33 PM
Re: no users are showing as logged out with SSH
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 01:17 AM
10-19-2005 01:17 AM
Re: no users are showing as logged out with SSH
This is my first HP-UX system. This forum works a lot better than the SUN forums I work with. Again, thanks a lot!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 01:19 AM
10-19-2005 01:19 AM
Re: no users are showing as logged out with SSH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 01:19 AM
10-19-2005 01:19 AM
Re: no users are showing as logged out with SSH
Also, you can assign more points ;-)
-Arun