- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Removing old connections from who command
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
Discussions
Discussions
Forums
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
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
тАО08-22-2006 11:49 PM
тАО08-22-2006 11:49 PM
lmcquist pts/tv Jul 13 07:56
msmith pts/tU Jul 10 10:47
jbrooks pts/ta Jul 22 15:27
jbrooks pts/tX Apr 17 11:05
I can't find any processes running from these users to kill. How can I get rid of these connections?
Thanks
Larry
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2006 11:54 PM
тАО08-22-2006 11:54 PM
Solutionfrom an earlier post:
1. convert the binary wtmp file to an ascii file
# /usr/lib/acct/fwtmp < /etc/wtmp > foo
2. edit the ascii file by using vi editor
# vi foo
3. then restore the ascii file into the binary wtmp file
# /usr/lib/acct/fwtmp -ic < foo > /etc/wtmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2006 11:57 PM
тАО08-22-2006 11:57 PM
Re: Removing old connections from who command
Title: How to clear corrupted utmp/utmpx files
Document ID: KBRC00008608
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080000500
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2006 11:58 PM
тАО08-22-2006 11:58 PM
Re: Removing old connections from who command
Take a look at this thread, is going to help you out.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1040447
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2006 12:00 AM
тАО08-23-2006 12:00 AM
Re: Removing old connections from who command
It sounds like /var/adm/wtmp is corrupt. But just in case, to make 'who' list pids associated with ttys:
# who -Hu
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2006 12:17 AM
тАО08-23-2006 12:17 AM
Re: Removing old connections from who command
> /var/adm/wtmp
restart your system.
This will definitely clear things up.
This is not important however. The best thing to do about this is nothing. It is not a security hazard and it does not prevent access.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com