Blog

Dec
30

Solving RPM Dependencies

To list package dependencies, download, and and install them at one time see

http://www.perzl.org/aix/index.php?n=FAQs.FAQs#rpm-dependency-hell

 

You can also download the FTP list of dependency files.

 

To install Apache

 

1.  Find the dependencies file for page using:

http://www.oss4aix.org/download/rpmdb/deplists/aix61/

or

http://www.oss4aix.org/download/rpmdb/deplists/aix71/

 

2.  Search for your package and and download the dependency list “.deps” file.

 

3.  Download the package and all its dependencies:

wget     ftp://www.oss4aix.org/everything/RPMS/httpd-2.4.3-1.aix5.1.ppc.rpm

wget -B ftp://www.oss4aix.org/everything/RPMS/  -i httpd-2.4.3-1.aix5.1.ppc.deps

 

4.  Install the package and dependencies:

rpm -Uvh *.rpm

Blog

Dec
13

De-installing UUCP

It is highly unlikely that you will ever need or use UUCP and thus removing it can only help to save space and reduce your systems attack-surface.

1. Remove the LPP:

# installp -u bos.net.uucp

2. Create a list of the files belonging to the uucp users:

# find / -group uucp > /tmp/u

3. Remove the users and group:

# rmuser -p nuucp
# rmuser -p uucp
# rmuser xuucp
# rmgroup uucp

4. Assign the orphaned files to root:

cat /tmp/u | while read F
do
  chown -root.system $F
done

5. Remove the temporary file:

# rm /tmp/u

13-12-2013
Related

Blog

Dec
13

AIX System Director Console

If you install or upgrade to AIX 6.1 or 7.1. the system director console service is now installed by default. This opens two web ports:

http://<hostname>:5335/ibm/console
https://<hostname>:5336/ibm.console (Optional SSL)

and creates the “pconsole” user.

The service is started from the “/etc/inittab” as follows:

pconsole:2:once:/usr/bin/startsrc -s pconsole  > /dev/null 2>&1

You can also see it is active from the SRC:

# lssrc -s pconsole
Subsystem         Group            PID          Status
pconsole         pconsole         7143642      active

If it has not been installed, or was previously removed, you can install the following packages from your AIX DVD or NIM Server:

lwi.runtime
sysmgt.pconsole.rte
sysmgt.pconsole.apps.pda
sysmgt.pconsole.apps.wsmit
sysmgt.pconsole.apps.wdcem
sysmgt.pconsole.apps.wrbac
sysmgt.pconsole.apps.websm

The SDMC is a very useful tool but also opens a potential backdoor as it can enable users to login directly as root, and also later enable their own users. I would recommend disabling it in the “inittab” and only starting it manually when you require it and ensure that you control the “pconsole” user password.

Related