- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- last command shows all logons as still logged on
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
12-02-2004 07:33 AM
12-02-2004 07:33 AM
last command shows all logons as still logged on
I've got A.03.61.002 HP-UX Secure Shell installed on my box, and telnet disabled. When I run the 'last" command it shows everyone who has logged on as 'still logged in'..
Can anyone tell me how to fix this?
Many thanks
John Henrikson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2004 07:35 AM
12-02-2004 07:35 AM
Re: last command shows all logons as still logged on
Are you sure all ssh users are out?
It could also be a corrupt /var/adm/wtmp database.
> /var/adm/wtmp
That will clear it.
Some security auditors frown on deleting this file without getting a copy.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2004 07:36 AM
12-02-2004 07:36 AM
Re: last command shows all logons as still logged on
Does who -u show the same output?
Are you able to kill the users, whom you feel have logged out?
fuser -ku ttyname will terminate the user session.
This is mainly cause becaused of the corrupted /var/adm/wtmp file.
Regards,
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2004 07:40 AM
12-02-2004 07:40 AM
Re: last command shows all logons as still logged on
John H.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2004 07:44 AM
12-02-2004 07:44 AM
Re: last command shows all logons as still logged on
Looks like a problem with ssh. The fix was done in version 3.7
Take a look at the thread below from itrc,
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000073672029
The itrc doc id is 8606339791.
To download the latest version(A.03.81) of ssh, try software.hp.com
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T1471AA
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2004 07:45 AM
12-02-2004 07:45 AM
Re: last command shows all logons as still logged on
I cleared it out, but really doubt it will solve the problem.
I think it must be ssh related.
JH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2004 07:52 AM
12-02-2004 07:52 AM
Re: last command shows all logons as still logged on
who -a /etc/wtmp | tail
look at the exit values.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2004 08:33 AM
12-02-2004 08:33 AM
Re: last command shows all logons as still logged on
still last, shows all users as still logged in..
thanks. JH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2004 08:34 AM
12-02-2004 08:34 AM