Re: List all enabled services
From: Mark Ray (raym_at_US.IBM.COM)
Date: 04/25/05
- Previous message: Lamar Saxon: "Re: Top equivalent of aix"
- In reply to: Lamar Saxon: "Re: List all enabled services"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 25 Apr 2005 11:36:18 -0400 To: aix-l@Princeton.EDU
Try "lssrc -a"
Mark
Lamar Saxon
<Lamar.Saxon@AMER
ICREDIT.COM> To
Sent by: IBM AIX aix-l@Princeton.EDU
Discussion List cc
<aix-l@Princeton.
EDU> Subject
Re: List all enabled services
04/25/2005 11:09
AM
Please respond to
IBM AIX
Discussion List
Yeah, but unfortunately that is only inetd spawned processes not all
daemons or "services". Other process can be spawned via src / inittab /
startup scripts that are not controlled by inetd.
Lamar
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
Justin Bleistein
Sent: Monday, April 25, 2005 8:36 AM
To: aix-l@Princeton.EDU
Subject: Re: List all enabled services
Another way to do it, is with the: "lssrc -ls inetd" command:
# lssrc -ls inetd
Subsystem Group PID Status
inetd tcpip 9392 active
Debug Not active
Signal Purpose
SIGALRM Establishes socket connections for failed services.
SIGHUP Rereads the configuration database and reconfigures services.
SIGCHLD Restarts the service in case the service ends abnormally.
Service Command Description Status
wsmserver /usr/websm/bin/wsmserver wsmserver -start active
ttdbserver /usr/dt/bin/rpc.ttdbserver rpc.ttdbserver 100083 1 active
cmsd /usr/dt/bin/rpc.cmsd cmsd 100068 2-5 active
dtspc /usr/dt/bin/dtspcd /usr/dt/bin/dtspcd active
time internal active
daytime internal active
time internal active
daytime internal active
ntalk /usr/sbin/talkd talkd active
exec /usr/sbin/rexecd rexecd active
klogin /usr/sbin/krlogind krlogind active
login /usr/sbin/rlogind rlogind active
kshell /usr/sbin/krshd krshd active
shell /usr/sbin/rshd rshd active
telnet /usr/sbin/telnetd telnetd -a active
ftp /usr/sbin/ftpd ftpd active
#
--Justin Richard Bleistein
AIX Systems Administrator
Lamar Saxon <Lamar.Saxon@AMERICREDIT.COM> To
Sent by: IBM AIX Discussion List aix-l@Princeton.E
<aix-l@Princeton.EDU> DU
cc
04/25/2005 09:22 AM Subject
Re: List all
enabled services
Please respond to
IBM AIX Discussion List
<aix-l@Princeton.EDU>
lsof -i | grep LISTEN
or
netstat -a | grep LISTEN
will actually show you all processes listening on a socket/port.
/etc/inetd.conf does not show all enabled daemons/services; just those
spawned by inetd ( the super daemon ).
lsof does not come standard with AIX; but you can get a copy from UCLA
precompiled or download and compile it.
Lamar
-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
Prasad Pillarisetti
Sent: Monday, April 25, 2005 8:05 AM
To: aix-l@Princeton.EDU
Subject: List all enabled services
I am in the process of writing a shell script that would List all the
Enabled services on AIX servers.
Right now, I am checking /etc/inetd.conf, and listing all the services
that are listed here.
Is this the right way to do?
Or is there a command that would give me a list of all enabled services?
( I want a list of all enabled services and not the running services).
Thanks in advance.
Prasad
-----Original Message-----
From: Hans-Dieter Kutz [mailto:hdkutz@HDKUTZ.DE]
Sent: Tuesday, April 19, 2005 12:41 PM
To: aix-l@Princeton.EDU
Subject: Re: kerberos - lost root.admin pwd
Hello Holger,
try these two possibilities.
AFAIK this is for PSSP 3.4 !
<snip>
##########################
# lost root.admin password
##########################
kdb_edit -n
Principal name: root
instance: admin
Change Password [no]? y
New Password:
Verify New Password:
ctrl+d
################
# lost masterkey
################
Only recoverable setting up kerberos new!
On CWS as root:
kdb_destroy
rm /var/kerberos/database/*
rm /etc/krb*
rm /.k
rm /.klogin
kdestroy
stopsrc -s hardmon kerberos kadmind
setup_authent
<snip>
HTH,
ku
On Mon, Apr 18, 2005 at 06:53:37PM +0200, Holger.VanKoll@SWISSCOM.COM
wrote:
>
> Hello,
>
> I am as root on a cws. However, the root.admin tgt expired and I
dont
> know the kerberos-pwd for it.
>
> How can I change this pwd without knowing it or how can I get a
new
> tgt-ticket?
>
> Thanks + regards,
>
> Holger
--
Darth Vader:
I sense something. A presence I've not felt since...
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.17 - Release Date: 4/19/2005
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.10.2 - Release Date: 4/21/2005
Privileged and Confidential. This e-mail, and any attachments there to, is
intended only for use by the addressee(s) named herein and may contain
privileged or confidential information. If you have received this e-mail
in error, please notify me immediately by a return e-mail and delete this
e-mail. You are hereby notified that any dissemination, distribution or
copying of this e-mail and/or any attachments thereto, is strictly
prohibited.
NOTICE: This communication may contain confidential, proprietary or
legally privileged information. It is intended only for the person(s) to
whom it is addressed. If you are not an intended recipient, you may not
use, read, retransmit, disseminate or take any action in reliance upon it.
Please notify the sender that you have received it in error and immediately
delete the entire communication, including any attachments. Towers Perrin
does not encrypt and cannot ensure the confidentiality or integrity of
external e-mail communications and, therefore, cannot be responsible for
any unauthorized access, disclosure, use or tampering that may occur during
transmission. This communication is not intended to create or modify any
obligation, contract or warranty of Towers Perrin, unless the firm clearly
expresses such an intent.
- Previous message: Lamar Saxon: "Re: Top equivalent of aix"
- In reply to: Lamar Saxon: "Re: List all enabled services"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|