Operating System - HP-UX
1819732 Members
3098 Online
109606 Solutions
New Discussion

Unix command "who" not working.

 
Kathleene Hunter
New Member

Unix command "who" not working.

Running HP 11.31 on a HP3600.

Logged in as root get

# which who
/usr/bin/who
# who
awrpt pts/ta Nov 17 11:05
awrpt pts/tb Nov 17 11:05
root pts/tc Nov 27 22:04
# who -mR
root pts/tc Nov 27 22:04 (1IMAGE)
#


Logged in as user get

$ which who
/usr/bin/who
$ who
awrpt pts/ta Nov 17 11:05
awrpt pts/tb Nov 17 11:05
dw pts/tc Nov 27 22:02
$ who -mR
$
1 REPLY 1
Suraj K Sankari
Honored Contributor

Re: Unix command "who" not working.

Hi,
see the below example

root # whereis who
who -who: /sbin/who /usr/bin/who /usr/share/man/man1.Z/who.1

root # who -u
console console Nov 12 18:09 0:04 1760 system console
m64260 pts/0 Nov 29 08:55 0:04 3383 135.188.3.127

or

root # /usr/bin/who -u
console console Nov 12 18:09 . 1760 system console
m64260 pts/0 Nov 29 08:55 0:04 3383 135.188.3.127


Suraj