Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

show all remote users

Posted on 2002-07-03
14
Medium Priority
?
1,296 Views
Last Modified: 2013-12-27
hi..how to see
all users connected to my solaris server
locally and remotely.

tq
0
Comment
Question by:maliksl4141
  • 4
  • 3
  • 2
  • +5
14 Comments
 
LVL 38

Expert Comment

by:yuzh
ID: 7128683
at your server type in:
who <enter>
0
 

Author Comment

by:maliksl4141
ID: 7129066
is that show all connected users
thru telnet,x11 etc.
what about users that connected
to my server thru application.

tq
0
 
LVL 38

Expert Comment

by:yuzh
ID: 7129154
Well, you can use the following command to see the connetion between you server and the other machine:

netstat -a | grep `uname -n` | sort

This will give you an idea what machine is connet to your server and what ports are used. Some time is hard to tell who is using the application.

0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 51

Expert Comment

by:ahoffmann
ID: 7129487
w, who, or rwho (if rhod is running) to show login sessions (telnet, rsh, ssh)
netstat -an|grep ESTABLISHED
  for any application
0
 
LVL 1

Expert Comment

by:msnr
ID: 7129517
what about if somebody is accessing my machine through nfs ..?


msnr
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7129534
msnr, NFS:
as long as the connection (means traffic) is established, you see connects to port 2049 (or whatever is configured).
The same problem applies to any connection controlled by the portmapper, you need to use tcp_wrapper to control it.
0
 
LVL 38

Expert Comment

by:yuzh
ID: 7130864
It is very hard to tell who is using NFS.
0
 
LVL 1

Expert Comment

by:msnr
ID: 7131471
can fuser help us in this regard.?

msnr
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7131493
fuser will, if at all, only report local users
0
 
LVL 1

Expert Comment

by:m4rc
ID: 7150371
another good tool for listing network connections to your machine is lsof.

show all (i)nternet network connections
lsof -i

show all ssh(port 22) connections
lsof -i :22

you can get it as a package from http://www.sunfreeware.com/
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7150533
question is about users, not hosts
0
 

Expert Comment

by:ismahwati
ID: 7158578
i think i'll use ahoffman suggestion
for the time being.

netstat -an|grep ESTABLISHED
 
(how to give points here)

0
 
LVL 21

Expert Comment

by:tfewster
ID: 8003348
No comment has been added lately, so it's time to clean up this Topic Area.
I will leave a recommendation for this question in the Cleanup topic area as follows:

- PAQ, no points refunded

Please leave any comments here within the next 7 days

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

tfewster
Cleanup Volunteer
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 8065959
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses
Course of the Month6 days, 17 hours left to enroll

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question