Friday, October 12. 2007
Color LS
Note: I think this changed in later releases of Debian (Verison 4.0) but I'm keeping it just in case
In Debian, if you want to have the ls command return it's results in color, you have to type it ls --color. Since I'm not one for more typing, this wouldn't do. There is a bunch of info on the Net this all misleading and contridictory on how to best enable this on Debian.
Not to be left out, here's my contribution
First, edit your .bash_profile file in the username you log into.
At the top of the file include the line export TERM=xterm-color
Then uncomment the following section
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
Then in your .bashrc file
* Make sure that this section is uncommented (Should be by default)
# enable color support of ls and also add handy aliases
if [ "$TERM" != "dumb" ]; then
eval `dircolors -b`
alias ls='ls --color=auto'
alias dir='ls --color=auto --format=vertical'
alias vdir='ls --color=auto --format=long'
fi
That should be it. Just log out and log in again. Later on I'll figure out which of the /etc files you edit to apply this to the new user template.
Thursday, October 11. 2007
Print Info from Meridian Mail
Part of my Job is adminstering a Meridian Mail Voicemail system. Occasionally I have to print information that I'm searching for.
Using Procomm Plus, It's possible to print this infromation.
1. Create a Generic / Text Only Printer. Do this (on Windows XP)by:
1. Select Add a Printer
2. Hit next on the Wizard, Select "Local Printer Attached to this computer", Deselect "Automatically detect and install my Plug and Play Printer" and hit Next
3. In the "Use the Following Port:" dialog, from the drop down box, select FILE: (Print to File) and press Next.
4. In the next screen, From the Manufacturer select Generic and in the Model box select Generic / Text Only and hit Next.
5. Hit Next on the rest of the dialog boxes, and you should be done. You might want to change the Default printer question to No.
2. In Procomm, select the Generic Text Only Printer in the Printer Setup dialog
3. In Notepad, type out the path of the file you want to save it to, and put copy it to the clipboard.
4. Select Print from Procomm
5. A box will pop up asking for the filename. Paste the filename you prepared in step 3 into this box. You have to do this VERY quickly.
6. Leave it alone until Meridian Mail stops saying Working.
Using Procomm Plus, It's possible to print this infromation.
1. Create a Generic / Text Only Printer. Do this (on Windows XP)by:
1. Select Add a Printer
2. Hit next on the Wizard, Select "Local Printer Attached to this computer", Deselect "Automatically detect and install my Plug and Play Printer" and hit Next
3. In the "Use the Following Port:" dialog, from the drop down box, select FILE: (Print to File) and press Next.
4. In the next screen, From the Manufacturer select Generic and in the Model box select Generic / Text Only and hit Next.
5. Hit Next on the rest of the dialog boxes, and you should be done. You might want to change the Default printer question to No.
2. In Procomm, select the Generic Text Only Printer in the Printer Setup dialog
3. In Notepad, type out the path of the file you want to save it to, and put copy it to the clipboard.
4. Select Print from Procomm
5. A box will pop up asking for the filename. Paste the filename you prepared in step 3 into this box. You have to do this VERY quickly.
6. Leave it alone until Meridian Mail stops saying Working.
Finding Stale Mailboxes in Meridian Mail
Sometimes when you have a large enterprise, and a old installation you lose track of mailboxes. Other times, people just stop using them, and leave, and never tell you they're gone.
Here's a quick way to print out a list of mailboxes that the system has marked "Stale"
Open up Meridian Mail and login.
1. Select System Status and Maintenance
2. Select System Event and Error Reports (SEERS)
3. Select SEER Retrieval
4. In SEER Class, put in 91, this is the only info you need to enter, unless you have more than one report. (Small Systems may have multiple reports)
5. Either select show report, or Print it.
That's all there is too it. It will actually show you how many days it's been since someone logged into the mailbox.
Here's a quick way to print out a list of mailboxes that the system has marked "Stale"
Open up Meridian Mail and login.
1. Select System Status and Maintenance
2. Select System Event and Error Reports (SEERS)
3. Select SEER Retrieval
4. In SEER Class, put in 91, this is the only info you need to enter, unless you have more than one report. (Small Systems may have multiple reports)
5. Either select show report, or Print it.
That's all there is too it. It will actually show you how many days it's been since someone logged into the mailbox.
Thursday, May 5. 2005
Cisco Clean Access DNS Rules
Back by popular google index demand:
This list is no longer necessary, since around version 4.0 Cisco has included this list by default.
Here's a list of DNS Rules that we the user community have determined thru our own testing.
| Allowed Host | Match | Description |
| update.microsoft.com | ends | Windows Update |
| activeupdate.trendmicro.com | ends | Trend Micro updates |
| grisoft.com | ends | AVG AntiVirus |
| grisoft.cz | ends | AVG AntiVirus |
| www.howtotell.com | equals | Legal Microsoft Software |
| security.symantec.com | equals | Symantec Live Scan |
| www.spreadfirefox.org | equals | Firefox Downloads |
| mozilla.org | ends | Firefox Downloads |
| mcafee.com | ends | McAfee AntiVirus HTTP Update |
| pccreg.antivirus.com | equals | Trend Micro Update |
| trendmicro.com | ends | Trend Micro Update |
| activex.microsoft.com | ends | Microsoft Windows Update |
| codecs.microsoft.com | ends | Microsoft Windows Update |
(Page 1 of 1, totaling 5 entries)


