- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Refreshing who list
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
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
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-02-2002 01:54 AM
тАО10-02-2002 01:54 AM
Refreshing who list
Now some lovely users instead of exiting gracefully use the Windows X button, which leaves ophaned sessions. Now I run a job to remove these sessions overnight but seem to be left with entries in the list produced by who command. There are no process connect to the user id or the terminal used.
So my question is how do you update the who list and get rid of these bogus entries please.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2002 02:05 AM
тАО10-02-2002 02:05 AM
Re: Refreshing who list
with fwtmp(1M) you can convert the "who file" (/etc/utmp) to ascii, remove the obsolete users and convert back to binary ie:
/usr/bin/acct/fwtmp /tmp/utmp.asc
vi /tmp/utmp.asc
/usr/bin/acct/fwtmp -ic /etc/utmp
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2002 02:06 AM
тАО10-02-2002 02:06 AM
Re: Refreshing who list
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2002 03:01 AM
тАО10-02-2002 03:01 AM
Re: Refreshing who list
I have already renewed the wtmp and utmp files in an effort to get rid of the entries but to no avail.
Pete,
Yeah I know they're not causing any problems but being ever so slightly anal retentive I'd like it to be cleared.
But many thanks for you replies so far guys.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2002 03:28 AM
тАО10-02-2002 03:28 AM
Re: Refreshing who list
written warning
Second:
remove their mouse from their PC.
Third:
remove their login account!
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2002 03:38 AM
тАО10-02-2002 03:38 AM
Re: Refreshing who list
Call me Mister Softy but I just can't bring myself to get nasty with users. Sides which keeping them productive pays me my monthly wage.
Andy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-03-2002 05:26 AM
тАО10-03-2002 05:26 AM
Re: Refreshing who list
I think we all need to remember that we're not gatekeepers, we're stewards and enablers. We get paid fairly nicely for helping other people accomplish the real work of the organization. Generally it's not appropriate to get nasty with a customer unless he's proactively misbehaving.