by admin | Aug 29, 2012 | Uncategorized
To scan a linux filesystem and find all files containing a specific string. find / -type f -print0 | xargs -0 grep -i STRING
by admin | Jul 9, 2012 | Uncategorized
We have a policy to retain our security log files for 90 days. Our domain policy is setup to auto archive the logs instead of overwriting them. The problem is that the 90 day rule doesn’t stick since there aren’t any entries in the current log file for...
by admin | Jun 4, 2012 | Uncategorized
@echo off set folder=C:\test pushd “%folder%” for /f “skip=2 tokens=*” %%i in (‘dir /a:-d-s /b /o:-d’) do echo “%%i” popd *** Stolen from Major Geeks forum member GermanOne
by admin | May 24, 2012 | Uncategorized
To have reusable vouchers: Edit /etc/inc/captiveportal.inc and modify: /* This user was already logged in so we disconnect the old one */ captiveportal_disconnect($cpentry,$radiusservers,13);...
by admin | May 18, 2012 | Linux
My previously written custom script to make Windows and Ubuntu show as the first two items in Grub no longer works after my latest install of Ubuntu 12.04. Looks like its back to using a utility to do the job. sudo add-apt-repository...