AIX 7.1 defaults
Some info from a default AIX v7.1 TL 0 installation
Selected edition: Enterprise
Default banner
AIX Version 7
Copyright IBM Corporation, 1982, 2010.
Console login: root
root's Password:
*******************************************************************************
* *
* *
* Welcome to AIX Version 7.1! *
* *
* *
* Please see the README file in /usr/lpp/bos for information pertinent to *
* this release of the AIX Operating System. *
* *
* *
*******************************************************************************
Last unsuccessful login: Wed Oct 13 07:37:04 CDT 2010 on /dev/vty0
Last login: Tue Dec 28 09:09:07 CST 2010 on /dev/vty0
OS/Fix level
root@localhost /root # oslevel
7.1.0.0
root@localhost /root # oslevel -r
7100-00
root@localhost /root # oslevel -s
7100-00-00-0000
root@localhost /root # instfix -i
All filesets for 7.1.0.0_AIX_ML were found.
All filesets for 7100-00_AIX_ML were found.
Process tree
pconsole is the IBM Director Console, and you can see the LWI Nonstop agent down there.
root@localhost /root # ps -T 1 -o pid,user,comm
PID USER COMMAND
1 root init
1638536 root |\--shlap64
1835194 root |\--syncd
1900650 root ldmp_process
2228318 root aioPpool
2293838 root aioLpool
2359468 root |\--errdemon
2687060 root kbiod
3014906 root |\--srcmstr
1966096 root | |\--portmap
2425008 root | |\--rpc.lockd
2883744 root | |\--cimssys
3408100 root | |\--cimssys
3735708 root | |\--snmpdv3ne
3801226 root | |\--syslogd
3997708 root | |\--biod
4194446 root | |\--snmpmibd
4325512 root | |\--sendmail
4456626 root | |\--ksh
5439500 pconsole | | \--ksh
5570758 pconsole | | \--java
4522126 root | |\--hostmibd
4587774 root | |\--aixmibd
4653106 root | |\--inetd
5046492 root | |\--sshd
5177566 root | |\--qdaemon
5243002 root | |\--writesrv
5308624 root | |\--rmcd
5374144 root | |\--IBM.ServiceRMd
5505198 root | |\--clcomd
5701806 root | |\--IBM.DRMd
5963910 root | \--IBM.MgmtDomainRMd
3080390 root |\--tier1slp
3145926 root |\--nonstop_aix
3539154 root | \--java
3276950 root random
3473540 root |\--uprintfd
3866798 root |\--dirsnmpd
3932350 root rpc.lockd
4063242 root |\--cron
4128920 root |\--CIM_diagd
4390916 root |\--cimlistener
4849908 root |\--cimserver
5111976 root |\--topasrec
6226166 root pofCmdProc
6357194 root |\--ksh
6684734 root | \--ps
7274718 root cdpg
Running Internet services and SRC daemons
Notice the new platform_agent, the clcomd (Cluster Communications Daemon) running in the new caa (Cluster Aware AIX) group, and sshd installed and active by default!
root@localhost /root # lssrc -a | grep active
platform_agent 3408100 active
cimsys 2883744 active
snmpd tcpip 3735708 active
syslogd ras 3801226 active
sendmail mail 4325512 active
portmap portmap 1966096 active
inetd tcpip 4653106 active
hostmibd tcpip 4522126 active
snmpmibd tcpip 4194446 active
aixmibd tcpip 4587774 active
biod nfs 3997708 active
rpc.lockd nfs 2425008 active
clcomd caa 5505198 active
qdaemon spooler 5177566 active
writesrv spooler 5243002 active
pconsole pconsole 4456626 active
ctrmc rsct 5308624 active
IBM.DRM rsct_rm 5701806 active
IBM.ServiceRM rsct_rm 5374144 active
sshd ssh 5046492 active
As you can see, old school daemons like rlogin or telnet are still running from inetd.
root@localhost /root # netstat -anf inet | grep LISTEN
tcp4 0 0 *.13 *.* LISTEN
tcp 0 0 *.21 *.* LISTEN
tcp4 0 0 *.22 *.* LISTEN
tcp 0 0 *.23 *.* LISTEN
tcp4 0 0 *.25 *.* LISTEN
tcp4 0 0 *.37 *.* LISTEN
tcp4 0 0 *.111 *.* LISTEN
tcp 0 0 *.199 *.* LISTEN
tcp 0 0 *.49328 *.* LISTEN
tcp 0 0 *.512 *.* LISTEN
tcp 0 0 *.513 *.* LISTEN
tcp 0 0 *.514 *.* LISTEN
tcp 0 0 *.657 *.* LISTEN
tcp4 0 0 *.1334 *.* LISTEN
tcp 0 0 *.5335 *.* LISTEN
tcp 0 0 *.5336 *.* LISTEN
tcp 0 0 *.5988 *.* LISTEN
tcp 0 0 *.5989 *.* LISTEN
tcp 0 0 *.6181 *.* LISTEN
tcp 0 0 *.6987 *.* LISTEN
tcp 0 0 *.6988 *.* LISTEN
tcp 0 0 *.9510 *.* LISTEN
tcp 0 0 *.35470 *.* LISTEN
tcp 0 0 *.61547 *.* LISTEN
tcp4 0 0 127.0.0.1.9514 *.* LISTEN
tcp4 0 0 127.0.0.1.9515 *.* LISTEN
tcp 0 0 *.14248 *.* LISTEN
tcp 0 0 *.16191 *.* LISTEN
tcp 0 0 *.44493 *.* LISTEN
tcp4 0 0 *.46304 *.* LISTEN
inetd config can be dumped with this command:
root@localhost /root # lssrc -ls inetd
Subsystem Group PID Status
inetd tcpip 4653106 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
xmquery /usr/bin/xmtopas xmtopas -p3 active
caa_cfg /usr/sbin/clusterconf clusterconf 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
login /usr/sbin/rlogind rlogind active
shell /usr/sbin/rshd rshd active
telnet /usr/sbin/telnetd telnetd -a active
ftp /usr/sbin/ftpd ftpd active
Inittab
New entries are: platform_agent, clusterconf, artex and clcomd.
root@localhost /root # lsitab -a
init:2:initdefault:
brc::sysinit:/sbin/rc.boot 3 >/dev/console 2>&1 # Phase 3 of system boot
powerfail::powerfail:/etc/rc.powerfail 2>&1 | alog -tboot > /dev/console # Power Failure Detection
mkatmpvc:2:once:/usr/sbin/mkatmpvc >/dev/console 2>&1
atmsvcd:2:once:/usr/sbin/atmsvcd >/dev/console 2>&1
tunables:23456789:wait:/usr/sbin/tunrestore -R > /dev/console 2>&1 # Set tunables
securityboot:2:bootwait:/etc/rc.security.boot > /dev/console 2>&1
rc:23456789:wait:/etc/rc 2>&1 | alog -tboot > /dev/console # Multi-User checks
fbcheck:23456789:wait:/usr/sbin/fbcheck 2>&1 | alog -tboot > /dev/console # run /etc/firstboot
srcmstr:23456789:respawn:/usr/sbin/srcmstr # System Resource Controller
platform_agent:2:once:/usr/bin/startsrc -s platform_agent >/dev/null 2>&1
rctcpip:23456789:wait:/etc/rc.tcpip > /dev/console 2>&1 # Start TCP/IP daemons
rcnfs:23456789:wait:/etc/rc.nfs > /dev/console 2>&1 # Start NFS Daemons
cron:23456789:respawn:/usr/sbin/cron
clusterconf:23456789:once:/usr/sbin/clusterconf
piobe:2:wait:/usr/lib/lpd/pioinit_cp >/dev/null 2>&1 # pb cleanup
cons:0123456789:respawn:/usr/sbin/getty /dev/console
qdaemon:23456789:wait:/usr/bin/startsrc -sqdaemon
writesrv:23456789:wait:/usr/bin/startsrc -swritesrv
uprintfd:23456789:respawn:/usr/sbin/uprintfd
shdaemon:2:off:/usr/sbin/shdaemon >/dev/console 2>&1 # High availability daemon
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6
l7:7:wait:/etc/rc.d/rc 7
l8:8:wait:/etc/rc.d/rc 8
l9:9:wait:/etc/rc.d/rc 9
naudio2::boot:/usr/sbin/naudio2 > /dev/null
naudio::boot:/usr/sbin/naudio > /dev/null
rcml:2:once:/usr/ml/aix71/rc.ml > /dev/console 2>&1
rcwpars:2:once:/etc/rc.wpars > /dev/console 2>&1 # Corrals autostart
logsymp:2:once:/usr/lib/ras/logsymptom # for system dumps
perfstat:2:once:/usr/lib/perf/libperfstat_updt_dictionary >/dev/console 2>&1
diagd:2:once:/usr/lpp/diagnostics/bin/diagd >/dev/console 2>&1
artex:2:wait:/usr/sbin/artexset -c -R /etc/security/artex/config/master_profile.xml > /dev/console 2>&1
cimservices:2:once:/usr/bin/startsrc -s cimsys >/dev/null 2>&1
clcomd:23456789:once:/usr/bin/startsrc -s clcomd
pconsole:2:once:/usr/bin/startsrc -s pconsole > /dev/null 2>&1
xmdaily:2:once:/usr/bin/topasrec -L -s 300 -R 1 -r 6 -o /var/perf/daily/ -ypersistent=1 2>&1 >/dev/null #Start local binary recording
ctrmc:2:once:/usr/bin/startsrc -s ctrmc > /dev/console 2>&1
ha_star:h2:once:/etc/rc.ha_star >/dev/console 2>&1
Filesystems
root@localhost /root # lsfs -a
Name Nodename Mount Pt VFS Size Options Auto Accounting
/dev/hd4 -- / jfs2 524288 -- yes no
/dev/hd1 -- /home jfs2 262144 -- yes no
/dev/hd2 -- /usr jfs2 3932160 -- yes no
/dev/hd9var -- /var jfs2 786432 -- yes no
/dev/hd3 -- /tmp jfs2 262144 -- yes no
/dev/hd11admin -- /admin jfs2 262144 -- yes no
/proc -- /proc procfs -- -- yes no
/dev/hd10opt -- /opt jfs2 1048576 -- yes no
/dev/livedump -- /var/adm/ras/livedump jfs2 524288 -- yes no