From inside the box you could look at /etc/inetd.conf, but i'm not sure if you can read it without root privileges.
Most services are controlled in AIX via the System Resource Controller (SRC), try the command "lssrc -a". Again, i'm not sure if you can do that without being root.
From outside the box you could use telnet as a makeshift port sniffer:
This is my usual test if a network printer is online or not: telnet to port 515 and if the banner of some lpd comes up it works.
Hi,
We have a text file which has the following data.
ISA~00~ ~00~ ~ZZ~VISTN ~ZZ~U1CAD ~051227~183
7~U~00200~000011258~0~P~<
GS~FA~EE05J~U1CAD~051227~1831~000011258~X~002002
ST~997~0001
AK1~SH~247
AK2~856~2470001
AK5~A
AK2~856~2470002
AK5~A... (3 Replies)
Does anyone know if there is a C API call to get the status of a TCP port? As opposed to running netstat and parsing the results. At the moment I have to attempt to bind() and pick up on the address in use error which isn't very elegant
Thanks
---------- Post updated at 10:42 AM ----------... (0 Replies)
I had a doubt if any services need to be restarted if port no in /etc/services in an RHEL setup is changed. For eg, the port no of 443 for SSL may need to be changed.
I hope my query is clear whether any services need to be restarted if port no in /etc/services is changed.
Please revert with... (10 Replies)
Hi,
How can I list running services, corresponding package name and status on the AIX host?
On Linux (Centos), I use the below code snippet:-
for i in `chkconfig --list | awk '{ print $1}'`; do
status=`/sbin/service $i status`
packagename=`rpm -qf /etc/init.d/$i`
done
Is there... (2 Replies)
Hi,
I am trying to list down list of running services, corresponding package name and status on HP-UX box. The output will be a CSV in a fashion:- Service Name, Package Name, Status.
While working on Linux centos, I used chkconfig to do the same. Below was the snippet:-
for i in `chkconfig... (3 Replies)
Hi,
We have a ldap server configured with services (port) and want to know how to fetch that to the ldap clients:
# cat /etc/nsswitch.conf|grep -i services
services: files sss (neither sss nor ldap works)
by doing "#getent services" I am getting only the result from /etc/services but I... (1 Reply)
My system suddenly crash and when it rebooted there was an error:
/dev/rdsk/c1t0d0s3 is logging
svc.startd: svc:/network/nis/client:default: Method "/method/yp" failed with status 96.
The system completes booting however when I log in a user account / directory is not longer... (1 Reply)
Discussion started by: NeedSolarisHelp
1 Replies
LEARN ABOUT DEBIAN
rxtelnet
RXTELNET(1) BSD General Commands Manual RXTELNET(1)NAME
rxtelnet -- start a telnet and forward X-connections.
SYNOPSIS
rxtelnet [-l username] [-k] [-t telnet_args] [-x xterm_args] [-K kx_args] [-w term_emulator] [-b telnet_program] [-n] [-v] host [port]
DESCRIPTION
The rxtelnet program starts an xterm window with a telnet to host host. From this window you will also be able to run X clients that will be
able to connect securely to your X server. If port is given, that port will be used instead of the default.
If setting up the X forwarding failes, rxtelnet will still telnet in to the remote host, but without X forwarding.
The supported options are:
-l Log in on the remote host as user username.
-k Disables keep-alives.
-t Send telnet_args as arguments to telnet.
-x Send xterm_args as arguments to xterm.
-X Send kx_args as arguments to kx.
-w Use term_emulator instead of xterm.
-b Use telnet_program instead of telnet.
-n Do not start any terminal emulator.
-v Be verbose.
EXAMPLE
To login from host foo (where your display is) to host bar, you might do the following.
1. On foo: rxtelnet bar
2. You will get a new window with a telnet to bar. In this window you will be able to start X clients.
SEE ALSO kx(1), rxterm(1), telnet(1), tenletxr(1), kxd(8)KTH_KRB March 7, 2004 KTH_KRB