<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Southern Bread &#187; sysadmin</title>
	<atom:link href="http://www.southernbread.org/tag/sysadmin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.southernbread.org</link>
	<description>Southern History, American Freedom, Christian Liberty</description>
	<lastBuildDate>Sat, 04 Feb 2012 21:12:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Mobile Encryption &#8211; Backups are Critical</title>
		<link>http://www.southernbread.org/mobile-encryption-backups-are-critical/</link>
		<comments>http://www.southernbread.org/mobile-encryption-backups-are-critical/#comments</comments>
		<pubDate>Wed, 18 Oct 2006 10:54:00 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.southernbread.org/windows/encryption_backup.html</guid>
		<description><![CDATA[Encryption on laptops is a hot topic these days, and I&#8217;m no more immune from it than any other sysadmin. Any time you have people carrying around laptops, it&#8217;s important that they are secured against possible theft or loss. The data carried on portable computers these days can get you into lots of trouble if [...]]]></description>
			<content:encoded><![CDATA[<p>Encryption on laptops is a hot topic these days, and I&#8217;m no more immune from it than any other sysadmin.  Any time you have people carrying around laptops, it&#8217;s important that they are secured against possible theft or loss.  The data carried on portable computers these days can get you into lots of trouble if you aren&#8217;t very careful to keep it secured against prying eyes.  Encryption solves that problem by scrambling the files in a certain part of the laptop hard drive and requiring some type of authentication in order to decrypt it.  This stops &#8220;casual&#8221; theft of data by just popping the hard drive out of the notebook and sticking it in another machine as a second drive.</p>
<p>Encryption is a two-edged sword though, and it must be very carefully planned before being rolled out.  The same scrambling of data that keeps thieves from getting at the data can also keep a sysadmin from getting at the data in a disaster situation.  If you use the built-in Windows encryption for example, you are screwed if you can&#8217;t log into Windows.  That means your hard drive doesn&#8217;t even have to fully crash for the data to become inaccessible.  You will have to make sure you have a very robust backup plan in place for your laptop users.  If you use a third-party tool such as the excellent <a href="http://www.truecrypt.org">TrueCrypt</a>, you still need to backup your files, but it&#8217;s possible to restore the volume as long as the header is intact and you have the correct passwords and keyfiles.</p>
<p>Backups are the life-blood of a sysadmin.  If backing up your system is not the most important thing you do on a daily basis then you have no business being a sysadmin.  So with all of that said, here is a good batch file to get you started with backing up the encrypted folders or drives on your Windows laptops:</p>
<p><pre><code>
@echo off
setlocal

@set src=X:
@set dst=U:\encbackup
@set args=/XD &quot;%src%\Recycled&quot; &quot;%src%\System Volume Information&quot; /COPYALL /B /SEC /MIR 
@set opts=/R:5 /W:3 /LOG+:c:\synclog.txt /NFL /NDL /TEE /ETA

IF NOT EXIST %src% GOTO QUITNOSRC
IF NOT EXIST %dst% GOTO QUITNODST

robocopy %src% %dst% %args% %opts%
GOTO PAUSEQUIT

:QUITNOSRC
echo Couldn&amp;#8217;t find &quot;%src%&quot;.
echo Your encrypted volume is not mounted.
GOTO PAUSEQUIT

:QUITNODST
echo Couldn&amp;#8217;t find &quot;%dst%&quot;.
echo If you are NOT connected to the network then this is normal.
GOTO PAUSEQUIT

:PAUSEQUIT
pause
@cls
exit
</code></pre></p>
<p>This is a modified version of a well layed out robocopy script I found on the internet somewhere.  The <b>src</b> variable holds the drive letter or folder of the encrypted volume that needs backing up.  The <b>dst</b> variable is where the backed up files should be placed.  In this case they would go in a folder called &#8220;encbackup&#8221; in the user&#8217;s network home folder.  The <b>args</b> and <b>opts</b> variables set up some common exclusions and loggings and such.  You can see all of the options for robocopy <a href="http://www.ss64.com/nt/robocopy.html">here</a>.  Each laptop user would run this file whenever they come back in the office and hook up to the network.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.southernbread.org/mobile-encryption-backups-are-critical/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backing up a MySQL Database</title>
		<link>http://www.southernbread.org/backing-up-a-mysql-database/</link>
		<comments>http://www.southernbread.org/backing-up-a-mysql-database/#comments</comments>
		<pubDate>Thu, 27 Jul 2006 15:59:00 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.southernbread.org/sysadmin/backup_mysql_dump.html</guid>
		<description><![CDATA[Here is a good script for backing up a MySQL database nightly in a cron job. We use it here and run it from the root user&#8217;s cron job. It just keeps a rotating set of backups and shoots you an e-mail with the results each night. Before you install the script create however many [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a good script for backing up a MySQL database nightly in a cron job.  We use it here and run it from the root user&#8217;s cron job.  It just keeps a rotating set of backups and shoots you an e-mail with the results each night.  Before you install the script create however many days worth of backup files you want to keep.  For instance if you want to always have 5 days worth of backups on hand, execute these commands as root:</p>
<div class="code"><pre><pre>
# touch /root/mysql-nightly1.sql
# touch /root/mysql-nightly2.sql
# touch /root/mysql-nightly3.sql
# touch /root/mysql-nightly4.sql
# touch /root/mysql-nightly5.sql
</pre></pre></div>
<p>Here is the script:</p>
<div class="code"><pre><pre>
#!/bin/sh

##: Go home
cd /root

##: Keep five days of backups on hand
dumpfile=(`ls -1tr mysql-nightly?.sql`)
dbserver=&amp;#8217;localhost&amp;#8217;
dbadmin=&amp;#8217;you@domain.com&amp;#8217;

mysqldump --host=$dbserver --user=user --password=password \
 --all-databases &gt; ${dumpfile[0]}
if [ $? -eq 0 ]; then
&nbsp;&nbsp;echo &quot;Successfully dumped MySql database from $dbserver.&quot;\
&nbsp;&nbsp; | mail -s &quot;INFO: MYSQL DATABASE DUMPED&quot; $dbadmin
else
&nbsp;&nbsp;echo &quot;Error dumping MySql database from $dbserver.&quot; \
&nbsp;&nbsp; | mail -s &quot;ALERT: ERROR DUMPING MYSQL&quot; $dbadmin
fi

##: Restart the database server
/sbin/service mysqld restart

cd -
</pre></pre></div>
<p>Here is the cron job entry:</p>
<div class="code"><pre><pre>
18 21 * * * /root/backup-database.sh &gt; /dev/null
</pre></pre></div>
]]></content:encoded>
			<wfw:commentRss>http://www.southernbread.org/backing-up-a-mysql-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automatic Power Profile Configuration</title>
		<link>http://www.southernbread.org/automatic-power-profile-configuration/</link>
		<comments>http://www.southernbread.org/automatic-power-profile-configuration/#comments</comments>
		<pubDate>Sat, 22 Jul 2006 21:52:00 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.southernbread.org/software/powercfg.html</guid>
		<description><![CDATA[Show me a sysadmin that likes to do the same thing 10 times in a row by hand and I&#8217;ll show you the sweater I got from Tony Blair. So in that vain, here is a batch file you can run from your login scripts that will automatically configure desktop and laptop power profiles in [...]]]></description>
			<content:encoded><![CDATA[<p>Show me a sysadmin that likes to do the same thing 10 times in a row by hand and I&#8217;ll show you the sweater I got from Tony Blair.  So in that vain, here is a batch file you can run from your login scripts that will automatically configure desktop and laptop power profiles in windows.  Why this isn&#8217;t included in Group Policy Management I do not know, but since every copy of Windows XP sp2 has the powercfg.exe program this should be close enough to a sure thing.  If you need to tweak the settings just look <a href="http://www.jsifaq.com/SUBQ/TIP8300/rh8369.htm">here</a> for an explanation of the switches.</p>
<p><b>Desktops</b></p>
<div class="code"><pre><pre>
@echo off
cls
:Creates a desktop power profile

:QUERY
powercfg.exe /Q cust_desktop
IF NOT ERRORLEVEL 1 GOTO QUIT
IF ERRORLEVEL 1 GOTO DELETE

:DELETE
powercfg.exe /D OLDPROFILE

:CREATE
powercfg.exe /C cust_desktop

:ADJUST
powercfg.exe /X cust_desktop /monitor-timeout-ac 0
powercfg.exe /X cust_desktop /monitor-timeout-dc 0
powercfg.exe /X cust_desktop /disk-timeout-ac 0
powercfg.exe /X cust_desktop /disk-timeout-dc 0
powercfg.exe /X cust_desktop /standby-timeout-ac 0
powercfg.exe /X cust_desktop /standby-timeout-dc 0
powercfg.exe /X cust_desktop /hibernate-timeout-ac 0
powercfg.exe /X cust_desktop /hibernate-timeout-dc 0
powercfg.exe /X cust_desktop /processor-throttle-ac NONE
powercfg.exe /X cust_desktop /processor-throttle-dc NONE

:GLOBAL
powercfg.exe /G off /OPTION BATTERYICON
powercfg.exe /G off /OPTION RESUMEPASSWORD

:ACTIVATE
powercfg.exe /S cust_desktop

:QUIT
@cls
exit
</pre></pre></div>
<p><b>Laptops</b></p>
<div class="code"><pre><pre>
@echo off
cls
:Creates a laptop power profile

:QUERY
powercfg.exe /Q cust_laptop
IF NOT ERRORLEVEL 1 GOTO QUIT
IF ERRORLEVEL 1 GOTO DELETE

:DELETE
powercfg.exe /D OLDPROFILE

:CREATE
powercfg.exe /C cust_laptop

:ADJUST
powercfg.exe /X cust_laptop /monitor-timeout-ac 0
powercfg.exe /X cust_laptop /monitor-timeout-dc 15
powercfg.exe /X cust_laptop /disk-timeout-ac 0
powercfg.exe /X cust_laptop /disk-timeout-dc 30
powercfg.exe /X cust_laptop /standby-timeout-ac 0
powercfg.exe /X cust_laptop /standby-timeout-dc 0
powercfg.exe /X cust_laptop /hibernate-timeout-ac 0
powercfg.exe /X cust_laptop /hibernate-timeout-dc 0
powercfg.exe /X cust_laptop /processor-throttle-ac NONE
powercfg.exe /X cust_laptop /processor-throttle-dc NONE

:GLOBAL
powercfg.exe /G on /OPTION BATTERYICON
powercfg.exe /G off /OPTION RESUMEPASSWORD

:ACTIVATE
powercfg.exe /S cust_laptop

:QUIT
@cls
exit
</pre></pre></div>
]]></content:encoded>
			<wfw:commentRss>http://www.southernbread.org/automatic-power-profile-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Doom as a SysAdmin Tool</title>
		<link>http://www.southernbread.org/doom-as-a-sysadmin-tool/</link>
		<comments>http://www.southernbread.org/doom-as-a-sysadmin-tool/#comments</comments>
		<pubDate>Fri, 30 Jun 2006 09:50:00 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[doom]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.southernbread.org/linux/1151596257.html</guid>
		<description><![CDATA[This is pure unadulterated coolness. It&#8217;s also one more step toward having our computers take over the world. When I can get fragged by sendmail or jabberd something is wrong. By the way, I am liking digg these days. I know it&#8217;s fashionable right now to say that digg is kicking slashdot&#8217;s rear but I [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.cs.unm.edu/~dlchao/flake/doom/">This</a> is pure unadulterated coolness.  It&#8217;s also one more step toward having our computers take over the world.  When I can get fragged by <b>sendmail</b> or <b>jabberd</b> something is wrong.  By the way, I am liking <a href="http://www.digg.com">digg</a> these days.  I know it&#8217;s fashionable right now to say that digg is kicking slashdot&#8217;s rear but I wouldn&#8217;t say that&#8217;s entirely true.  The thing that is good about <a href="http://www.slashdot.org">slashdot</a> is that you don&#8217;t get overloaded with information.  Digg moves so fast sometimes that I just can&#8217;t keep up.  My RSS feed is updating like 100 times a day.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.southernbread.org/doom-as-a-sysadmin-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linking DNS to DHCP</title>
		<link>http://www.southernbread.org/linking-dns-to-dhcp/</link>
		<comments>http://www.southernbread.org/linking-dns-to-dhcp/#comments</comments>
		<pubDate>Thu, 29 Jun 2006 10:59:00 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[bind]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.southernbread.org/linux/1151513959.html</guid>
		<description><![CDATA[If you have an office full of windows desktops but despise using the builtin DNS/DHCP services that come with network operating systems like Netware and Windows, you can still use BIND and DHCPD to handle the dynamic hostnames. This really only makes sense if you have a decent naming convention for you desktops but that&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>If you have an office full of windows desktops but despise using the builtin DNS/DHCP services that come with network operating systems like Netware and Windows, you can still use BIND and DHCPD to handle the dynamic hostnames.  This really only makes sense if you have a decent naming convention for you desktops but that&#8217;s another matter.  What you want to do is give <b>dhcpd</b> dynamic update permissions to your internal zone.  I&#8217;m going to use a simple example of a <b>192.168.1.0/24</b> subnet all in a single DNS domain called <b>foo.com</b> and both BIND and DHCPD running on the same server (i.e. localhost).  Here is what you want your zones to look like in your <i>named.conf</i> file:</p>
<div class="code">
<pre><pre>
...
zone &quot;foo.com&quot;{
&nbsp;&nbsp;&nbsp;&nbsp;type master;
&nbsp;&nbsp;&nbsp;&nbsp;file &quot;db.foo&quot;;
&nbsp;&nbsp;&nbsp;&nbsp;notify yes;
&nbsp;&nbsp;&nbsp;&nbsp;allow-update{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;localhost;
&nbsp;&nbsp;&nbsp;&nbsp;};
};
zone &quot;1.168.192.in-addr.arpa&quot;{
&nbsp;&nbsp;&nbsp;&nbsp;type master;
&nbsp;&nbsp;&nbsp;&nbsp;file &quot;db.192.168.1&quot;;
&nbsp;&nbsp;&nbsp;&nbsp;allow-update{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;localhost;
&nbsp;&nbsp;&nbsp;&nbsp;};
};
...
</pre></pre>
</div>
<p>This gives processes running on localhost the ability to make ddns updates on those zones.  Just change &#8220;localhost;&#8221; to whatever host <b>dhcpd</b> is bound to if it isn&#8217;t running on the same server.  You can also specify multiple hosts or a whole subnet using the &#8220;192.168.1.0/24&#8243; format.   After you have configured BIND it&#8217;s time to tell <b>dhcpd</b> where to send updates.  You do this by adding the following to your <i>dhcpd.conf</i> file:</p>
<div class="code">
<pre><pre>
ddns-update-style&nbsp;&nbsp; interim;
...
subnet 192.168.1.0 netmask 255.255.255.0 {
&nbsp;&nbsp;...
&nbsp;&nbsp;ddns-updates on;
&nbsp;&nbsp;ddns-domainname &quot;foo.com.&quot;;
&nbsp;&nbsp;ddns-rev-domainname &quot;in-addr.arpa.&quot;;
&nbsp;&nbsp;...
}
...
zone foo.com. {
&nbsp;&nbsp;&nbsp;&nbsp;primary localhost;
}
zone 1.168.192.in-addr.arpa. {
&nbsp;&nbsp;&nbsp;&nbsp;primary localhost;
}
...
</pre></pre>
</div>
<p>This tells <b>dhcpd</b> where to send ddns update requests and for what domains.  Be sure to monitor your syslog as you fire everything up to make sure you aren&#8217;t getting any ddns errors from either of the two daemons.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.southernbread.org/linking-dns-to-dhcp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Groupwise to Exchange/Outlook Conversion</title>
		<link>http://www.southernbread.org/groupwise-to-exchangeoutlook-conversion/</link>
		<comments>http://www.southernbread.org/groupwise-to-exchangeoutlook-conversion/#comments</comments>
		<pubDate>Sun, 04 Jun 2006 08:54:00 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.southernbread.org/dave/1149346466.html</guid>
		<description><![CDATA[A couple of more tips for anyone doing a conversion like this: Outlook wants to tell you that you can&#8217;t set up an exchange connection while Outlook is running the first time you open it. Just click cancel and go right back in and do the same thing again and this time it will let [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of more tips for anyone doing a conversion like this:<br/></p>
<ul>
<li>Outlook wants to tell you that you can&#8217;t set up an exchange<br />
connection while Outlook is running the first time you open it.  Just<br />
click cancel and go right back in and do the same thing again and this<br />
time it will let you.  Typical Redmond.</li>
<li>Do the 1-step migration if you can.  It will import calendar<br />
items into schedule+ data on the exchange server and import it<br />
automatically rather than having to save that .sc2 file and import by<br />
hand.</li>
<li>When it comes to sharing folders like Calendar and Contacts, it&#8217;s<br />
not enough to just assign permissions in Outlook.  You have to also go<br />
into Active Directory Users and Computers and give the person who will<br />
be accessing the folder Full Mailbox Rights to the person being<br />
accessed.  I know it&#8217;s crazy but I confirmed it on newsgroups and<br />
that&#8217;s the only way I could get it to work too.</li>
</ul>
<p><br/><br />
So far so good.  We&#8217;ll see if everything blows on Monday.<br/></p>
]]></content:encoded>
			<wfw:commentRss>http://www.southernbread.org/groupwise-to-exchangeoutlook-conversion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Good Side of Product Activation</title>
		<link>http://www.southernbread.org/the-good-side-of-product-activation/</link>
		<comments>http://www.southernbread.org/the-good-side-of-product-activation/#comments</comments>
		<pubDate>Wed, 17 May 2006 21:00:00 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.southernbread.org/sysadmin/1147834730.html</guid>
		<description><![CDATA[When software companies first started adding &#8220;Activation&#8221; to their software it was met with a resounding &#8220;oh crap!&#8221; from the sysadmin brotherhood. While in many ways it is very annoying, it has one extremely good side effect: deniability. The idea that software can no longer be installed willy nilly on any machine with only a [...]]]></description>
			<content:encoded><![CDATA[<p>When software companies first started adding &#8220;Activation&#8221; to their software it was met with a resounding &#8220;oh crap!&#8221; from the sysadmin brotherhood.  While in many ways it is very annoying, it has one extremely good side effect: <b>deniability</b>.  The idea that software can no longer be installed willy nilly on any machine with only a product key makes for a very good buck passing factor.  We have all had users ask us if they can &#8220;borrow&#8221; a copy of Microsoft Office or Windows.  My answer used to be a 15 minute lecture on software licensing.  Now it&#8217;s a simple &#8220;no, it won&#8217;t let you&#8221;.  I have to admit that it&#8217;s one less thing I have to worry about.  At least product activation isn&#8217;t all bad.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.southernbread.org/the-good-side-of-product-activation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Handy Groupwise Proxy Script</title>
		<link>http://www.southernbread.org/handy-groupwise-proxy-script/</link>
		<comments>http://www.southernbread.org/handy-groupwise-proxy-script/#comments</comments>
		<pubDate>Fri, 12 May 2006 16:43:00 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[groupwise]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[vbscript]]></category>

		<guid isPermaLink="false">http://www.southernbread.org/software/gwproxyadd.html</guid>
		<description><![CDATA[We are going through a Groupwise to Exchange conversion right now and of course their are a thousand hoops to jump through every step of the way. The latest challenge is that all the Groupwise mailboxes need to give proxy access to the user that will be running the migration. This means that every mailbox [...]]]></description>
			<content:encoded><![CDATA[<p>We are going through a Groupwise to Exchange conversion right now and of course their are a thousand hoops to jump through every step of the way.  The latest challenge is that all the Groupwise mailboxes need to give proxy access to the user that will be running the migration.  This means that every mailbox has to be touched since Groupwise doesn&#8217;t allow for a global proxy addition to all mailboxes.  After gleaning a lot of info from the internet, I ended up writing this visual basic script that will do the job nicely from a login script:</p>
<div class="code"><pre><pre>
&amp;#8217;Link to the Groupwise Object API
Set GWApp = CreateObject(&quot;NovellGroupWareSession&quot;)
Set fso = CreateObject(&quot;Scripting.FileSystemObject&quot;)

&amp;#8217;Login to Groupwise
Set GWAccount = GWApp.Login()

&amp;#8217;Check if we&amp;#8217;ve already run
If fso.FileExists(&quot;\\fileserver\temp\path\&quot; &amp; GWAccount.Owner.EmailAddress &amp; &quot;.tmp&quot;) Then
&nbsp;&nbsp;WScript.echo &quot;Already ran.&nbsp;&nbsp;Quitting!&quot;
&nbsp;&nbsp;GWApp.Quit
&nbsp;&nbsp;WScript.Quit
End If

&amp;#8217;Find the account you want to add to the proxy list from the Global 
Address Book
Set GWEntry = GWAccount.SystemAddressBook.AddressBookEntries.Find(&quot;(&lt;last Name&gt; CONTAINS &quot;&quot;Migrator&quot;&quot;)&quot;)
Set GWAddress = GWEntry.Item(1)

&amp;#8217;Add the account as a proxy
call GWAccount.AccountRights.Add(GWAddress, 65535)
call GWAccount.Refresh

&amp;#8217;Touch a file to let us know things ran well
Set ngwFile = fso.CreateTextFile(&quot;\\fileserver\temp\path\&quot; &amp; GWAccount.Owner.EmailAddress &amp; &quot;.tmp&quot;, True)
ngwFile.WriteLine(&quot;Archive &quot; &amp; GWAccount.Owner.EmailAddress &amp; &quot; &quot; &amp; GWAccount.DefaultPathToArchive)
ngwFile.Close
 
&amp;#8217;Finish
GWApp.Quit
</pre></pre></div>
<p>It uses the Groupwise Object API.  We created a Groupwise account called &#8220;Groupwise Migrator&#8221; to run the migration wizard with but you can put anyone&#8217;s last name in their that you want to add as a proxy.  We also touch a temp file just so we don&#8217;t run twice on the same machine.  Run it early on after the user boots up so their is little chance that they might already be proxied into someone&#8217;s box.  Enjoy!</p>
<ul>
<li>Download source: <a href="/downloads/gwproxyadd.zip">gwproxyadd.zip</a>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.southernbread.org/handy-groupwise-proxy-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Server Mounting</title>
		<link>http://www.southernbread.org/server-mounting/</link>
		<comments>http://www.southernbread.org/server-mounting/#comments</comments>
		<pubDate>Wed, 03 May 2006 10:55:00 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.southernbread.org/dave/1146588957.html</guid>
		<description><![CDATA[We use rack-mount servers almost exclusively here at work. They are easier to handle and service and they require a lot less room than a tower server. The problem is that we don&#8217;t have enough of them to really justify a rack. We used to just have them stacked on a table but that makes [...]]]></description>
			<content:encoded><![CDATA[<p>We use rack-mount servers almost exclusively here at work.  They are<br />
easier to handle and service and they require a lot less room than a<br />
tower server.  The problem is that we don&#8217;t have enough of them to<br />
really justify a rack.  We used to just have them stacked on a table but<br />
that makes it near impossible to get to the one on the bottom for<br />
maintenance.  These days we have taken to flush-mounting them on a wall<br />
kind of like you do with a wiring closet.  I found these great brackets<br />
at Home Depot that I put up to hold them in place in case they were to<br />
tip off of the wall.  Here are some pictures in case you would like to<br />
do this in your small business computer room(excuse the messy wiring):</p>
<p><img src="/images/server1.jpg"/></p>
<p><img src="/images/server2.jpg"/></p>
<p><img src="/images/server3.jpg"/></p>
<p>For the 1U servers we cut strips of 2&#215;2&#8217;s to a length of 30&#8243;(76.2<br />
centimeters).  For the 2U servers we cut 3 2&#215;4&#8217;s to 30&#8243; and 1 piece of<br />
3/4&#8243; plywood to 3&#8243; by 30&#8243; to act as a baseplate.  We covered the wall<br />
with 2 sheets of 4&#215;8&#8217; plywood to mount everything on.  Space the bottom<br />
strip and the top strip 17.5 inches apart for both 1U and 2U servers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.southernbread.org/server-mounting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MS Licensing Craziness</title>
		<link>http://www.southernbread.org/ms-licensing-craziness/</link>
		<comments>http://www.southernbread.org/ms-licensing-craziness/#comments</comments>
		<pubDate>Tue, 18 Apr 2006 14:30:00 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[copyright]]></category>
		<category><![CDATA[licensing]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.southernbread.org/dave/1145305829.html</guid>
		<description><![CDATA[I have been sorting through SKU&#8217;s all day trying to come up with a purchase order for our firm&#8217;s upgrade to Exchange. We are moving to Exchange from Groupwise 5.5. In the process we are upgrading everyone to Microsoft Office 2003. While I was trying to figure out what all we needed to get a [...]]]></description>
			<content:encoded><![CDATA[<p>I have been sorting through SKU&#8217;s all day trying to come up with a<br />
purchase order for our firm&#8217;s upgrade to Exchange.  We are moving to<br />
Exchange from Groupwise 5.5.  In the process we are upgrading everyone<br />
to Microsoft Office 2003.  While I was trying to figure out what all we<br />
needed to get a final price I realized that the boxed versions of<br />
Office are actually cheaper than their licensing counterparts because<br />
in licensing their are no &#8220;upgrade&#8221; versions, only the full product.<br />
Why would I buy into a licensing program that forces me to upgrade<br />
every 3 years when it costs more than buying it off the shelf with no<br />
expirations to worry about.  Man, that makes no sense.  Microsoft<br />
should either get rid of the boxed upgrade versions or offer incentives<br />
to non-licensing customers to enter the program for the first time.<br />
Either way you slice it, Office is one expensive piece of software.<br />
$400 per computer bites.<br/></p>
]]></content:encoded>
			<wfw:commentRss>http://www.southernbread.org/ms-licensing-craziness/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

