- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: see . instead of user name when run "who" comm...
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
тАО12-01-2010 12:31 PM
тАО12-01-2010 12:31 PM
see . instead of user name when run "who" command
For a certain user, I see . instead of name of the user (See below). What could be the problem ?
# who
. ttyp1 Nov 22 11:15
. ttyp2 Nov 29 13:22
???? ttyp3 Dec 1 14:25
prathim pts/tb Jul 27 12:02
clyde18 pts/tc Dec 1 13:43
root pts/4 Dec 1 14:21
# ps -ef|grep ttyp2
root 28343 25620 0 14:28:40 pts/4 0:00 grep ttyp2
# ps -ef|grep ttyp1
root 28393 25620 0 14:28:54 pts/4 0:00 grep ttyp1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2010 12:39 PM
тАО12-01-2010 12:39 PM
Re: see . instead of user name when run "who" command
My guess is that your 'utmp' file is corrupted. This file is used by 'who' and 'finger' to hold user and accounting information. Upon reboot this anomaly should disappear.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2010 01:14 PM
тАО12-01-2010 01:14 PM
Re: see . instead of user name when run "who" command
Was trying to avoid a reboot but auditors are asking me who is this dot.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2010 01:36 PM
тАО12-01-2010 01:36 PM
Re: see . instead of user name when run "who" command
The who output won't be corrected until the user(s), whomever they may be, log out and back in.
To see who the user is you could look through the 'ps' list and see who shows up for ttyp1, ttyp2 and ttyp3.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2010 01:39 PM
тАО12-01-2010 01:39 PM
Re: see . instead of user name when run "who" command
I know who the user is. And they logged in after I >utmpx and >utmp file. They still see a dot.
Do you need to recycle anyting after whacking the utmp file.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2010 01:50 PM
тАО12-01-2010 01:50 PM
Re: see . instead of user name when run "who" command
You could try stopping and restarting 'ptydaemon' and see if that helps. The init process is a different story.
If stopping / starting ptydaemon doesn't help, a reboot may be your only other option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2010 08:00 AM
тАО12-22-2010 08:00 AM
Re: see . instead of user name when run "who" command
And . disappears, when he logs out
Have done.
1) I have rebooted the system but problem remains.
2) wiped the utmp file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2010 10:42 AM
тАО12-22-2010 10:42 AM
Re: see . instead of user name when run "who" command
Have you looked at passwd(4) to see if there are two names for the same UID?
While logged on, who is the owner for that tty?
>1) I have rebooted the system but problem remains.
This should have cleaned up any problem with utmp(4).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2010 10:53 AM
тАО12-22-2010 10:53 AM
Re: see . instead of user name when run "who" command
I rebooted just to fix thsi problem but it did not.
When user telnets, the owner of tty is . ( a dot). When he logs out, the . disappears.
I am seeing this using "who" command.
This system is part of ldap so there are no local users in /etc/passwd.
All other users are fine.
hpux 11.11 trusted system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2010 11:19 AM
тАО12-22-2010 11:19 AM
Re: see . instead of user name when run "who" command
I was asking you to use the ll(1) command on the device, not who(1).
If both agree the name is ".", then it's likely a LDAP problem.