- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Output from "who"
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
06-10-2003 06:36 AM
06-10-2003 06:36 AM
zamana2 pts/tj Jun 10 10:24
. ttypa Jun 5 09:29
chakraa pts/tk Jun 10 14:29
duttas pts/tl Jun 10 11:00
. ttypb Jun 10 07:59
shirgs99 pts/tm Jun 10 11:03
lowen pts/2 Jun 4 15:04
. ttypc Jun 10 09:34
. ttypd Jun 10 08:22
. ttype Jun 10 09:40
. ttypf Jun 10 09:41
. ttyq0 Jun 10 09:46
This doesn't seem to occur on Solaris and some of our HP-UX users are complaining that they get a "." as the username when they run "who am i".
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2003 06:43 AM
06-10-2003 06:43 AM
Re: Output from "who"
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2003 06:44 AM
06-10-2003 06:44 AM
Re: Output from "who"
seen activity in the last minute and is therefore
``current''. If more than twenty-four hours have
elapsed or the line has not been used since boot
time, the entry is marked old.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2003 06:45 AM
06-10-2003 06:45 AM
Re: Output from "who"
Does the same output ocurr when you run as root ? perhaps this only happens as a non-root user which may not be able to read /etc/passwd, /etc/utmp or /var/adm/wtmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2003 06:46 AM
06-10-2003 06:46 AM
Re: Output from "who"
PHSS_17421 s700_800 11.00 XClients which resolves SR 5003408989 "If you do a who -R in the session windows, the uid does not get resolved to the user name. Instead you merely get a . for the uid."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2003 06:48 AM
06-10-2003 06:48 AM
Re: Output from "who"
So, are we saying that if the session has been used within the last minute that a dot will always replace the username? That doesn't sound right - surely would render "who am i" almost useless?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2003 06:54 AM
06-10-2003 06:54 AM
Re: Output from "who"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2003 06:58 AM
06-10-2003 06:58 AM
Re: Output from "who"
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2003 07:02 AM
06-10-2003 07:02 AM
Re: Output from "who"
"." in this case means the user entered data less than a minute ago.
It looks like the output lines are line wrapped.
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2003 07:10 AM
06-10-2003 07:10 AM
Re: Output from "who"
PHSS_17421 seems to be a 11.00 patch. We are using 11.11. Is this supposed to be fixed in 11.11 or is there an equivalent patch?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2003 07:14 AM
06-10-2003 07:14 AM
Re: Output from "who"
http://www5.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_28681&context=hpux:800:11:11
It does occur on Solaris too just reported the bug on monday.
Hope it helps,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2003 06:36 AM
06-11-2003 06:36 AM
Re: Output from "who"
However, it is definitely X-related as it doesn't happen for users that use telnet, etc. without an X window.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2003 06:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 01:43 AM
06-12-2003 01:43 AM
Re: Output from "who"
xterm will always produce a "." in the who am i output.
hpterm will always have "????" instead.
dtterm results in the username being displayed correctly.
So, we will have to look at using dtterm for now until we can find a fix.
I did try using /usr/contrib/bin/X11/xterm, but this produces the error "xterm: Error 24, errno 22: Invalid argument" if you use it with the -display flag, even though as far as I can see this should be a valid flag.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 01:52 AM
06-12-2003 01:52 AM
Re: Output from "who"
ftp://dickey.his.com/xterm/xterm-179.tgz
configure --prefix=/pro --with-x --with-Xaw3d --disable-imake --enable-256-color --enable-wide-chars --disable-input-method --disable-tek4014 --disable-vt52 --disable-session-mgt
Xaw3d available on http://hpux.connect.org.uk/hppd/hpux/X11/Toolkits/Xaw3d-1.5/
Full Unicode support!
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 02:12 AM
06-12-2003 02:12 AM
Re: Output from "who"
In this case hpterm or xterm allocate the device file and they use
the non-streams based device files like /dev/ttyp1.
'who am i' and similar commands obtain their information from utmp.
The entries in utmp are already corrupt (they have '????' or '.'
instead of the user name). This problem happens if hpterm or xterm
are invoked on an HP-UX 11.XX system configured as an NIS slave server
or client AND the file /etc/nsswitch.conf is used to lookup users in
NIS.
If you check your 11.XX system, you will see the following line in
nsswitch.conf:
passwd: files nis
In your /etc/passwd file there is no '+' sign. This absence means
that only nsswitch.conf is used for resolving your users in the NIS
database.
Both hpterm and xterm are older terminal emulators. They were not
adapted to only use nsswitch.conf to resolve user names and IDs.
I'm not certain they maybe fixed ... see hptermdiscontinuance in Rel Notes but the xterm should have worked see previous post ...
what was the syntax you gave it wrt -display
Does the addition to the /etc/passwd not work either ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 03:38 AM
06-12-2003 03:38 AM
Re: Output from "who"
Check your YP configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 03:49 AM
06-12-2003 03:49 AM
Re: Output from "who"
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc2d7d08cc06fd511abcd0090277a7>8c,00.htm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 04:01 AM
06-12-2003 04:01 AM
Re: Output from "who"
The above link was wrong ... (never cut and paste more than 80 chars in a xterm just supporting 80 chars :) )
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc2d7d08cc06fd511abcd0090277a778c,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 04:17 AM
06-12-2003 04:17 AM
Re: Output from "who"
The users are happy using dtterm for now, so I think I'll put this one on the back burner.