SUID script requirements on AIX 5L and ksh93
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 …
Enabling security on an HP ProCurve 4200 series switch
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 …
Installing MySQL 5 on IBM AIX 5.3
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:
That package will work out of the …
IBM Websphere Application Server 5.1 init script for Linux
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).
#!/bin/sh # chkconfig: 35 99 10 # description: Starts and stops Websphere Application Server . /lib …
WPA-PSK authentication with Cisco IOS
When my Linux firewall box died a couple of months ago, I finally decided to by a Cisco router for my Internet connection. Before the Linux box I had an OpenBSD firewall, and I decided it was time to learn yet another platform.
The box is a Cisco 877W which …
IBM SDD driver troubleshooting on Linux
The Subsystem Device Driver [SDD] is a pseudo device driver designed to support the multipath configuration environments in the IBM TotalStorage Enterprise Storage Server, the IBM TotalStorage DS family, the IBM SystemStorage SAN Volume Controller. It resides in a host system with the native disk device driver and provides the …
Bootstrapping an Ubuntu guest for Xen
First, some empty disk space is needed. Let's create a logical volume for our new virtual machine:
root@xenserver1:~# lvcreate -n testlv -L 10G vg0 Logical volume "testlv" created
Create a filesystem on the new logical volume:
root@xenserver1:~# mke2fs -j /dev/vg0/testlv mke2fs 1.40-WIP (14-Nov-2006) Filesystem label …
How to get VMware Server working with an unsupported kernel and the vmware-any-any patch
VMware Server needs exactly two kernel modules running on the host system (there are separate modules for guest systems). These are the vmmon and the vmnet modules. Unfortunately, the vmmon and vmnet packages included in the VMware server distribution package don't compile with the newest kernels. When I upgraded my …
Updated version of the flash64.sh script for Ubuntu 7.10 Gutsy Gibbon
A few months ago I released a script to install a 32-bit Adobe Flash plugin to a 64-bit Firefox, but it doesn't seem to work in Gutsy beta. Here's an updated one. I upgraded my laptop to Gutsy and used this one to get Flash working.
Edit: I did a …