View Alfredo Tigolo III's profile on LinkedIn

Sunday, June 26, 2011

Pulling web sites accessed using bash script

#Squid is also capable of reading files containing lists of web sites with awk

#!/bin/sh
# at3 3-1-09
#source:
#http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch32_:_Controlling_Web_Access_w
ith_Squid#Password_Authentication_Using_NCSA
# description: pulls the url address off the squid access.log file
# usage: ~/home/geturl *must be in squid var/logs diretory
# the delimiters are http:// and /
#geturl.bsh

more $1 | awk -F'http://' '{ print $2 }' | uniq -u | awk -F/ '{ print $1 }' | sort | uniq -u

Added crontab options to shutdown and rotate squid logs

# shutdown at 8am, 4pm, and 12am
0       */8     *       *       *       root    shutdown -p now

# rotating squid logs daily at 10PM logs rotate and 11PM makes access.log readable
0       23      *       *       *       root    chmod 644 /usr/local/squid/var/logs/access.log
0       22      *       *       *       root    /usr/local/squid/sbin/squid -k rotate

Saturday, June 18, 2011

disable / enabled control and regedit

http://support.microsoft.com/kb/274849/en-us


I finally figure out how to get my control panel back.
I used a software called TweakUI which meant I could change some things on the Explorer interface. Knowing how to modify the registry of Windows systems is something new to me which I need to explorer further if the time permits.


ops, double post

User Key: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\
Explorer]
System Key: [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\
Explorer]
Value Name: NoControlPanel
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = disable restriction, 1 = enable restriction)

source: 

http://www.pctools.com/guides/registry/detail/543/ 

using group policies

type gpedit.msc

source: 

http://www.lockergnome.com/it/2006/03/16/disable-the-control-panel-2kxp2003/

There is a registry hack to enable or disable Windows NT TaskManager. The same registry hack applies to Windows 2000 and Windows XP.

Hive: HKEY_CURRENT_USER
Key: Software\Microsoft\Windows\CurrentVersion\Policies\System
Name: DisableTaskMgr
Type: REG_DWORD
Value: 1=Enablethis key, that is DISABLE TaskManager
Value: 0=Disablethis key, that is Don't Disable, Enable TaskManager

As part of the enhanced management available in Windows 2000 and Windows XP, rather than risking a registry change, as an administrator you can enable or disable Windows 2000 Pro or Windows XP Pro's TaskManager using Group Policy Editor. This can be applied to the local policy. Note: if you are trying to override your organizations group policy, you can't. As soon as you re-authenticate to the domain, the domain or OU Group Policy will rewrite the registry setting. But if the TaskManager was accidently disabled or you need to control this item for a set of standalone boxes this is for you:

* Click Start
* Click Run
* Enter gpedit.msc in the Open box and click OK
* In the Group Policy settings window
o Select User Configuration
o Select Administrative Templates
o Select System
o Select Ctrl+Alt+Delete options
o Select Remove Task Manager
o Double-click the Remove Task Manager option

And as I mentioned above, since the policy is Remove Task Manager, by disabling the policy, you are enabling the Task Manager. I noticed the task manager was disabled on a computer I was working.

Got XP Home - use the registry edit.
http://www.windowsnetworking.com/kbase/WindowsTips/WindowsXP/UserTips/Customization/EnableDisableTaskManagerinWindowsXPHomePro.html

Saturday, June 11, 2011

Dell Dimension 3000 Systems

Memory
Type 333- 400-MHz DDR SDRAM
NOTE: DDR333 and DDR400 memory runs at 266MHz when configured with Celeron 400MHz FSB processors
NOTE: DDR333 memory runs at 320MHz when configured with Pentium 4 800MHz FSB processors

Memory connectors: two
Memory capacities 128-, 256-, 512-, or 1-GB non-ECC

Minimum memory 128 MB
NOTE: Between 1 and 64 MB of system memory may be allocated to support graphics, depending on system memory size and other factors.

Maximum memory 2 GB
BIOS address F0000H

Wednesday, June 08, 2011

Helping Inglewood Christian School close its doors

Computer that holds financial records is being maintained
Hard disk seems ok and ran a scan disk
Updating Quickbook files to more current version of Quickbooks.
Use to have Quickbooks version 2007 and was recently upgraded to version 2009
http://quickbooks.intuit.com/product/about_quickbooks/peachtree_conversion.jsp
Installed Speed Fan to check for CPU Temperature and Smart Disk Status
http://www.almico.com/sfdownload.php
Faulty mouse may cause computer to freeze?
Convert Windows 98 cloned machine into a backup hard disk
Cloned machine does not boot properly and probably be used for parts
Asked to borrow the external "Simple Tech" casing longer