04-28-2006
I am not into AIX.
So options and parameters may differ thereon.
But generally netstat should also on an AIX box
show the local IP addresses used by tcp sockets
(e.g. netstat -an)
Maybe the AIX netstat further offers an option to limit to tcp connections like GNU,
as with -t ?
You could combine this with the who command,
or if you have it on AIX, the lsof command (but I doubt it's available there).
You could also force your users on a certain NIC by using some tcp wrapper
for your network login services (e.g. telnet, rlogin etc.)
On Linux xinetd handles this automatically by conf file entries for those services.
Most commercial Unix vendors will offer a tcp wrapper for their OS free of charge
(e.g. HP-UX does)
If your users connect via SSH you could set the ListenAdress directive in
sshd_config to the IP address (viz. NIC) you want your users to connect to
(by default sshd will listen to all local up NICs)
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
Suppose I have a programme called Menu. This menu has various choices as we would expect from a Menu.
Now Can you Please help me as I want the details of the Users to be registered to some file , Whoever has entered this particular Program . Basically to see the username and the time that... (2 Replies)
Discussion started by: rooh
2 Replies
2. UNIX for Dummies Questions & Answers
hello all
say im logged in to account ar root , but I can't change any thing there ( like username )
if someone is already logged in also . how can I know who is ( user name ) also connected to the user im using ? (2 Replies)
Discussion started by: umen
2 Replies
3. Shell Programming and Scripting
in unix what is the syntax to find out how many users are currently logged in (4 Replies)
Discussion started by: trichyselva
4 Replies
4. UNIX for Advanced & Expert Users
Im "supporting" at least 2500 HP-UX workstations with CAD-related software with the B.11.11 build. I cant say anymore than that because of my companys sligtly paranoid security policy .
The last few days a new problem has arised from nowhere.
The problem is that users gets logged off when the... (5 Replies)
Discussion started by: Laoinjo
5 Replies
5. Post Here to Contact Site Administrators and Moderators
how to find out users who logged out within 5 minutes (1 Reply)
Discussion started by: roshni
1 Replies
6. Shell Programming and Scripting
I have searched the forums but have not mangaed to quite find what im looking for. I have used to /etc/passwd command to present me a list of all users the who command to present all users currently logged on, but what i want to know is what command can i use to display users that are registered... (12 Replies)
Discussion started by: warlock129
12 Replies
7. UNIX for Dummies Questions & Answers
How do I find this out? I have a feeling its a simple command such as who, but I just don't know what it is. I've had a search on here but either I can't put it into the right search criteria or there isn't a topic on it.
Thanks.
EDIT: Delete this thread, as I posted it I noticed the... (0 Replies)
Discussion started by: chris_rabz
0 Replies
8. Red Hat
I have 2 systems. (1) RHEL5 and (2) winXP pro
from xpPRO putty i ssh into rhel5 : user root
from xpPRO i ftp into rhel5 : user abc123
when i run #uptime it only shows 1 user
when i do #ps -u abc123 : it shows vsftpd deamon PID
is there a command that can be used to show all currently... (4 Replies)
Discussion started by: dplinux
4 Replies
9. Shell Programming and Scripting
Hi,
How to find the users who did not login into a UNIX box (thru ssh/ftp or any other way) for last 90 days?
I think of using "finger" or "last" command to findout each user's last login and then find number of days between today and that day. Is there any other better way or anyone prepared... (1 Reply)
Discussion started by: reddyr
1 Replies
10. UNIX for Dummies Questions & Answers
So I'm trying to write a single line command So I have to use last first in this command and I've figured out the format my professor wants it in, something like thislast | cut -d' ' -f1,15 | sort > check | uniq -c.... and I never can get it right, when I just last command I get something... (2 Replies)
Discussion started by: DoubleAlpha
2 Replies
LEARN ABOUT OSF1
services
services(4) Kernel Interfaces Manual services(4)
NAME
services - Defines the sockets and protocols used for Internet services
SYNOPSIS
/etc/services
DESCRIPTION
The /etc/services file associates Internet service names and aliases with the port number and protocol used by the service. Each service
is listed in this file on a single line of the form: ServiceName PortNumber/ProtocolName Aliases
The fields contain the following information: The official Internet service name. The socket port number used for the service and the
transport protocol used for the service. A list of unofficial service names.
Items on a line are separated by spaces or tabs. Comments begin with a # (number sign) and continue to the end of the line.
EXAMPLES
Entries in the /etc/services file for the inetd internal services might look like this: echo 7/tcp echo 7/udp discard
9/tcp sink null discard 9/udp sink null daytime 13/tcp daytime 13/udp chargen 19/tcp ttytst source
chargen 19/tcp ttytst source ftp 21/tcp time 37/tcp timeserver time 37/udp timeserver
RELATED INFORMATION
Functions: endservent(3), getservbyname(3), getservbyport(3), getservent(3), setservent(3)
The RFC923 specification. delim off
services(4)