- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: The "who" command is not reporting who is on t...
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-02-2006 08:49 AM
тАО08-02-2006 08:49 AM
The "who" command is not reporting who is on the system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2006 08:59 AM
тАО08-02-2006 08:59 AM
Re: The "who" command is not reporting who is on the system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2006 09:00 AM
тАО08-02-2006 09:00 AM
Re: The "who" command is not reporting who is on the system
If you login as one user and switch to another ('su newuser') then then only the original user login will be reflected in the 'who' output. You will need to examine '/var/adm/sulog' to see the switch.
If the above doesn't help it would be useful to post the release that you are running.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2006 09:04 AM
тАО08-02-2006 09:04 AM
Re: The "who" command is not reporting who is on the system
You could use the ps -uef | grep sh command, to get an overwiew of who is currently on the system.
HTH,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2006 04:26 PM
тАО08-02-2006 04:26 PM
Re: The "who" command is not reporting who is on the system
did you try to run finger?
For telnet sessions, it should work. Note that if you want to get information on " users who are on the system", you cannot just rely on who and finger. There are many other protocols through which users can connect to the server.
You may also wish to run netstat (displays statistics for network interfaces and protocols, as well as the contents of various network-related data structures.)
hope this helps too!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2006 05:44 PM
тАО08-02-2006 05:44 PM
Re: The "who" command is not reporting who is on the system
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2006 06:39 PM
тАО08-02-2006 06:39 PM
Re: The "who" command is not reporting who is on the system
A system restart will clear this issue.
Any time you clear out the information that who uses e.g. wtmp you are going to have this issue.
I try and schedule my > /var/adm/syslog/wtmp for a time when the system has no users.
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
тАО08-02-2006 11:50 PM
тАО08-02-2006 11:50 PM
Re: The "who" command is not reporting who is on the system
Depending on system activity, I have a little script that uses fwtmp and runs from cron every 90 or so days. And I keep the last 500 lines or so from the ascii file it created. Then convert that back to wtmp.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2006 01:33 AM
тАО08-03-2006 01:33 AM
Re: The "who" command is not reporting who is on the system
Our OS version is B.11.23 and we are using SSH Tectia Server 4.4.2.
Finger does not report the right information for everyone. It's way off, but I'll check it out after the server gets rebooted, hopefully someday soon.
Again, thanks for all the replies. Points are coming.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-04-2006 03:40 AM
тАО08-04-2006 03:40 AM
Re: The "who" command is not reporting who is on the system
If you are a rightfully-so paranoid sysadmin, or have reasonable doubt that there is a security issue, than pull the plug (LAN cable) on the system, reboot in single user mode, and carefully look at the wtmp, utmp, sulog, syslog, maillog, last output, who -b, whodo, and finger output to see who was there and was doing what. If you jave a trusted system with pacct installed, then look at the accounting file and audit trail output as well. Look at your networking and authentication files and compare to backup files to note any and what differences, compare system binaries to MD-5 information, too.
If it is just a general issue, then reboot and look at the general information above without yanking any cables.
Just my opinions.