Archive for November, 2007

SUID script requirements on AIX 5L and ksh93

Friday, November 30th, 2007

Requirements for a suid script include:

  • #! directing the KornShell be used
  • Executable by user, group, and other
  • No read permission
  • Add suid permission by chmod u+s on the file

Add a -p option to #! to increase security to force a separate process if one is not normally done.

Example:

#! /usr/bin/ksh -p

Source of this information:

http://www.ibm.com/developerworks/aix/library/au-kornshell93.html#n

Enabling security on an HP ProCurve 4200 series switch

Saturday, November 3rd, 2007

I had a chance to configure an HP ProCurve 4208vl switch the other day. The first impression was that the command line interface is heavily influenced by, if not directly copied from, the Cisco IOS command line interface. So if you have experience with IOS, you will probably feel almost at home on an HP switch. There are some differences, though.

The first thing I wanted to do was to enable ssh access and authentication, and disable telnet. Here’s a quick howto.

(more…)

Installing MySQL 5 on IBM AIX 5.3

Friday, November 2nd, 2007

The IBM AIX Software Toolbox download page includes a package for MySQL 3.23, but that was a little bit too aged for my purposes. Fortunately MySQL distributes binaries for IBM AIX here:

(more…)

IBM Websphere Application Server 5.1 init script for Linux

Friday, November 2nd, 2007

WAS does not seem to install any default init scripts, so I created one. You can configure it to start and stop multiple application servers by listing them all in the APPSERVERS variable (separated by spaces).

(more…)