Wednesday, May 26, 2010

Finding a file from the Windows command line

Been using this for a while on Windows machines. dir /S lists and effectively searches for the file you're looking for, on the drive that you executed the command.

Nifty command. Maybe you'd have a better way to search stuff from the command line?

Wednesday, March 3, 2010

Configuring iptables, daemons and network settings in CentOS 5

I just wanted to share my notes on how to configure CentOS 5 without a GUI from the command line but need to a more user friendly way of configuring runlevels, iptables and network configuration.

These are ncurses programs that are interface to their esoteric command line equivalents:

1. Configure startup / disable daemons(services) from starting by using ntsysv:













2. Using system-config-network to adjust the Network Interface card configuration:


3. Using system-config-network still to configure DNS and the machine's hostname:



4.. Enabling and Disabling SELinux and configuring what ports are open on the machine using system-config-securitylevel-tui


Hope this helps, maybe you guys have a better way of doing these tasks? Comments and feedback are welcome :)


Thursday, January 21, 2010

Altiris Reporting Console - "Wrong number of arguments or invalid property assignment"

What I've observed when this error happens, is because of:

1. The Altiris ActiveX controls are not installed properly
2. The ActiveX controls could not be installed because of the lack of local Windows administrator privileges of initially opening the Altiris console.

Ensuring that I have the privileges to install the controls and deleting all browser history in IE made it work for me.

Did you encounter the same problem? How did you solve it?