<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;DkIDRH87fip7ImA9WhRXFU0.&quot;"><id>tag:blogger.com,1999:blog-8527228685794819350</id><updated>2011-12-21T13:56:15.106-08:00</updated><category term="install" /><category term="images" /><category term="Fedora" /><category term="synergy" /><category term="display" /><category term="alerts" /><category term="regedit" /><category term="DIY" /><category term="acl" /><category term="Hylafax" /><category term="RAID" /><category term="vm" /><category term="Cisco" /><category term="temperature" /><category term="Windows" /><category term="open source" /><category term="service" /><category term="RT" /><category term="Group Policy" /><category term="Skype" /><category term="firefox" /><category term="encryption" /><category term="audio" /><category term="yum" /><category term="rack" /><category term="DSL" /><category term="FTP" /><category term="printer" /><category term="lightbox" /><category term="Cacti" /><category term="grep" /><category term="Mac" /><category term="Dell" /><category term="license" /><category term="video" /><category term="ap" /><category term="email" /><category term="WSUS" /><category term="cron" /><category term="Dimdim" /><category term="BIOS" /><category term="remote administration" /><category term="banner" /><category term="backup" /><category term="PERC 5/i" /><category term="ext3" /><category term="centos" /><category term="MySQL" /><category term="SSH" /><category term="phpBB" /><category term="LVM" /><category term="authentication" /><category term="Helios" /><category term="security" /><category term="Thunderbird" /><category term="home directory" /><category term="openssl" /><category term="Linksys" /><category term="legal" /><category term="inventory" /><category term="format" /><category term="memory" /><category term="sendmail" /><category term="asteriskNOW" /><category term="bash" /><category term="IIS" /><category term="root" /><category term="user" /><category term="batch" /><category term="Drupal" /><category term="permissions" /><category term="virtual servers" /><category term="fax" /><category term="filesystem" /><category term="software" /><category term=".deb" /><category term="Anti-Virus" /><category term="dropbox" /><category term="ssl" /><category term="snmp" /><category term="partition" /><category term="network" /><category term="VNC" /><category term="fun" /><category term="PoE" /><category term="OS" /><category term="web design" /><category term="mail" /><category term="Vista" /><category term="XBox 360" /><category term="RHEL" /><category term="grub" /><category term="javascript" /><category term="XP" /><category term="router config" /><category term="media center" /><category term="fuser" /><category term="postfix" /><category term="CompTIA" /><category term="command" /><category term="forum" /><category term="rpm" /><category term="switch" /><category term="sleep" /><category term="console" /><category term="find" /><category term="Blackberry" /><category term="TS/RDS" /><category term="ASA" /><category term="plugin" /><category term="Kaspersky (KAV)" /><category term="cables" /><category term="umount" /><category term="script" /><category term="domain" /><category term="ZaReason" /><category term="nfs" /><category term="Hotspares" /><category term="code" /><category term="port" /><category term="firewall" /><category term="DMZ" /><category term="fail2ban" /><category term="database" /><category term="RDP" /><category term="DC" /><category term="share" /><category term="apache" /><category term="screen" /><category term="hack" /><category term="boot" /><category term="PuTTy" /><category term="vi" /><category term="reload" /><category term="ESXi" /><category term="mount" /><category term="PowerEdge" /><category term="nagios" /><category term="secure certificate" /><category term="monitoring" /><category term="ICMP" /><category term="website" /><category term="Win7" /><category term="blog" /><category term="KoHvs" /><category term="tar" /><category term="PHP" /><category term="certification" /><category term="sudo" /><category term="motd" /><category term="terminal" /><category term="wireless" /><category term="Active Directory" /><category term="Linux" /><category term="search" /><category term="Scalix" /><category term="server" /><category term="vpn" /><category term="ODBC" /><category term="csr" /><category term="Ubuntu" /><category term="iptables" /><category term="SElinux" /><category term="password" /><title>TechPain</title><subtitle type="html">Notes that will hopefully allow me to go through a particular case of tech pain no more than once.</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://techpain.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://techpain.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>techpain</name><uri>http://www.blogger.com/profile/03097224607709116694</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_dDEhe0T6JWE/SYzB0Z43hyI/AAAAAAAAAAk/kSt0lHukfnI/S220/wrench.png" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>135</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/blogspot/yLyP" /><feedburner:info uri="blogspot/ylyp" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;DUQAQn0yeSp7ImA9WhdSF00.&quot;"><id>tag:blogger.com,1999:blog-8527228685794819350.post-5734269004874717772</id><published>2011-07-26T12:09:00.000-07:00</published><updated>2011-07-26T12:09:03.391-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-26T12:09:03.391-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="partition" /><category scheme="http://www.blogger.com/atom/ns#" term="filesystem" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="command" /><category scheme="http://www.blogger.com/atom/ns#" term="mount" /><category scheme="http://www.blogger.com/atom/ns#" term="RHEL" /><category scheme="http://www.blogger.com/atom/ns#" term="LVM" /><title>df error - 'df: cannot read table of mounted file systems'</title><content type="html">&lt;code&gt;&lt;br /&gt;
[root@host]# df -h&lt;br /&gt;
df: cannot read table of mounted file systems&lt;br /&gt;
[root@host]# cat etc/mtab&lt;br /&gt;
(nothing)&lt;br /&gt;
[root@host]# lvdisplay&lt;br /&gt;
  Parse error at byte 6 (line 1): unexpected token&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
This is often related to a disk space issue. A post from &lt;a href="http://insanelabs.com/linux/linux-df-cannot-read-table-of-mounted-file-systems/" target="_blank"&gt;insanelabs.com&lt;/a&gt; recommended freeing up space and then rebuilding /etc/mtab from /proc/mounts like so:&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
[root@host]# grep -v rootfs /proc/mounts &gt; /etc/mtab&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
Seemed to do the trick, df is now returning expected results.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8527228685794819350-5734269004874717772?l=techpain.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yLyP/~4/Einxu73O76U" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://techpain.blogspot.com/feeds/5734269004874717772/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://techpain.blogspot.com/2011/07/df-error-df-cannot-read-table-of.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/5734269004874717772?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/5734269004874717772?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yLyP/~3/Einxu73O76U/df-error-df-cannot-read-table-of.html" title="df error - 'df: cannot read table of mounted file systems'" /><author><name>techpain</name><uri>http://www.blogger.com/profile/03097224607709116694</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_dDEhe0T6JWE/SYzB0Z43hyI/AAAAAAAAAAk/kSt0lHukfnI/S220/wrench.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://techpain.blogspot.com/2011/07/df-error-df-cannot-read-table-of.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkYBSXs_fip7ImA9WhZaGUU.&quot;"><id>tag:blogger.com,1999:blog-8527228685794819350.post-4984710300134717849</id><published>2011-07-06T14:35:00.000-07:00</published><updated>2011-07-06T14:35:58.546-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-06T14:35:58.546-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Group Policy" /><category scheme="http://www.blogger.com/atom/ns#" term="ODBC" /><category scheme="http://www.blogger.com/atom/ns#" term="Windows" /><title>ODBC logon scripts - ODBCCONF</title><content type="html">ODBCCONF is deprecated, and "should not be used", but I couldn't find a better way to do this in the time that I had.&lt;br /&gt;
I needed a logon script to create some data sources (ODBC's) so I used ODBCCONF in a batch file that looked like this:&lt;br /&gt;
&lt;code&gt;ODBCCONF CONFIGDSN "SQL Server" "DSN=DataSourceName| Description=| SERVER=DBhostnameorIP| Database=DB_name| Trusted_Connection=yes"&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
This breaks down as follows:&lt;br /&gt;
ODBCCONF - The utility to run&lt;br /&gt;
CONFIGDSN - Configures a User DSN (CONFIGSYSDSN would be for a System DSN)&lt;br /&gt;
"SQL Server" - The driver to use&lt;br /&gt;
DSN= Data source name&lt;br /&gt;
Description= A description of the DSN&lt;br /&gt;
SERVER= DB host or IP address&lt;br /&gt;
Database= DB name&lt;br /&gt;
Trusted_Connection=yes (Use Windows NT authentication)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8527228685794819350-4984710300134717849?l=techpain.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yLyP/~4/b6tszvIbzho" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://techpain.blogspot.com/feeds/4984710300134717849/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://techpain.blogspot.com/2011/07/odbc-logon-scripts-odbcconf.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/4984710300134717849?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/4984710300134717849?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yLyP/~3/b6tszvIbzho/odbc-logon-scripts-odbcconf.html" title="ODBC logon scripts - ODBCCONF" /><author><name>techpain</name><uri>http://www.blogger.com/profile/03097224607709116694</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_dDEhe0T6JWE/SYzB0Z43hyI/AAAAAAAAAAk/kSt0lHukfnI/S220/wrench.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://techpain.blogspot.com/2011/07/odbc-logon-scripts-odbcconf.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0YFSX84eCp7ImA9WhZVFU4.&quot;"><id>tag:blogger.com,1999:blog-8527228685794819350.post-8461779740205746534</id><published>2011-05-27T14:18:00.000-07:00</published><updated>2011-05-27T14:18:38.130-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-27T14:18:38.130-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="server" /><category scheme="http://www.blogger.com/atom/ns#" term="filesystem" /><category scheme="http://www.blogger.com/atom/ns#" term="Windows" /><category scheme="http://www.blogger.com/atom/ns#" term="command" /><title>Windows: Show or Delete files older than X days</title><content type="html">Using forfiles to show and/or delete files older than X amount of days:&lt;br /&gt;
&lt;br /&gt;
/p = path&lt;br /&gt;
/s = subdirectories (recursive)&lt;br /&gt;
/m = mask&lt;br /&gt;
/d = days&lt;br /&gt;
/c = cmd to be run&lt;br /&gt;
&lt;br /&gt;
Show .log files in C:\LogFiles (recursively) older than 1 year:&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
forfiles /p C:\LogFiles /s /m *.log /d -365 /c "cmd /c echo @file is at least 1 year old."&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Remove .log files in C:\LogFiles (recursively) older than 1 year:&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
forfiles /p C:\LogFiles /s /m *.log /d -365 /c "cmd /c del @file"&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Save as a .bat and schedule it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8527228685794819350-8461779740205746534?l=techpain.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yLyP/~4/byQKYO5bS9o" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://techpain.blogspot.com/feeds/8461779740205746534/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://techpain.blogspot.com/2011/05/windows-show-or-delete-files-older-than.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/8461779740205746534?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/8461779740205746534?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yLyP/~3/byQKYO5bS9o/windows-show-or-delete-files-older-than.html" title="Windows: Show or Delete files older than X days" /><author><name>techpain</name><uri>http://www.blogger.com/profile/03097224607709116694</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_dDEhe0T6JWE/SYzB0Z43hyI/AAAAAAAAAAk/kSt0lHukfnI/S220/wrench.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://techpain.blogspot.com/2011/05/windows-show-or-delete-files-older-than.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0AHQns9eyp7ImA9WhZVEko.&quot;"><id>tag:blogger.com,1999:blog-8527228685794819350.post-1294370099938478058</id><published>2011-05-24T15:22:00.000-07:00</published><updated>2011-05-24T15:22:13.563-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-24T15:22:13.563-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="domain" /><category scheme="http://www.blogger.com/atom/ns#" term="DC" /><category scheme="http://www.blogger.com/atom/ns#" term="Windows" /><category scheme="http://www.blogger.com/atom/ns#" term="command" /><category scheme="http://www.blogger.com/atom/ns#" term="Active Directory" /><title>Domain Controller Troubleshooting with DCDIAG , REPADMIN , and NETDIAG</title><content type="html">&lt;h4&gt;DCDIAG&lt;/h4&gt;DCDIAG analyzes the state of domain controllers in a forest or enterprise and reports any problems to help in troubleshooting. &lt;br /&gt;
&lt;br /&gt;
Details available at &lt;a href="http://technet.microsoft.com/en-us/library/cc731968%28WS.10%29.aspx" target="_blank"&gt;MS TechNet&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Example:&lt;/b&gt; dcdiag.exe /V /D /C /E &gt; c:\dcdiag.log &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;REPADMIN&lt;/h4&gt;Repadmin.exe is a Microsoft Windows 2000 Resource Kit tool that is available in the Support Tools folder on the Windows 2000 CD-ROM. It is a command-line interface to Active Directory replication. This tool provides a powerful interface into the inner workings of Active Directory replication, and is useful for troubleshooting Active Directory replication problems. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Example:&lt;/b&gt; repadmin.exe /showrepl dc* /verbose /all /intersite &gt; c:\repl.txt&lt;br /&gt;
&lt;br /&gt;
Details available at &lt;a href="http://technet.microsoft.com/en-us/library/cc736571%28WS.10%29.aspx" target="_blank"&gt;MS TechNet&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;NETDIAG&lt;/h4&gt;This command-line diagnostic tool helps to isolate networking and connectivity problems by performing a series of tests to determine the state of your network client. These tests and the key network status information they expose give network administrators and support personnel a more direct means of identifying and isolating network problems. Moreover, because this tool does not require parameters or switches to be specified, support personnel and network administrators can focus on analyzing the output rather than on training users how to use the tool.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Example (to be run on each DC):&lt;/b&gt; netdiag.exe /v &gt; c:\netdiag.log&lt;br /&gt;
&lt;br /&gt;
Details available at &lt;a href="http://technet.microsoft.com/en-us/library/cc783438%28WS.10%29.aspx" target="_blank"&gt;MS TechNet&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8527228685794819350-1294370099938478058?l=techpain.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yLyP/~4/-0416S2eN1I" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://techpain.blogspot.com/feeds/1294370099938478058/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://techpain.blogspot.com/2011/05/domain-controller-troubleshooting-with.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/1294370099938478058?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/1294370099938478058?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yLyP/~3/-0416S2eN1I/domain-controller-troubleshooting-with.html" title="Domain Controller Troubleshooting with DCDIAG , REPADMIN , and NETDIAG" /><author><name>techpain</name><uri>http://www.blogger.com/profile/03097224607709116694</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_dDEhe0T6JWE/SYzB0Z43hyI/AAAAAAAAAAk/kSt0lHukfnI/S220/wrench.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://techpain.blogspot.com/2011/05/domain-controller-troubleshooting-with.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEMBQH8_fip7ImA9WhZXE0Q.&quot;"><id>tag:blogger.com,1999:blog-8527228685794819350.post-8538107951569652532</id><published>2011-05-02T20:12:00.000-07:00</published><updated>2011-05-02T20:14:11.146-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-02T20:14:11.146-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="server" /><category scheme="http://www.blogger.com/atom/ns#" term="Windows" /><category scheme="http://www.blogger.com/atom/ns#" term="ASA" /><category scheme="http://www.blogger.com/atom/ns#" term="vpn" /><category scheme="http://www.blogger.com/atom/ns#" term="Cisco" /><title>Win Server 2008 DC RADIUS server for a Cisco ASA VPN</title><content type="html">&lt;b&gt;Thanks to &lt;a href="https://fixingit.wordpress.com/2009/09/08/using-windows-server-2008-as-a-radius-server-for-a-cisco-asa/" target="_blank"&gt;FixingIT.wordpress.com&lt;/a&gt;. I pulled most of this post from there, made some tweaks, and added the Cisco CLI as an alternative to ASDM.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The following steps are a walk through of configuring a Windows 2008 Server Domain Controller as a RADIUS server for an ASA, and configuring that ASA as the RADIUS client. This will allow VPN users to authenticate against Active Directory instead of locally on the ASA.&lt;br /&gt;
&lt;br /&gt;
These steps assume the following:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Windows Server 2008: 192.168.0.10&lt;/li&gt;
&lt;li&gt;Cisco ASA: 192.168.0.5&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;h2&gt;Configure the ASA&lt;/h2&gt;&lt;h3&gt;CLI&lt;/h3&gt;The applicable parts of the config are as follows:&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
interface Vlan1&lt;br /&gt;
nameif inside&lt;br /&gt;
security-level 100&lt;br /&gt;
ip address 192.168.0.5 255.255.255.0 &lt;br /&gt;
&lt;br /&gt;
aaa-server SERVER protocol radius&lt;br /&gt;
accounting-mode simultaneous&lt;br /&gt;
aaa-server SERVER host 192.168.0.10&lt;br /&gt;
key mysecretkey&lt;br /&gt;
radius-common-pw mysecretkey&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;h3&gt;ASDM&lt;/h3&gt;&lt;b&gt;Create an IP Name object for the target&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Under the Firewall section, expand the Objects link and select the IP Names.&lt;/li&gt;
&lt;li&gt;Click the Add button at the top.&lt;/li&gt;
&lt;li&gt;Enter a descriptive name, the IP address of the DC/RADIUS server and a description of the server.&lt;/li&gt;
&lt;li&gt;Click OK and then Apply&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
&lt;b&gt;Create a new AAA Server Group&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Click the Remote Access VPN section.&lt;/li&gt;
&lt;li&gt;Expand AAA Setup and select AAA Server Groups.&lt;/li&gt;
&lt;li&gt;Click the Add button to the right of the AAA Server Groups section.&lt;/li&gt;
&lt;li&gt;Give the server group a name, like TEST-AD, and make sure the RADIUS protocol is selected.&lt;/li&gt;
&lt;li&gt;Accept the default for the other settings. And click OK&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
&lt;b&gt;Add the RADIUS server to the Server Group.&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Select the server group created in the step above.&lt;/li&gt;
&lt;li&gt;Click the Add button to the right of Servers in the Select Group.&lt;/li&gt;
&lt;li&gt;Under the Interface Name select the interface on the ASA that will have access to the RADIUS server, most likely inside.&lt;/li&gt;
&lt;li&gt;Under Server Name or IP Address enter the IP Name you created for the RADIUS server above.&lt;/li&gt;
&lt;li&gt;Skip to the Server Secret Key field and create a complex password. Make sure you document this as it is required when configuring the RADIUS server. Re-enter the secret in the Common Password field.&lt;/li&gt;
&lt;li&gt;Leave the rest of the settings at the defaults and click Ok.&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
&lt;h2&gt;Configuring the Windows 2008 DC/RADIUS Server&lt;/h2&gt;*requires domain admin privileges&lt;br /&gt;
&lt;b&gt;Add the Network Policy Server function.&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Connect to the Windows Server 2008 server and launch Server Manager.&lt;/li&gt;
&lt;li&gt;Click the Roles object and then click the Add Roles link on the right.&lt;/li&gt;
&lt;li&gt;Click Next on the Before You Begin page.&lt;/li&gt;
&lt;li&gt;Select the Network Policy and Access Services role and click Next.&lt;/li&gt;
&lt;li&gt;Under Role Service select only the Network Policy Server service and click Next.&lt;/li&gt;
&lt;li&gt;Click Install.&lt;/li&gt;
&lt;/ol&gt;After the role finishes installing you will need to set up the server using the Network Policy Server (NPS) management tool found under Administrative Tools.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Registering the server.&lt;/b&gt;&lt;br /&gt;
After launching the NPS tool right-click on the entry NPS(Local) and click the Register Server in Active Directory. Follow the default prompts.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Create a RADIUS client entry for the ASA.&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Expand the RADIUS Clients and Servers folder.&lt;/li&gt;
&lt;li&gt;Right-click on RADIUS Clients and select New RADIUS Client.&lt;/li&gt;
&lt;li&gt;Create a Friendly Name for the ASA device. I used “CiscoASA” but if you had more than one you might want to make it more unique and identifiable. Make sure you document the Friendly Name used as it will be used later in some of the policies created.&lt;/li&gt;
&lt;li&gt;Enter the Server Secret Key specified on during the ASA configuration in the Shared secret and Confirm shared secret field.&lt;/li&gt;
&lt;li&gt;Leave the default values for the other settings and click OK. See Figure 1 for all the complete RADIUS Client properties.&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
&lt;b&gt;Create a Connection Request Policy&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Expand the Policies folder.&lt;/li&gt;
&lt;li&gt;Right-click on the Connection Request Policies and click New.&lt;/li&gt;
&lt;li&gt;Set the Policy Nameto something meaningful. I used CiscoASA because this policy is geared specifically for that RADIUS client. Leave the Type of network access server as Unspecified and click Next.&lt;/li&gt;
&lt;li&gt;Under Conditions click Add. Scroll down and select the Client Friendly Name condition and click Add&lt;/li&gt;
&lt;li&gt;Specify the friendly name that you used when creating the RADIUS Client above. Click OK and Next.&lt;/li&gt;
&lt;li&gt;On the next two pages leave the default settings and click Next.&lt;/li&gt;
&lt;li&gt;Under the Specify a Realm Name select the Attribute option on the left. From the drop down menu next to Attribute: on the right select User-Name. Click Next again.&lt;/li&gt;
&lt;li&gt;Review the settings on the next page and click Finish.&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
&lt;b&gt;Create a Network Policy.&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Right-click the Network Policy folder and click New.&lt;/li&gt;
&lt;li&gt;Set the Policy Name to something meaningful. Leave the Type of network access server as Unspecified and click Next.&lt;/li&gt;
&lt;li&gt;Under Conditions click Add.&lt;/li&gt;
&lt;li&gt;Add a UsersGroup condition to limit access to a specific AD user group. You can use a generic group like Domain Users or create a group specifically to restrict access.&lt;/li&gt;
&lt;li&gt;Add a Client Friendly Name condition and again specify the Friendly Name you used for your RADIUS client.&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Click Next. Leave Access granted selected and click Next again.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;(Important Step)&lt;/b&gt; On the authentication methods leave the default selection and add Unencrypted authentication (PAP, SPAP).&lt;/li&gt;
&lt;li&gt;Accept the default Constraints and click Next.&lt;/li&gt;
&lt;li&gt;Accept the default Radius Settings and click Next. Review the settings and click Finish.&lt;/li&gt;
&lt;/ol&gt;&lt;b&gt;Restart the Network Policy Server service.&lt;/b&gt; Probably not be necessary, but not a bad idea.  &lt;br /&gt;
&lt;h2&gt;Test Your RADIUS Authentication&lt;/h2&gt;&lt;h3&gt;CLI&lt;/h3&gt;&lt;code&gt;test-fw# test aaa authentication SERVER host 192.168.0.10 username &lt;i&gt;testuser&lt;/i&gt; password &lt;i&gt;mypassword&lt;/i&gt;&amp;nbsp;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;INFO: Attempting Authentication test to IP address &amp;lt;192.168.0.10&amp;gt; (timeout: 12 seconds)&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;INFO: Authentication Successful &lt;/code&gt;  &lt;br /&gt;
&lt;h3&gt;ASDM&lt;/h3&gt;The ASDM utility includes functionality to test RADIUS Authentication.&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;If necessary re-launch the ASDM utility.&lt;/li&gt;
&lt;li&gt;Return to Configuration &amp;gt; Remote Access VPN &amp;gt; AAA Setup &amp;gt; AAA Server Groups.&lt;/li&gt;
&lt;li&gt;Select the new Server Group you created.&lt;/li&gt;
&lt;li&gt;From the Servers in the Selected Group section highlight the server you created. Click the Test button on the right.&lt;/li&gt;
&lt;li&gt;Select the Authentication radio button. Enter the Username and Password of a user that meets the conditions specified in the Network Policy created above then click OK.&lt;/li&gt;
&lt;li&gt;If everything works as designed you should see something similar to "Authentication test to host &lt;host&gt; is successful"&lt;/host&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8527228685794819350-8538107951569652532?l=techpain.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yLyP/~4/NgPp1BBr3ZA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://techpain.blogspot.com/feeds/8538107951569652532/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://techpain.blogspot.com/2011/05/win-server-2008-dc-radius-server-for.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/8538107951569652532?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/8538107951569652532?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yLyP/~3/NgPp1BBr3ZA/win-server-2008-dc-radius-server-for.html" title="Win Server 2008 DC RADIUS server for a Cisco ASA VPN" /><author><name>techpain</name><uri>http://www.blogger.com/profile/03097224607709116694</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_dDEhe0T6JWE/SYzB0Z43hyI/AAAAAAAAAAk/kSt0lHukfnI/S220/wrench.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://techpain.blogspot.com/2011/05/win-server-2008-dc-radius-server-for.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0AASX0zcSp7ImA9WhZTF0g.&quot;"><id>tag:blogger.com,1999:blog-8527228685794819350.post-3268469055987976349</id><published>2011-03-21T16:55:00.000-07:00</published><updated>2011-03-21T16:55:48.389-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-21T16:55:48.389-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="home directory" /><category scheme="http://www.blogger.com/atom/ns#" term="bash" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="command" /><category scheme="http://www.blogger.com/atom/ns#" term="script" /><title>Bash Scripting repetitive tasks</title><content type="html">An audit on a Linux server made it necessary to get information regarding every user on the machine, and match those users to a mail directory (which may or may not have a different name). Instead of running the 'finger' command three hundred times and copying the output somewhere I used this:&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
#! /bin/sh&lt;br /&gt;
while read username; do&lt;br /&gt;
finger ${username}&lt;br /&gt;
done &lt; inputfile &gt; outputfile&lt;br /&gt;
exit 0&lt;/code&gt;&lt;br /&gt;
I saved this as finger_script.sh and copied each of the usernames to the file 'inputfile'. The 'inputfile' contained just the usernames that I cut and pasted from the mail directory in question, and looked like this:&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
bill     frank     keith     user01    user05    user09&lt;br /&gt;
carl     gary      larry     user02    user06    user10&lt;br /&gt;
dan      heather   mary      user03    user07    user11&lt;br /&gt;
denise   joe       nancy     user04    user08    user12&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
Running &lt;code&gt;finger_script.sh&lt;/code&gt; ran the finger command on each user in the 'inputfile' and immediately output a list of users that did not exist. It also created 'outputfile', which contained a list of the information on each user:&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
Login: bill                             Name: Bill Person&lt;br /&gt;
Directory: /home/b/bill                 Shell: /bin/nologon&lt;br /&gt;
Never logged in.&lt;br /&gt;
No mail.&lt;br /&gt;
No Plan.&lt;br /&gt;
&lt;br /&gt;
Login: carl                             Name: Carl Guy&lt;br /&gt;
Directory: /users/carl                  Shell: /bin/nologon&lt;br /&gt;
Never logged in.&lt;br /&gt;
No mail.&lt;br /&gt;
No Plan.&lt;br /&gt;
&lt;br /&gt;
Login: dan                              Name: Dan Theman&lt;br /&gt;
Directory: /users/dan                   Shell: /bin/nologon&lt;br /&gt;
Never logged in.&lt;br /&gt;
No mail.&lt;br /&gt;
No Plan.&lt;br /&gt;
&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8527228685794819350-3268469055987976349?l=techpain.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yLyP/~4/YBe62994Cv0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://techpain.blogspot.com/feeds/3268469055987976349/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://techpain.blogspot.com/2011/03/bash-scripting-repetitive-tasks.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/3268469055987976349?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/3268469055987976349?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yLyP/~3/YBe62994Cv0/bash-scripting-repetitive-tasks.html" title="Bash Scripting repetitive tasks" /><author><name>techpain</name><uri>http://www.blogger.com/profile/03097224607709116694</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_dDEhe0T6JWE/SYzB0Z43hyI/AAAAAAAAAAk/kSt0lHukfnI/S220/wrench.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://techpain.blogspot.com/2011/03/bash-scripting-repetitive-tasks.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkEGRnszfyp7ImA9WhZTF0g.&quot;"><id>tag:blogger.com,1999:blog-8527228685794819350.post-9035374672667922016</id><published>2011-03-21T16:34:00.000-07:00</published><updated>2011-03-21T16:37:07.587-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-21T16:37:07.587-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="security" /><category scheme="http://www.blogger.com/atom/ns#" term="iptables" /><category scheme="http://www.blogger.com/atom/ns#" term="fail2ban" /><title>Fail2Ban - Reload banned IP's after a restart</title><content type="html">Restarting fail2ban will drop all of your currently banned IP's from iptables. To reload those banned IP's try this.&lt;br /&gt;
&lt;br /&gt;
First, output your currently fail2-banned IP's to a text file with the iptables commands:&lt;br /&gt;
&lt;code&gt;iptables-save | grep '\-A fail2ban' | sed 's/\-A/iptables\ \-A/' &gt; bannedIPs.txt&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Stop fail2ban, make your config changes, etc. and restart:&lt;br /&gt;
&lt;code&gt;service fail2ban stop&lt;br /&gt;
service fail2ban start&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Load your iptables commands by piping your saved rules to bash:&lt;br /&gt;
&lt;code&gt;cat bannedIPs.txt | /bin/bash&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8527228685794819350-9035374672667922016?l=techpain.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yLyP/~4/r_aEPC9cLiI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://techpain.blogspot.com/feeds/9035374672667922016/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://techpain.blogspot.com/2011/03/fail2ban-reload-banned-ips-after.html#comment-form" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/9035374672667922016?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/9035374672667922016?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yLyP/~3/r_aEPC9cLiI/fail2ban-reload-banned-ips-after.html" title="Fail2Ban - Reload banned IP's after a restart" /><author><name>techpain</name><uri>http://www.blogger.com/profile/03097224607709116694</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_dDEhe0T6JWE/SYzB0Z43hyI/AAAAAAAAAAk/kSt0lHukfnI/S220/wrench.png" /></author><thr:total>3</thr:total><feedburner:origLink>http://techpain.blogspot.com/2011/03/fail2ban-reload-banned-ips-after.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0YGQXo-eCp7ImA9WhZTFEw.&quot;"><id>tag:blogger.com,1999:blog-8527228685794819350.post-7563345654232569573</id><published>2011-03-17T20:32:00.000-07:00</published><updated>2011-03-17T20:32:00.450-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-17T20:32:00.450-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="rpm" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="yum" /><title>Broken yum - yum hangs when trying to remove a package</title><content type="html">I removed a package with yum "successfully" but was unable to reinstall it, as yum seemed to think it was already installed.&lt;br /&gt;
&lt;br /&gt;
Check a package for corruption: &lt;code&gt;rpm -Vv package&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Remove a package from the rpm database:&lt;br /&gt;
&lt;code&gt;rpm -e --justdb --nodeps package&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Probably a good idea to &lt;code&gt;yum clean all&lt;/code&gt; if you didn't already.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8527228685794819350-7563345654232569573?l=techpain.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yLyP/~4/7RJiZCp--fU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://techpain.blogspot.com/feeds/7563345654232569573/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://techpain.blogspot.com/2011/03/broken-yum-yum-hangs-when-trying-to.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/7563345654232569573?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/7563345654232569573?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yLyP/~3/7RJiZCp--fU/broken-yum-yum-hangs-when-trying-to.html" title="Broken yum - yum hangs when trying to remove a package" /><author><name>techpain</name><uri>http://www.blogger.com/profile/03097224607709116694</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_dDEhe0T6JWE/SYzB0Z43hyI/AAAAAAAAAAk/kSt0lHukfnI/S220/wrench.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://techpain.blogspot.com/2011/03/broken-yum-yum-hangs-when-trying-to.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkABRHo4cSp7ImA9WhZTE0Q.&quot;"><id>tag:blogger.com,1999:blog-8527228685794819350.post-6067987780203899768</id><published>2011-03-03T11:33:00.000-08:00</published><updated>2011-03-17T13:45:55.439-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-17T13:45:55.439-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="command" /><title>Symlinks - Changing a symbolic link</title><content type="html">&lt;code&gt;$ ln -s new current_tmp &amp;&amp; mv -Tf current_tmp current&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;From &lt;a href="http://blog.moertel.com/articles/2005/08/22/how-to-change-symlinks-atomically" target="_blank"&gt;Tom Moertel's Blog&lt;/a&gt; (Thanks Tom!):&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;...if I have a symlink current that points to a directory old, and I want to change it to point to a directory new, I might use the following command:&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;$ ln -snf new current&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Strace shows what really happens when I run the command:&lt;br /&gt;
&lt;code&gt;$ strace ln -snf new current 2&gt;&amp;1 | grep link&lt;br /&gt;
unlink("current")         = 0&lt;br /&gt;
symlink("new", "current") = 0&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
First, the existing symlink is deleted via the unlink system call. Then a new, identically named symlink is created via the symlink system call. It’s a two-step process, and in between the steps, there is no symlink.&lt;br /&gt;
&lt;br /&gt;
This can be a problem if you expect the symlink to be there always, such as when using the link to point to the active version of a live web site. If you change the symlink while deploying a new version of your site, for example, the web server might try to dereference the link during the small window of time when it doesn’t exist. Oops.&lt;br /&gt;
&lt;br /&gt;
The solution to this problem is to effect the change by creating a new symlink and then renaming it over the old symlink. On Unix-like systems, renaming is an atomic operation, and thus the symlink “change” will be atomic too. By hand, the process looks like this:&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;$ ln -s new current_tmp &amp;&amp; mv -Tf current_tmp current&lt;/code&gt;&lt;/blockquote&gt;&lt;br /&gt;
To remove a symbolic link to a directory you need to &lt;code&gt;rm symlink&lt;/code&gt; instead of &lt;code&gt;rm symlink/&lt;/code&gt; because you need to remove the symlink file instead of deleting the directory.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8527228685794819350-6067987780203899768?l=techpain.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yLyP/~4/oakTLQRoS94" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://techpain.blogspot.com/feeds/6067987780203899768/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://techpain.blogspot.com/2011/03/symlinks-changing-symbolic-link.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/6067987780203899768?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/6067987780203899768?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yLyP/~3/oakTLQRoS94/symlinks-changing-symbolic-link.html" title="Symlinks - Changing a symbolic link" /><author><name>techpain</name><uri>http://www.blogger.com/profile/03097224607709116694</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_dDEhe0T6JWE/SYzB0Z43hyI/AAAAAAAAAAk/kSt0lHukfnI/S220/wrench.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://techpain.blogspot.com/2011/03/symlinks-changing-symbolic-link.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkcDQ3w4fSp7ImA9Wx9bE00.&quot;"><id>tag:blogger.com,1999:blog-8527228685794819350.post-686349146923556867</id><published>2011-02-21T09:02:00.000-08:00</published><updated>2011-02-21T09:07:52.235-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-21T09:07:52.235-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="remote administration" /><category scheme="http://www.blogger.com/atom/ns#" term="regedit" /><category scheme="http://www.blogger.com/atom/ns#" term="Win7" /><category scheme="http://www.blogger.com/atom/ns#" term="Windows" /><title>Changing the Remote Desktop (RDP) Listening Port Number</title><content type="html">&lt;a href="http://blog.tmcnet.com/blog/tom-keating/images/remote-desktop-icon.gif" rel="lightbox" title="Remote Desktop"&gt;&lt;img alt="Remote Desktop" border="0" src="http://blog.tmcnet.com/blog/tom-keating/images/remote-desktop-icon.gif" /&gt;&lt;/a&gt; Changing the port number for RDP (remote desktop protocol) just involves a simple regedit:&lt;br /&gt;
&lt;br /&gt;
1) Start &gt; Search &gt; Regedit&lt;br /&gt;
&lt;br /&gt;
2) Browse to HKEY_LOCAL_MACHINE &gt; System &gt; CurrentControlSet &gt; Control &gt; TerminalServer &gt; WinStations &gt; RDP-Tcp&lt;br /&gt;
&lt;br /&gt;
3) Locate the &lt;code&gt;PortNumber&lt;/code&gt; subkey, change it to 'decimal' and change the Port number&lt;br /&gt;
&lt;br /&gt;
4) Adjust firewalls appropriately.&lt;br /&gt;
&lt;br /&gt;
5) Reboot.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8527228685794819350-686349146923556867?l=techpain.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yLyP/~4/MjEUu1Op7FE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://techpain.blogspot.com/feeds/686349146923556867/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://techpain.blogspot.com/2011/02/changing-remote-desktop-rdp-listening.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/686349146923556867?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/686349146923556867?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yLyP/~3/MjEUu1Op7FE/changing-remote-desktop-rdp-listening.html" title="Changing the Remote Desktop (RDP) Listening Port Number" /><author><name>techpain</name><uri>http://www.blogger.com/profile/03097224607709116694</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_dDEhe0T6JWE/SYzB0Z43hyI/AAAAAAAAAAk/kSt0lHukfnI/S220/wrench.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://techpain.blogspot.com/2011/02/changing-remote-desktop-rdp-listening.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0IMSHg9eCp7ImA9Wx9UE0w.&quot;"><id>tag:blogger.com,1999:blog-8527228685794819350.post-8832163939318376705</id><published>2011-02-09T19:13:00.000-08:00</published><updated>2011-02-09T20:19:49.660-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-09T20:19:49.660-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SSH" /><category scheme="http://www.blogger.com/atom/ns#" term="security" /><title>Generating and using SSH keys for authentication</title><content type="html">&lt;b&gt;Setting up SSH keys&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;a href="http://i31.photobucket.com/albums/c397/TalkToYourPillow/techpain/logo_ssh.png" rel="lightbox" title="ssh"&gt;&lt;img alt="ssh" border="0" src="http://i31.photobucket.com/albums/c397/TalkToYourPillow/techpain/logo_ssh.png" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;SSH keys are great, but remember to keep your private key (~/.ssh/id_rsa) safe! And check out the &lt;a href="http://www.cyberciti.biz/tips/linux-unix-bsd-openssh-server-best-practices.html" target="_blank"&gt;"Top 20 OpenSSH Server Best Security Practices"&lt;/a&gt; article at cyberciti.biz for some security tips. All you need to do to use SSH key authentication is to generate a key pair (public and private) and copy the public key to the remote server.&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br /&gt;
To generate a new key:&lt;br /&gt;
&lt;code&gt;ssh-keygen -t rsa&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
which will look something like this:&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
[root@localhost ~]# ssh-keygen -t rsa&lt;br /&gt;
Generating public/private rsa key pair.&lt;br /&gt;
Enter file in which to save the key (/root/.ssh/id_rsa): &lt;br /&gt;
Created directory '/root/.ssh'.&lt;br /&gt;
Enter passphrase (empty for no passphrase): &lt;br /&gt;
Enter same passphrase again: &lt;br /&gt;
Your identification has been saved in /root/.ssh/id_rsa.&lt;br /&gt;
Your public key has been saved in /root/.ssh/id_rsa.pub.&lt;br /&gt;
The key fingerprint is:&lt;br /&gt;
xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx root@localhost&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
This will also create the /.ssh directory with the correct permissions (if it doesn't already exist), along with the private key (id_rsa) and the public key (id_rsa.pub). You can specify different names, which may be useful for creating multiple keys. You can also generate keys for specific users other than root. 'su' is the easiest way to do this, because the directories and permissions won't need to be fixed later:&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
[root@localhost ~]# su user1&lt;br /&gt;
[user1@localhost ~]# ssh-keygen -t rsa&lt;br /&gt;
Generating public/private rsa key pair.&lt;br /&gt;
Enter file in which to save the key (/home/user1/.ssh/id_rsa): &lt;br /&gt;
Created directory '/home/user1/.ssh'.&lt;br /&gt;
Enter passphrase (empty for no passphrase): &lt;br /&gt;
Enter same passphrase again: &lt;br /&gt;
Your identification has been saved in /home/user1/.ssh/id_rsa.&lt;br /&gt;
Your public key has been saved in /root/.ssh/id_rsa.pub.&lt;br /&gt;
The key fingerprint is:&lt;br /&gt;
xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx user1@localhost&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
The public key will then need to be copied to the remote server's &lt;code&gt;~user/.ssh/authorized_keys&lt;/code&gt; file:&lt;br /&gt;
&lt;code&gt;scp .ssh/id_rsa.pub remotehost:.ssh/authorized_keys&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Some additional notes on using SSH keys&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Verbose output: &lt;code&gt;ssh -vv -l user host&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Specify a key to use with the &lt;b&gt;-i&lt;/b&gt; flag:&lt;br /&gt;
&lt;code&gt;ssh -i /path/to/key -l user host&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;ssh-keygen flags&lt;/b&gt;&lt;br /&gt;
Change a passphrase on a key: -p&lt;br /&gt;
&lt;br /&gt;
Specify number of bits: -b 2048&lt;br /&gt;
&lt;br /&gt;
Comment a key: -c comment&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8527228685794819350-8832163939318376705?l=techpain.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yLyP/~4/A4OpoKgZZWY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://techpain.blogspot.com/feeds/8832163939318376705/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://techpain.blogspot.com/2011/02/generating-and-using-ssh-keys-for.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/8832163939318376705?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/8832163939318376705?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yLyP/~3/A4OpoKgZZWY/generating-and-using-ssh-keys-for.html" title="Generating and using SSH keys for authentication" /><author><name>techpain</name><uri>http://www.blogger.com/profile/03097224607709116694</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_dDEhe0T6JWE/SYzB0Z43hyI/AAAAAAAAAAk/kSt0lHukfnI/S220/wrench.png" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://i31.photobucket.com/albums/c397/TalkToYourPillow/techpain/th_logo_ssh.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://techpain.blogspot.com/2011/02/generating-and-using-ssh-keys-for.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0cESXszcCp7ImA9Wx9UEko.&quot;"><id>tag:blogger.com,1999:blog-8527228685794819350.post-4379714228607440639</id><published>2011-02-04T21:55:00.000-08:00</published><updated>2011-02-09T11:16:48.588-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-09T11:16:48.588-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="command" /><category scheme="http://www.blogger.com/atom/ns#" term="SSH" /><title>Keep a process running after disconnecting SSH session</title><content type="html">&lt;/code&gt;nohup&lt;/code&gt;: run a command immune to hangups, with output to a non-tty&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Run a process in the background (keep it running after SSH session is disconnected):&lt;br /&gt;
&lt;code&gt;nohup command &amp;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
Schedule a command to run later:&lt;br /&gt;
&lt;code&gt;echo "command" | at now + 30 minute&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8527228685794819350-4379714228607440639?l=techpain.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yLyP/~4/d90Tmdl5QCQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://techpain.blogspot.com/feeds/4379714228607440639/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://techpain.blogspot.com/2011/02/keep-process-running-after.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/4379714228607440639?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/4379714228607440639?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yLyP/~3/d90Tmdl5QCQ/keep-process-running-after.html" title="Keep a process running after disconnecting SSH session" /><author><name>techpain</name><uri>http://www.blogger.com/profile/03097224607709116694</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_dDEhe0T6JWE/SYzB0Z43hyI/AAAAAAAAAAk/kSt0lHukfnI/S220/wrench.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://techpain.blogspot.com/2011/02/keep-process-running-after.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkUASXo4eSp7ImA9WhZTGUQ.&quot;"><id>tag:blogger.com,1999:blog-8527228685794819350.post-3327569678242939765</id><published>2010-12-31T12:24:00.000-08:00</published><updated>2011-03-24T12:17:28.431-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-24T12:17:28.431-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="email" /><category scheme="http://www.blogger.com/atom/ns#" term="postfix" /><title>Managing a Postfix Queue - Commands</title><content type="html">Show messages in queue: &lt;b&gt;&lt;code&gt;postqueue -p&lt;/code&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Display message: &lt;b&gt;&lt;code&gt;postcat /path/to/postqueue/messageID&lt;/code&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Delete a message: &lt;b&gt;&lt;code&gt;postsuper -d (queue ID)&lt;/code&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Delete ALL messages: &lt;b&gt;&lt;code&gt;postsuper -d ALL&lt;/code&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Attempt delivery of a message: &lt;b&gt;&lt;code&gt;postqueue -i (queue ID)&lt;/code&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Attempt delivery of all mail queued for a particular site: &lt;b&gt;&lt;code&gt;postqueue -s (site) &lt;/code&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Attempt delivery of all messages (flush): &lt;b&gt;&lt;code&gt;postqueue -f&lt;/code&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Put mail "on hold" (stop delivery attempts): &lt;b&gt;&lt;code&gt;postsuper -h (queue ID)&lt;/code&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Release mail that was put on hold: &lt;b&gt;&lt;code&gt;postsuper -h (queue ID)&lt;/code&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Show various postfix queue stats: &lt;b&gt;&lt;code&gt;qshape&lt;/b&gt;&lt;/code&gt;&lt;br /&gt;
More on &lt;a href="http://www.postfix.org/QSHAPE_README.html" target="_blank"&gt;qshape&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8527228685794819350-3327569678242939765?l=techpain.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yLyP/~4/Dj8Zspi51f8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://techpain.blogspot.com/feeds/3327569678242939765/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://techpain.blogspot.com/2010/12/managing-postfix-queue-commands.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/3327569678242939765?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/3327569678242939765?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yLyP/~3/Dj8Zspi51f8/managing-postfix-queue-commands.html" title="Managing a Postfix Queue - Commands" /><author><name>techpain</name><uri>http://www.blogger.com/profile/03097224607709116694</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_dDEhe0T6JWE/SYzB0Z43hyI/AAAAAAAAAAk/kSt0lHukfnI/S220/wrench.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://techpain.blogspot.com/2010/12/managing-postfix-queue-commands.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE8ASHw8eSp7ImA9Wx9RFkw.&quot;"><id>tag:blogger.com,1999:blog-8527228685794819350.post-4464804321215266040</id><published>2010-12-17T11:07:00.000-08:00</published><updated>2010-12-17T11:07:29.271-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-17T11:07:29.271-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="secure certificate" /><category scheme="http://www.blogger.com/atom/ns#" term="IIS" /><category scheme="http://www.blogger.com/atom/ns#" term="ssl" /><category scheme="http://www.blogger.com/atom/ns#" term="apache" /><title>Moving SSL Certificates from IIS to Apache</title><content type="html">1) &lt;b&gt;Export the certificate from IIS&lt;/b&gt;. The easiest way to do this is from the MMC Certificates snap-in. &lt;a href="http://technet.microsoft.com/en-us/library/cc754431.aspx"&gt;Instructions for adding the certificates snap-in to MMC&lt;/a&gt; are available at technet.microsoft.com&lt;br /&gt;
&lt;br /&gt;
2) &lt;b&gt;Move the .pfx to your Apache web server&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
3) &lt;b&gt;Extract the SSL cert and key from the .pfx file&lt;/b&gt;:&lt;code&gt;&lt;br /&gt;
# To export the private key from the pfx file:&lt;br /&gt;
openssl pkcs12 -in win_cert.pfx -nocerts -out key.pem&lt;br /&gt;
&lt;br /&gt;
# To export the certificate from the pfx file:&lt;br /&gt;
openssl pkcs12 -in win_cert.pfx -clcerts -nokeys -out cert.pem&lt;br /&gt;
&lt;br /&gt;
# To remove the password from the key:&lt;br /&gt;
openssl rsa -in key.pem -out key_with_no_pw.key&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
4) &lt;b&gt;Install your certificate&lt;/b&gt;. &lt;a href="http://techpain.blogspot.com/2009/04/installing-your-secure-certificate.html"&gt;Installing certificates is easy!&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8527228685794819350-4464804321215266040?l=techpain.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yLyP/~4/QreOFXi43_I" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://techpain.blogspot.com/feeds/4464804321215266040/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://techpain.blogspot.com/2010/12/moving-ssl-certificates-from-iis-to.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/4464804321215266040?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/4464804321215266040?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yLyP/~3/QreOFXi43_I/moving-ssl-certificates-from-iis-to.html" title="Moving SSL Certificates from IIS to Apache" /><author><name>techpain</name><uri>http://www.blogger.com/profile/03097224607709116694</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_dDEhe0T6JWE/SYzB0Z43hyI/AAAAAAAAAAk/kSt0lHukfnI/S220/wrench.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://techpain.blogspot.com/2010/12/moving-ssl-certificates-from-iis-to.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEYBQns4fip7ImA9Wx5XFEw.&quot;"><id>tag:blogger.com,1999:blog-8527228685794819350.post-290391989622200034</id><published>2010-09-12T16:21:00.000-07:00</published><updated>2010-09-13T14:09:13.536-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-09-13T14:09:13.536-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Scalix" /><category scheme="http://www.blogger.com/atom/ns#" term="email" /><title>Adjust Scalix Webmail Attachment Size Limit</title><content type="html">&lt;b&gt;Can I limit the attachment size for messages prepared in Scalix Web Access? Sure.&lt;/b&gt;&lt;br /&gt;
From the &lt;a href="http://www.scalix.com/wiki/index.php?title=Can_I_limit_the_attachment_size_for_messages_prepared_in_Scalix_Web_Access%3F" target="_blank"&gt;Scalix Wiki&lt;/a&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Scalix 11.x&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Navigate to /var/opt/scalix/&lt;i&gt;nn&lt;/i&gt;/webmail directory on the Scalix server, where the file swa.properties exists.&lt;/li&gt;
&lt;li&gt;Open the swa.properties file with any editor.&lt;/li&gt;
&lt;li&gt;Near the top of the file, locate the parameter “maxAttachmentUploadKilobytes”. By default this is set to 10240, which equates to 10MB attachments. Modify the value appropriately and save the file.&lt;/li&gt;
&lt;li&gt;Restart scalix-tomcat.&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
&lt;b&gt;Scalix 10.x&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Navigate to /etc/opt/scalix/webmail directory on the Scalix server, where the file partner.xml exists.&lt;/li&gt;
&lt;li&gt;Open the partner.xml file with any editor.&lt;/li&gt;
&lt;li&gt;Near the top of the file, locate the parameter “maxAttachmentUploadKilobytes”. By default this is set to 10240, which equates to 10MB attachments. Modify the value appropriately and save the file.&lt;/li&gt;
&lt;li&gt;Restart Tomcat.&lt;/li&gt;
&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8527228685794819350-290391989622200034?l=techpain.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yLyP/~4/xWljFOpMcXw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://techpain.blogspot.com/feeds/290391989622200034/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://techpain.blogspot.com/2010/09/adjust-scalix-webmail-attachment-size.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/290391989622200034?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/290391989622200034?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yLyP/~3/xWljFOpMcXw/adjust-scalix-webmail-attachment-size.html" title="Adjust Scalix Webmail Attachment Size Limit" /><author><name>techpain</name><uri>http://www.blogger.com/profile/03097224607709116694</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_dDEhe0T6JWE/SYzB0Z43hyI/AAAAAAAAAAk/kSt0lHukfnI/S220/wrench.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://techpain.blogspot.com/2010/09/adjust-scalix-webmail-attachment-size.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUEBRX84eyp7ImA9Wx5QGU0.&quot;"><id>tag:blogger.com,1999:blog-8527228685794819350.post-864297610022440234</id><published>2010-09-01T13:37:00.000-07:00</published><updated>2010-09-07T18:00:54.133-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-09-07T18:00:54.133-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="server" /><category scheme="http://www.blogger.com/atom/ns#" term="remote administration" /><category scheme="http://www.blogger.com/atom/ns#" term="batch" /><category scheme="http://www.blogger.com/atom/ns#" term="TS/RDS" /><category scheme="http://www.blogger.com/atom/ns#" term="command" /><category scheme="http://www.blogger.com/atom/ns#" term="RDP" /><category scheme="http://www.blogger.com/atom/ns#" term="terminal" /><category scheme="http://www.blogger.com/atom/ns#" term="script" /><title>Log Off All Users Except (user x) from Terminal Server - Windows Batch File</title><content type="html">Came across a situation where we needed to automatically disconnect all users from a terminal server, except for one specific user. The following script (thanks Ferdinand!) can be run as a batch file to accomplish just that; it will log off all terminal server users except for 'userx'. It gives each user a 5 minute and 1 minute warning, then runs a 'query session' to see what sessions show up and writes them to a file call 'sessions.txt'. Next it searches the session.txt file for "userx" and writes the rest of the sessions to "killts.txt", logs off those sessions/users, and deletes the .txt files that it created. It goes through the process twice to get active AND disconnected sessions.&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;b&gt;&lt;br /&gt;
@ECHO OFF&lt;br /&gt;
msg * You will be logged off in 5 minutes.&lt;br /&gt;
choice /T:240 /D N /N &gt; Nul&lt;br /&gt;
msg * You will be disconnected in 1 minute! Please log off now!&lt;br /&gt;
choice /T:60 /D N /N &gt; Nul&lt;br /&gt;
query session &gt;C:\SchedTasks\sessions.txt&lt;br /&gt;
find /v "userx" C:\SchedTasks\sessions.txt &gt; C:\SchedTasks\killts.txt&lt;br /&gt;
for /f "skip=5 tokens=3," %%i in (C:\SchedTasks\killts.txt) DO logoff %%i&lt;br /&gt;
query session &gt;C:\SchedTasks\sessions.txt&lt;br /&gt;
find /v "userx" C:\SchedTasks\sessions.txt &gt; C:\SchedTasks\killts.txt&lt;br /&gt;
for /f "skip=5 tokens=2," %%i in (C:\SchedTasks\killts.txt) DO reset session %%i&lt;br /&gt;
del C:\SchedTasks\sessions.txt&lt;br /&gt;
del C:\SchedTasks\killts.txt&lt;br /&gt;
EXIT&lt;br /&gt;
&lt;/b&gt;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Here are some other related Windows TS/RDS commands &lt;span style="font-size: x-small;"&gt;(from &lt;a href="http://thelazyadmin.com/blogs/thelazyadmin/archive/2005/06/24/Terminal-Services-Command-Line-Administration.aspx" target="_blank"&gt;thelazyadmin.com&lt;/a&gt;)&lt;/span&gt;:&lt;br /&gt;
&lt;br /&gt;
Query TermServer - Lists all terminal servers in the current domain.&lt;br /&gt;
&lt;code&gt;&lt;b&gt;QUERY TERMSERVER [/domain:domain] [/address][/continue]&lt;/b&gt;&lt;/code&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* /domain:domain - specifies the domain (current logged on domain is default)&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* /address - lists the IP address of the terminal server&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* /continue - removes the pause between output screens &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Query Session - Lists all current sessions running on a terminal server.&lt;br /&gt;
&lt;code&gt;&lt;b&gt;QUERY SESSION [sessionname | username | sessionid][/server:servername] [/mode] [/flow] [/connect] [/counter]&lt;/b&gt;&lt;/code&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* sessionname is the name of the session that you want to query&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* username is the name of the user you want to query&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* sessionid is the ID of the session you want to query&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* /server:servername is the name of the server you are querying&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* /mode outputs the current line settings&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* /flow outputs the current flow control settings /connect outputs the current connection settings&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* /counter outputs the counter information for the server &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Query User or Quser - Lists all current users on a terminal server&lt;br /&gt;
&lt;code&gt;&lt;b&gt;QUERY USER [username | sessionname | sessionid] [/server:servername]&lt;/b&gt;&lt;/code&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* sessionname is the name of a specific session that you want to query&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* username is the name of the specific user you want to query&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* sessionid is the ID of the specific session you want to query&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* /server:servername is the name of the server you are querying &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Query Process - Lists all processes running on the terminal server.&lt;br /&gt;
&lt;code&gt;&lt;b&gt;QUERY PROCESS [ x | processid | username | sessionname | /id:nn | programname] [/server:servername] [/system]&lt;/b&gt;&lt;/code&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* x lists information on all processes (note - replace x with an asterisk)&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* processid lists information about only the specific process ID&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* username lists processes running under the context of a specific user&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* sessionname lists processes running under the context of a specific session&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* /ID:nn lists processes running in the session with the specified session ID number&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* programname lists all processes started by the specified executable&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* /server:servername is the name of the server you are querying—the default is the server you are logged on to&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* /system lists processes running under the system context &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
TSShutdn - Will shutdown/reboot the terminal server after a specified delay.&lt;br /&gt;
&lt;code&gt;&lt;b&gt;TSSHUTDN [wait_time] [/server:servername] [/reboot] [/powerdown] [/delay:logoffdelay] [/v]&lt;/b&gt;&lt;/code&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* wait_time is the number of seconds to wait after notifying the users that the terminal server is about to shut down before forcibly logging them off (the default is 30 seconds)&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* /server:servername is the name of the server to reboot/shutdown (the default is the server to which you are connected)&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* /reboot reboots the server&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* /powerdown powers down the server after Windows has shutdown; the servers BIOS must support this command&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* /delay:logoffdelay the number of seconds to wait after logging out all users before shutting down the system (the default is 30 seconds)&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* /v displays verbose information about actions being performed &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Logoff - Will logoff the specified user off the terminal server and close the session. Caution, if you don't specify a user it will log you off!&lt;br /&gt;
&lt;code&gt;&lt;b&gt;LOGOFF [sessionid | sessionname] [/server:servername] [/v]&lt;/b&gt;&lt;/code&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* sessionid is the ID of the session you want to logoff&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* sessionname is the name of the session you want to logoff&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* /server:servername specifies the name of server on which the session you want to logoff is running&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* /v displays verbose information about actions being performed &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Reset Session - Will kill the specified users session without warning which can be useful when a users session is stuck. Caution, if you don't specify a user it will kill your session!&lt;br /&gt;
&lt;code&gt;&lt;b&gt;RESET SESSION [sessionname | sessionid] [/server:servername] [/v]&lt;/b&gt;&lt;/code&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* sessionid is the ID of the session you want to logoff&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* sessionname is the name of the session you want to logoff&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* /server:servername specifies the name of server on which the session you want to logoff is running&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* /v displays verbose information about actions being performed &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
MSG - Will popup a message on the specified user(s) terminal server session.&lt;br /&gt;
&lt;code&gt;&lt;b&gt;MSG [username | sessionname | sessionid | @filename | x ][/server:servername] [/time:seconds] [/v] [/w] message&lt;/b&gt;&lt;/code&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* username is the name of the user to whom you are sending the message&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* sessionname is the session name to which you want to send the message&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* sessionid is the ID number of the session to which you want to send the message&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* @filename is the name of a text file containing usernames, sessionnames, or session IDs to which you want to send the message&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* x sends the message to all users on the current or specified server (note - replace x with an asterisk)&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* /server:servername specifies the server where recipients of the message are connected&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* /time:seconds the number of seconds to display the message before the popup closes itself&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* /v displays information about the message as it is sent&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* /w causes the popup window to wait for the user to click OK before closing message is the text of the message to send &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Shadow - Will allow you to shadow or take control of a users session.&lt;br /&gt;
&lt;code&gt;&lt;b&gt;SHADOW [sessionname | sessionid] [/server:servername] [/v]&lt;/b&gt;&lt;/code&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* sessionid is the ID of the session you want to logoff&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* sessionname is the name of the session you want to logoff&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* /server:servername specifies the name of server on which the session you want to logoff is running&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;* /v displays verbose information about actions being performed &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
*** &lt;i&gt;NOTE: Windows Server 2008 changed the name Terminal Services (TS) to Remote Desktop Services (RDS), but the above commands are the same.&lt;/i&gt; ***&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8527228685794819350-864297610022440234?l=techpain.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yLyP/~4/CvgKRj8LNZw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://techpain.blogspot.com/feeds/864297610022440234/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://techpain.blogspot.com/2010/09/log-off-all-users-except-user-x-from.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/864297610022440234?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/864297610022440234?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yLyP/~3/CvgKRj8LNZw/log-off-all-users-except-user-x-from.html" title="Log Off All Users Except (user x) from Terminal Server - Windows Batch File" /><author><name>techpain</name><uri>http://www.blogger.com/profile/03097224607709116694</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_dDEhe0T6JWE/SYzB0Z43hyI/AAAAAAAAAAk/kSt0lHukfnI/S220/wrench.png" /></author><thr:total>1</thr:total><feedburner:origLink>http://techpain.blogspot.com/2010/09/log-off-all-users-except-user-x-from.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUMAQHkycSp7ImA9Wx5SE0o.&quot;"><id>tag:blogger.com,1999:blog-8527228685794819350.post-2734554361686426315</id><published>2010-08-09T11:10:00.000-07:00</published><updated>2010-08-09T11:10:41.799-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-08-09T11:10:41.799-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="permissions" /><category scheme="http://www.blogger.com/atom/ns#" term="bash" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="find" /><category scheme="http://www.blogger.com/atom/ns#" term="command" /><category scheme="http://www.blogger.com/atom/ns#" term="search" /><category scheme="http://www.blogger.com/atom/ns#" term="cron" /><title>Bash Scripts with a Variable - Show/Delete Files Older than x Days</title><content type="html">Show files and directories more than &lt;i&gt;15&lt;/i&gt; days old:&lt;br /&gt;
&lt;code&gt;&lt;b&gt;find /path/to/files/* -mtime +15&lt;/b&gt;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Delete files more than &lt;i&gt;15&lt;/i&gt; days old:&lt;br /&gt;
&lt;code&gt;&lt;b&gt;find /path/to/files/* -mtime +15 -exec rm {} \;&lt;/b&gt;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
These can, of course, be scripted (and cron'd, if you set the -mtime flag instead of using a variable). A script to show the files and directories older than &lt;i&gt;x&lt;/i&gt; days would look like:&lt;br /&gt;
&lt;code&gt;&lt;b&gt;&lt;br /&gt;
#!/bin/bash --&lt;br /&gt;
find /path/to/files/* -mtime $1&lt;/b&gt;&lt;/code&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
And to delete those same files:&lt;br /&gt;
&lt;code&gt;&lt;b&gt;&lt;br /&gt;
#!/bin/bash --&lt;br /&gt;
find /path/to/files/* -mtime $1 -exec rm {} \;&lt;/b&gt;&lt;/code&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Just remember to set the permissions of the script to allow execution, and pass the variable on the command line like so:&lt;br /&gt;
&lt;code&gt;&lt;b&gt;# MyScriptName +15&lt;/b&gt;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;&lt;a href="http://www.howtogeek.com/howto/ubuntu/delete-files-older-than-x-days-on-linux/" target="_blank"&gt;howtogeek.com&lt;/a&gt; has a detailed explanation of the command.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8527228685794819350-2734554361686426315?l=techpain.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yLyP/~4/I_Ll0jOYa8I" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://techpain.blogspot.com/feeds/2734554361686426315/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://techpain.blogspot.com/2010/08/bash-scripts-with-variable-showdelete.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/2734554361686426315?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/2734554361686426315?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yLyP/~3/I_Ll0jOYa8I/bash-scripts-with-variable-showdelete.html" title="Bash Scripts with a Variable - Show/Delete Files Older than x Days" /><author><name>techpain</name><uri>http://www.blogger.com/profile/03097224607709116694</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_dDEhe0T6JWE/SYzB0Z43hyI/AAAAAAAAAAk/kSt0lHukfnI/S220/wrench.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://techpain.blogspot.com/2010/08/bash-scripts-with-variable-showdelete.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkIFQH05eCp7ImA9Wx5SE0U.&quot;"><id>tag:blogger.com,1999:blog-8527228685794819350.post-5517596805369523226</id><published>2010-08-05T11:56:00.000-07:00</published><updated>2010-08-09T12:01:51.320-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-08-09T12:01:51.320-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Kaspersky (KAV)" /><category scheme="http://www.blogger.com/atom/ns#" term="Anti-Virus" /><title>Kaspersky Admin Kit - Clients Can't Synchronize</title><content type="html">I beat my head on this one for longer than I'd like to admit... I ran in to a problem where clients would show up in the KAV Admin Kit with the correct ip, the KAV Workstation and Network Agent showed up under 'Applications', and the server could ping the client's IP (and hostname), but the clients would not synchronize. Upon attempting to synchronize I received the all too common &lt;b&gt;'Cannot synchronize host settings now. Operation will be completed when host becomes available on the network.'&lt;/b&gt; error.&lt;br /&gt;
&lt;a href="http://i31.photobucket.com/albums/c397/TalkToYourPillow/techpain/KAVerror.png" rel="lightbox" title="KAV synchronize error"&gt;&lt;img alt="KAV synchronize error" border="0" src="http://i31.photobucket.com/albums/c397/TalkToYourPillow/techpain/KAVerror.png" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
The first things I checked were AD and GP, but those both looked good. Firewall settings were correct. I found a thread at the &lt;a href="http://forum.kaspersky.com/index.php?showtopic=5965&amp;amp;hl=network+agent+because+it+is+not+installed" target="_blank"&gt;KAV forums&lt;/a&gt; that pointed me specifically to the network agent.&lt;br /&gt;
Finally I found the problem by browsing to the Kaspersky Admin Kit 'Remote Install' directory:&lt;br /&gt;
&lt;a href="http://i31.photobucket.com/albums/c397/TalkToYourPillow/techpain/KAVadminkit.png" rel="lightbox" title="KAV 'Remote Install' directory"&gt;&lt;img alt="KAV 'Remote Install' directory" border="0" src="http://i31.photobucket.com/albums/c397/TalkToYourPillow/techpain/KAVadminkit.png" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
And then looked at the properties for the Kaspersky Network Agent:&lt;br /&gt;
&lt;a href="http://i31.photobucket.com/albums/c397/TalkToYourPillow/techpain/KAVnetagent.png" rel="lightbox" title="KAV Network Agent properties"&gt;&lt;img alt="KAV Network Agent properties" border="0" src="http://i31.photobucket.com/albums/c397/TalkToYourPillow/techpain/KAVnetagent.png" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Wrong IP address for the KAV Server! Updated, re-deployed the Network Agent, every snychronized.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8527228685794819350-5517596805369523226?l=techpain.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yLyP/~4/dKHTWLmBcTQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://techpain.blogspot.com/feeds/5517596805369523226/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://techpain.blogspot.com/2010/08/kaspersky-admin-kit-clients-cant.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/5517596805369523226?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/5517596805369523226?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yLyP/~3/dKHTWLmBcTQ/kaspersky-admin-kit-clients-cant.html" title="Kaspersky Admin Kit - Clients Can't Synchronize" /><author><name>techpain</name><uri>http://www.blogger.com/profile/03097224607709116694</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_dDEhe0T6JWE/SYzB0Z43hyI/AAAAAAAAAAk/kSt0lHukfnI/S220/wrench.png" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://i31.photobucket.com/albums/c397/TalkToYourPillow/techpain/th_KAVerror.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://techpain.blogspot.com/2010/08/kaspersky-admin-kit-clients-cant.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C04HSHw-fCp7ImA9Wx5SEE4.&quot;"><id>tag:blogger.com,1999:blog-8527228685794819350.post-5391209103703723425</id><published>2010-08-03T13:57:00.000-07:00</published><updated>2010-08-05T11:12:19.254-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-08-05T11:12:19.254-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="open source" /><category scheme="http://www.blogger.com/atom/ns#" term="alerts" /><category scheme="http://www.blogger.com/atom/ns#" term="mail" /><category scheme="http://www.blogger.com/atom/ns#" term="monitoring" /><category scheme="http://www.blogger.com/atom/ns#" term="nagios" /><title>Nagios - Customize Nagios Email Notifications</title><content type="html">I finally got tired of getting &lt;a href="http://www.nagios.org/" target="_blank"&gt;Nagios&lt;/a&gt; notifications and not having all the info I wanted in them. Specifically, I was guessing if the problem had been acknowledged based on the notification interval (how long since I received the last notification), or logging in to Nagios to check.&lt;br /&gt;
I decided to customize the Nagios email notifications by editing the &lt;code&gt;&lt;b&gt;# 'host-notify-by-email' command definition&lt;/b&gt;&lt;/code&gt;, which is the notification type that I've been using.&lt;br /&gt;
&lt;br /&gt;
Before, the &lt;code&gt;&lt;b&gt;# 'host-notify-by-email' command definition&lt;/b&gt;&lt;/code&gt; looked like this:&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;b&gt;command[host-notify-by-email]=/bin/echo -e "***** Nagios *****\n\nHost "$HOSTALIAS$" is $HOSTSTATE$!\n\n$HOSTADDRESS$\n\nDate/Time: $DATETIME$\n" | /bin/mail -s 'Host $HOSTNAME$ is $HOSTSTATE$!' $CONTACTEMAIL$&lt;/b&gt;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
which produced a notification that simply included the hostname, the state, and the date/time. I hopped on over to the &lt;a href="http://nagios.sourceforge.net/docs/3_0/macrolist.html" target="_blank"&gt;Nagios Macros page at Sourceforge&lt;/a&gt; and grabbed what I wanted, then edited the &lt;code&gt;&lt;b&gt;# 'host-notify-by-email' command definition&lt;/b&gt;&lt;/code&gt; as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;b&gt;# 'host-notify-by-email' command definition&lt;br /&gt;
define command{&lt;/b&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; command_name    host-notify-by-email&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;         command_line    /bin/echo -e "***** Nagios *****\n\nThis is a $NOTIFICATIONTYPE$ notice that "$HOSTALIAS$" is $HOSTSTATE$!\n\nHost IP is $HOSTADDRESS$\n\nDuration is $HOSTDURATION$\n\nDate/Time: $LONGDATETIME$\n\nhttp://nagios.mydomain.com/nagios/\n\n\nNagios Summary\nTotal Unhandled Host Problems:$TOTALHOSTPROBLEMSUNHANDLED$\nTotal Unhandled Service Problems:$TOTALSERVICEPROBLEMSUNHANDLED$" | /bin/mail -s 'Host $HOSTNAME$ is $HOSTSTATE$!' $CONTACTEMAIL$&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;/b&gt;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Now my Nagios email notifications look like this:&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;***** Nagios *****&lt;br /&gt;
&lt;br /&gt;
This is a PROBLEM notice that DevServer is DOWN!&lt;br /&gt;
&lt;br /&gt;
Host IP is 192.168.1.100&lt;br /&gt;
&lt;br /&gt;
Duration is 0d 0h 0m 0s&lt;br /&gt;
&lt;br /&gt;
Date/Time: Tue Aug 3 13:19:25 PDT 2010&lt;br /&gt;
&lt;br /&gt;
http://nagios.mydomain.com/nagios/&lt;br /&gt;
&lt;br /&gt;
Nagios Summary&lt;br /&gt;
Total Unhandled Host Problems:1&lt;br /&gt;
Total Unhandled Service Problems:0&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The "&lt;i&gt;This is a PROBLEM notice&lt;/i&gt;" part is created by the &lt;code&gt;&lt;b&gt;$NOTIFICATIONTYPE$&lt;/b&gt;&lt;/code&gt; macro. This is nice because it tells you what kind of notification it is ("PROBLEM", "RECOVERY", "ACKNOWLEDGEMENT", "FLAPPINGSTART", "FLAPPINGSTOP", "FLAPPINGDISABLED", "DOWNTIMESTART", "DOWNTIMEEND", or "DOWNTIMECANCELLED"), which is much more useful than just getting another DOWN notice when a problem is acknowledged.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8527228685794819350-5391209103703723425?l=techpain.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yLyP/~4/_bAkOw6lZqk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://techpain.blogspot.com/feeds/5391209103703723425/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://techpain.blogspot.com/2010/08/nagios-customize-nagios-email.html#comment-form" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/5391209103703723425?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/5391209103703723425?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yLyP/~3/_bAkOw6lZqk/nagios-customize-nagios-email.html" title="Nagios - Customize Nagios Email Notifications" /><author><name>techpain</name><uri>http://www.blogger.com/profile/03097224607709116694</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_dDEhe0T6JWE/SYzB0Z43hyI/AAAAAAAAAAk/kSt0lHukfnI/S220/wrench.png" /></author><thr:total>4</thr:total><feedburner:origLink>http://techpain.blogspot.com/2010/08/nagios-customize-nagios-email.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0UNQH87eip7ImA9WxFaEU8.&quot;"><id>tag:blogger.com,1999:blog-8527228685794819350.post-2703266093500202171</id><published>2010-07-14T08:28:00.000-07:00</published><updated>2010-07-14T08:28:11.102-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-14T08:28:11.102-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Windows" /><category scheme="http://www.blogger.com/atom/ns#" term="memory" /><title>Windows Physical Memory Limits</title><content type="html">&lt;span style="font-size: large;"&gt;Physical Memory Limits: Windows 7&lt;/span&gt;&lt;br /&gt;
The following table specifies the limits on physical memory for Windows&amp;nbsp;7.&lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;th&gt;Version&lt;/th&gt;&lt;th&gt;Limit in 32-bit Windows&lt;/th&gt;&lt;th&gt;Limit in 64-bit Windows&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows&amp;nbsp;7 Ultimate&lt;/td&gt;&lt;td&gt;4 GB&lt;/td&gt;&lt;td&gt;192 GB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows&amp;nbsp;7 Enterprise&lt;/td&gt;&lt;td&gt;4 GB&lt;/td&gt;&lt;td&gt;192 GB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows&amp;nbsp;7 Professional&lt;/td&gt;&lt;td&gt;4 GB&lt;/td&gt;&lt;td&gt;192 GB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows&amp;nbsp;7 Home Premium&lt;/td&gt;&lt;td&gt;4 GB&lt;/td&gt;&lt;td&gt;16 GB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows&amp;nbsp;7 Home Basic&lt;/td&gt;&lt;td&gt;4 GB&lt;/td&gt;&lt;td&gt;8 GB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows&amp;nbsp;7 Starter&lt;/td&gt;&lt;td&gt;2 GB&lt;/td&gt;&lt;td&gt;2 GB&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;Physical Memory Limits: Windows Server&amp;nbsp;2008&amp;nbsp;R2&lt;/span&gt;&lt;br /&gt;
The following table specifies the limits on physical memory for Windows Server&amp;nbsp;2008&amp;nbsp;R2. Windows Server&amp;nbsp;2008&amp;nbsp;R2 is available only in 64-bit editions. &lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;th&gt;Version&lt;/th&gt;&lt;th&gt;Limit in 64-bit Windows&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows Server&amp;nbsp;2008&amp;nbsp;R2 Datacenter&lt;/td&gt;&lt;td&gt;2 TB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows Server&amp;nbsp;2008&amp;nbsp;R2 Enterprise&lt;/td&gt;&lt;td&gt;2 TB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows Server&amp;nbsp;2008&amp;nbsp;R2 for Itanium-Based Systems&lt;/td&gt;&lt;td&gt;2 TB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows Server&amp;nbsp;2008&amp;nbsp;R2 Foundation&lt;/td&gt;&lt;td&gt;8 GB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows Server&amp;nbsp;2008&amp;nbsp;R2 Standard&lt;/td&gt;&lt;td&gt;32 GB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows HPC Server 2008 R2 &lt;/td&gt;&lt;td&gt;128 GB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows Web Server 2008 R2&lt;/td&gt;&lt;td&gt;32 GB&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;Physical Memory Limits: Windows Server&amp;nbsp;2008&lt;/span&gt;&lt;br /&gt;
The following table specifies the limits on physical memory for Windows Server&amp;nbsp;2008. Limits greater than 4 GB       for 32-bit Windows assume that &lt;a href="http://msdn.microsoft.com/en-us/library/aa366796%28v=VS.85%29.aspx"&gt;PAE&lt;/a&gt; is enabled.&lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;th&gt;Version&lt;/th&gt;&lt;th&gt;Limit in 32-bit Windows&lt;/th&gt;&lt;th&gt;Limit in 64-bit Windows&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows Server&amp;nbsp;2008 Datacenter&lt;/td&gt;&lt;td&gt;64 GB&lt;/td&gt;&lt;td&gt;2 TB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows Server&amp;nbsp;2008 Enterprise&lt;/td&gt;&lt;td&gt;64 GB&lt;/td&gt;&lt;td&gt;2 TB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows Server&amp;nbsp;2008 HPC Edition&lt;/td&gt;&lt;td&gt;Not applicable&lt;/td&gt;&lt;td&gt;128 GB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows Server&amp;nbsp;2008 Standard&lt;/td&gt;&lt;td&gt;4 GB&lt;/td&gt;&lt;td&gt;32 GB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows Server&amp;nbsp;2008 for Itanium-Based Systems&lt;/td&gt;&lt;td&gt;Not applicable&lt;/td&gt;&lt;td&gt;2 TB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows Small Business Server 2008 &lt;/td&gt;&lt;td&gt;4 GB&lt;/td&gt;&lt;td&gt;32 GB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows Web Server 2008&lt;/td&gt;&lt;td&gt;4 GB&lt;/td&gt;&lt;td&gt;32 GB&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;Physical Memory Limits: Windows&amp;nbsp;Vista&lt;/span&gt;&lt;br /&gt;
The following table specifies the limits on physical memory for Windows&amp;nbsp;Vista.&lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;th&gt;Version&lt;/th&gt;&lt;th&gt;Limit in 32-bit Windows&lt;/th&gt;&lt;th&gt;Limit in 64-bit Windows&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows&amp;nbsp;Vista Ultimate&lt;/td&gt;&lt;td&gt;4 GB&lt;/td&gt;&lt;td&gt;128 GB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows&amp;nbsp;Vista Enterprise&lt;/td&gt;&lt;td&gt;4 GB&lt;/td&gt;&lt;td&gt;128 GB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows&amp;nbsp;Vista Business&lt;/td&gt;&lt;td&gt;4 GB&lt;/td&gt;&lt;td&gt;128 GB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows&amp;nbsp;Vista Home Premium&lt;/td&gt;&lt;td&gt;4 GB&lt;/td&gt;&lt;td&gt;16 GB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows&amp;nbsp;Vista Home Basic&lt;/td&gt;&lt;td&gt;4 GB&lt;/td&gt;&lt;td&gt;8 GB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows&amp;nbsp;Vista Starter&lt;/td&gt;&lt;td&gt;1 GB&lt;/td&gt;&lt;td&gt;Not applicable&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;Physical Memory Limits: Windows Home Server&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;Windows Home Server is available only in a 32-bit edition. The physical memory limit is 4 GB. &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;Physical Memory Limits: Windows Server&amp;nbsp;2003&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;The following table specifies the limits on physical memory for Windows Server&amp;nbsp;2003. Limits over 4       GB for 32-bit Windows assume that &lt;a href="http://msdn.microsoft.com/en-us/library/aa366796%28v=VS.85%29.aspx"&gt;PAE&lt;/a&gt; is enabled.&lt;/span&gt;&lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;th&gt;Version&lt;/th&gt;&lt;th&gt;Limit in 32-bit Windows&lt;/th&gt;&lt;th&gt;Limit in 64-bit Windows&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows Server&amp;nbsp;2003 with Service Pack&amp;nbsp;2 (SP2), Datacenter Edition&lt;/td&gt;&lt;td&gt;128 GB&lt;br /&gt;
64 GB with 4GT&lt;/td&gt;&lt;td&gt;IA64  2 TB&lt;br /&gt;
X64 1 TB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows Server&amp;nbsp;2003 with Service Pack&amp;nbsp;2 (SP2), Enterprise Edition&lt;/td&gt;&lt;td&gt;64 GB&lt;/td&gt;&lt;td&gt;IA64  2 TB&lt;br /&gt;
X64 1 TB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows Storage Server&amp;nbsp;2003, Enterprise Edition&lt;/td&gt;&lt;td&gt;8 GB&lt;/td&gt;&lt;td&gt;Not applicable&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows Storage Server&amp;nbsp;2003&lt;/td&gt;&lt;td&gt;4 GB&lt;/td&gt;&lt;td&gt;Not applicable&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows Server&amp;nbsp;2003 R2 Datacenter Edition&lt;br /&gt;
Windows Server&amp;nbsp;2003 with Service Pack&amp;nbsp;1 (SP1), Datacenter Edition&lt;/td&gt;&lt;td&gt;128 GB&lt;br /&gt;
16 GB with 4GT&lt;/td&gt;&lt;td&gt;1 TB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows Server&amp;nbsp;2003 R2 Enterprise Edition&lt;br /&gt;
Windows Server&amp;nbsp;2003 with Service Pack&amp;nbsp;1 (SP1), Enterprise Edition&lt;/td&gt;&lt;td&gt;64 GB&lt;br /&gt;
16 GB with 4GT&lt;/td&gt;&lt;td&gt;1 TB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows Server&amp;nbsp;2003 R2 Standard Edition&lt;br /&gt;
Windows Server&amp;nbsp;2003, Standard Edition SP1&lt;br /&gt;
Windows Server&amp;nbsp;2003, Standard Edition SP2&lt;/td&gt;&lt;td&gt;4 GB&lt;/td&gt;&lt;td&gt;32 GB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows Server&amp;nbsp;2003, Datacenter Edition&lt;/td&gt;&lt;td&gt;128 GB&lt;br /&gt;
16 GB with 4GT&lt;/td&gt;&lt;td&gt;512 GB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows Server&amp;nbsp;2003, Enterprise Edition&lt;/td&gt;&lt;td&gt;32 GB&lt;br /&gt;
16 GB with 4GT&lt;/td&gt;&lt;td&gt;64 GB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows Server&amp;nbsp;2003, Standard Edition&lt;/td&gt;&lt;td&gt;4 GB&lt;/td&gt;&lt;td&gt;16 GB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows Server&amp;nbsp;2003, Web Edition&lt;/td&gt;&lt;td&gt;2 GB&lt;/td&gt;&lt;td&gt;Not applicable&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows Small Business Server 2003&lt;/td&gt;&lt;td&gt;4 GB&lt;/td&gt;&lt;td&gt;Not applicable&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows Compute Cluster Server&amp;nbsp;2003&lt;/td&gt;&lt;td&gt;Not applicable&lt;/td&gt;&lt;td&gt;32 GB&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;Physical Memory Limits: Windows&amp;nbsp;XP&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;The following table specifies the limits on physical memory for Windows&amp;nbsp;XP.&lt;/span&gt;&lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;th&gt;Version&lt;/th&gt;&lt;th&gt;Limit in 32-bit Windows&lt;/th&gt;&lt;th&gt;Limit in 64-bit Windows&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows&amp;nbsp;XP&lt;/td&gt;&lt;td&gt;4 GB&lt;/td&gt;&lt;td&gt;128 GB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows&amp;nbsp;XP Starter Edition&lt;/td&gt;&lt;td&gt;512 MB&lt;/td&gt;&lt;td&gt;Not applicable&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-size: large;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style="font-size: large;"&gt;Physical Memory Limits: Windows&amp;nbsp;2000&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;The following table specifies the limits on physical memory for Windows&amp;nbsp;2000.&lt;/span&gt;&lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;th&gt;Version&lt;/th&gt;&lt;th&gt;Limit in 32-bit Windows&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows&amp;nbsp;2000 Professional&lt;/td&gt;&lt;td&gt;4 GB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows&amp;nbsp;2000 Server&lt;/td&gt;&lt;td&gt;4 GB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows&amp;nbsp;2000 Advanced Server&lt;/td&gt;&lt;td&gt;8 GB&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Windows&amp;nbsp;2000 Datacenter Server&lt;/td&gt;&lt;td&gt;32 GB&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;Taken from &lt;a href="http://msdn.microsoft.com/en-us/library/aa366778%28VS.85%29.aspx" target="_blank"&gt;microsoft.com&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8527228685794819350-2703266093500202171?l=techpain.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yLyP/~4/F5jRJo1JVDE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://techpain.blogspot.com/feeds/2703266093500202171/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://techpain.blogspot.com/2010/07/windows-physical-memory-limits.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/2703266093500202171?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/2703266093500202171?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yLyP/~3/F5jRJo1JVDE/windows-physical-memory-limits.html" title="Windows Physical Memory Limits" /><author><name>techpain</name><uri>http://www.blogger.com/profile/03097224607709116694</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_dDEhe0T6JWE/SYzB0Z43hyI/AAAAAAAAAAk/kSt0lHukfnI/S220/wrench.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://techpain.blogspot.com/2010/07/windows-physical-memory-limits.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk8ARHw-cSp7ImA9WxFaEEs.&quot;"><id>tag:blogger.com,1999:blog-8527228685794819350.post-8842048580039883385</id><published>2010-07-13T16:47:00.000-07:00</published><updated>2010-07-13T16:47:25.259-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-13T16:47:25.259-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ESXi" /><category scheme="http://www.blogger.com/atom/ns#" term="vm" /><category scheme="http://www.blogger.com/atom/ns#" term="memory" /><title>ESXi Memory Overhead - Can't Admit VM: Memory admission check failed</title><content type="html">&lt;a href="http://i31.photobucket.com/albums/c397/TalkToYourPillow/techpain/ESXi_mem-overhead-error.png" rel="lightbox" title=""&gt;&lt;img alt="" border="0" src="http://i31.photobucket.com/albums/c397/TalkToYourPillow/techpain/ESXi-mem-overhead-error_sm.png" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Doh. From &lt;a href="http://www.vm-help.com/esx40i/memory_allocation.php" target="_blank"&gt;VM-Help.com&lt;/a&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;"On a system with a lower amount of RAM you may find that ESXi allocates too much to run the vmkernel and system services not leaving sufficient memory for running VMs...VM memory overhead includes space for the VM frame buffer and virtualization data structures like shadow page tables...Let's say I have a 1 vCPU VM with 2 GB of memory. ESXi will need a memory overhead of about 137 MB to start the VM. But if I give it 1400 MB memory reservation, then ESXi will need available capacity of about 1537 MB to start the VM. In my case, the VM won't be able to start and will display the error: Can't admit VM: Memory admission check failed. I would need to have an available capacity of more that 1537 MB to start the VM."&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Check out &lt;a href="http://www.vm-help.com/esx40i/memory_allocation.php" target="_blank"&gt;VM-Help.com&lt;/a&gt; for all the details and screenshots.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8527228685794819350-8842048580039883385?l=techpain.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yLyP/~4/H1fUBA2wE_Q" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://techpain.blogspot.com/feeds/8842048580039883385/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://techpain.blogspot.com/2010/07/esxi-memory-overhead-cant-admit-vm.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/8842048580039883385?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/8842048580039883385?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yLyP/~3/H1fUBA2wE_Q/esxi-memory-overhead-cant-admit-vm.html" title="ESXi Memory Overhead - Can't Admit VM: Memory admission check failed" /><author><name>techpain</name><uri>http://www.blogger.com/profile/03097224607709116694</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_dDEhe0T6JWE/SYzB0Z43hyI/AAAAAAAAAAk/kSt0lHukfnI/S220/wrench.png" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://i31.photobucket.com/albums/c397/TalkToYourPillow/techpain/th_ESXi-mem-overhead-error_sm.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://techpain.blogspot.com/2010/07/esxi-memory-overhead-cant-admit-vm.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEYERXk5fyp7ImA9WxFVGEQ.&quot;"><id>tag:blogger.com,1999:blog-8527228685794819350.post-2651450953383724593</id><published>2010-06-18T14:18:00.000-07:00</published><updated>2010-06-18T14:21:44.727-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-06-18T14:21:44.727-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="server" /><category scheme="http://www.blogger.com/atom/ns#" term="Scalix" /><category scheme="http://www.blogger.com/atom/ns#" term="network" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="mail" /><title>Changing the IP Address of a Scalix Server</title><content type="html">Changin the IP of a Scalix server is really easy. Along with changing the obvious stuff (etc/hosts, /etc/sysconfig/network, /etc/sysconfig/network-scripts/ifcfg-eth&lt;i&gt;0&lt;/i&gt;...) just follow these directions from the &lt;a href="http://www.scalix.com/wiki/index.php?title=HowTos/ChangeIP" target="_blank"&gt;Scalix Wiki&lt;/a&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;&lt;span style="font-size: small;"&gt;&lt;span class="mw-headline"&gt;Update the Postgres Client Authentication&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;Changing your IP address does not update Postgres and access to the Scalix API is then denied. To rectify this you need to modify the file &lt;code&gt;&lt;b&gt;/var/opt/scalix/&lt;i&gt;NN&lt;/i&gt;/postgres/data/pg_hba.conf&lt;/code&gt;&lt;/b&gt;. Remember &lt;i&gt;NN&lt;/i&gt; is the abreviation of your Scalix node, so it will change depending on the hostname of your scalix server. &lt;br /&gt;
Find the line that looks like: &lt;br /&gt;
&lt;pre&gt;host    scalix      scalix      192.168.1.100/32   md5&lt;/pre&gt;Edit the file to change this line to look like: &lt;br /&gt;
&lt;pre&gt;host    scalix      scalix      192.168.1.50/32   md5&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.blogger.com/post-edit.g?blogID=8527228685794819350&amp;amp;postID=2651450953383724593" id="Update_the_Search_and_Index_Service" name="Update_the_Search_and_Index_Service"&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;&lt;span style="font-size: small;"&gt;&lt;span class="mw-headline"&gt;Update the Search and Index Service&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;Changing your IP address does not update the Search and Index Service properties. To rectify this you need to modify the file &lt;code&gt;&lt;b&gt;/var/opt/scalix/&lt;i&gt;NN&lt;/i&gt;/sis/sis.properties&lt;/code&gt;&lt;/b&gt;. Again remember &lt;i&gt;NN&lt;/i&gt; is the abreviation of your Scalix node! &lt;br /&gt;
Find the lines that look like: &lt;br /&gt;
&lt;pre&gt;index.client.whitelist=192.168.1.100,127.0.0.1&lt;/pre&gt;&lt;pre&gt;search.client.whitelist=192.168.1.100,127.0.0.1&lt;/pre&gt;Edit the file to change the lines to look like: &lt;br /&gt;
&lt;pre&gt;index.client.whitelist=192.168.1.50,127.0.0.1&lt;/pre&gt;&lt;pre&gt;search.client.whitelist=192.168.1.50,127.0.0.1&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.blogger.com/post-edit.g?blogID=8527228685794819350&amp;amp;postID=2651450953383724593" id="Update_the_Uber_Manager_Service" name="Update_the_Uber_Manager_Service"&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;&lt;span style="font-size: small;"&gt;&lt;span class="mw-headline"&gt;Update the Uber Manager Service&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;As above changing your IP address does not fix the Uber Manager. To fix this you need to modify the file &lt;code&gt;&lt;b&gt;/var/opt/scalix/&lt;i&gt;NN&lt;/i&gt;/caa/scalix.res/config/ubermanager.properties&lt;/code&gt;&lt;/b&gt;. Again remember &lt;i&gt;NN&lt;/i&gt; is the abreviation of your Scalix node! &lt;br /&gt;
Find the line that looks like: &lt;br /&gt;
&lt;pre&gt;ubermanager.notification.listener.address=192.168.1.100&lt;/pre&gt;Edit the file to change the line to look like: &lt;br /&gt;
&lt;pre&gt;ubermanager.notification.listener.address=192.168.1.50&lt;/pre&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=8527228685794819350&amp;amp;postID=2651450953383724593" id="Reboot_and_enjoy_your_server" name="Reboot_and_enjoy_your_server"&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;&lt;span style="font-size: small;"&gt;&lt;span class="mw-headline"&gt;Reboot and enjoy your server&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;After you have finished this procedure please reboot. Everything should be working just like before. &lt;br /&gt;
Do remember, however, that this discussion only covered Scalix. Other services or other parts of the server which depend on the IP Address instead of hostname will still need to be changed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8527228685794819350-2651450953383724593?l=techpain.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yLyP/~4/JefSdC_FnRU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://techpain.blogspot.com/feeds/2651450953383724593/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://techpain.blogspot.com/2010/06/changing-ip-address-of-scalix-server.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/2651450953383724593?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/2651450953383724593?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yLyP/~3/JefSdC_FnRU/changing-ip-address-of-scalix-server.html" title="Changing the IP Address of a Scalix Server" /><author><name>techpain</name><uri>http://www.blogger.com/profile/03097224607709116694</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_dDEhe0T6JWE/SYzB0Z43hyI/AAAAAAAAAAk/kSt0lHukfnI/S220/wrench.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://techpain.blogspot.com/2010/06/changing-ip-address-of-scalix-server.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUcHR307cCp7ImA9WxFVGEw.&quot;"><id>tag:blogger.com,1999:blog-8527228685794819350.post-8835616770697266139</id><published>2010-06-17T12:24:00.000-07:00</published><updated>2010-06-17T15:17:16.308-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-06-17T15:17:16.308-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="RAID" /><category scheme="http://www.blogger.com/atom/ns#" term="centos" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="PowerEdge" /><title>Installing CentOS on &gt;2TB - this machine cannot boot using GPT</title><content type="html">Upon trying to instlal CentOS 5.5 x86 on a Dell PowerEdge the other day:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;"Your boot partition is on a disk using the GPT partitioning scheme but this machine cannot boot using GPT."&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href ="http://idolinux.blogspot.com/2008/10/perc-raid-and-efi-gpt-wierdness.html"&gt;idolinux.blogspot.com&lt;/a&gt; has a post on "Perc RAID and EFI GPT weirdness" that seemed to have a good solution, bypassing GPT entirely.&lt;br /&gt;
&lt;br /&gt;
I found that configuring two virtual disks in RAID (I made VD0=2TB) works as well. Just put /boot on the VD that is (equal to or) less than 2TB.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8527228685794819350-8835616770697266139?l=techpain.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yLyP/~4/D4C6b5Rpfe8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://techpain.blogspot.com/feeds/8835616770697266139/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://techpain.blogspot.com/2010/06/installing-centos-on-2tb-this-machine.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/8835616770697266139?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/8835616770697266139?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yLyP/~3/D4C6b5Rpfe8/installing-centos-on-2tb-this-machine.html" title="Installing CentOS on &gt;2TB - this machine cannot boot using GPT" /><author><name>techpain</name><uri>http://www.blogger.com/profile/03097224607709116694</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_dDEhe0T6JWE/SYzB0Z43hyI/AAAAAAAAAAk/kSt0lHukfnI/S220/wrench.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://techpain.blogspot.com/2010/06/installing-centos-on-2tb-this-machine.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUYNR345eSp7ImA9WxFVEk0.&quot;"><id>tag:blogger.com,1999:blog-8527228685794819350.post-2351594698939372359</id><published>2010-06-09T12:50:00.000-07:00</published><updated>2010-06-10T13:53:16.021-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-06-10T13:53:16.021-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="format" /><category scheme="http://www.blogger.com/atom/ns#" term="ext3" /><title>Format External USB Drive for ext3</title><content type="html">When trying to mount a USB device that is formatted FAT32, you'll get something like &lt;code&gt;&lt;b&gt;mount: wrong fs type, bad option, bad superblock on /dev/&lt;i&gt;sdb1&lt;/i&gt;&lt;/b&gt;&lt;/code&gt;. Simply format the drive for ext3:&lt;br /&gt;
&lt;br /&gt;
Make sure you know what partition you're formatting, &lt;code&gt;&lt;b&gt;dmesg&lt;/b&gt;&lt;/code&gt; should help. Once you know, simply &lt;code&gt;&lt;b&gt;mkfs.ext3 /dev/&lt;i&gt;sdb1&lt;/i&gt;&lt;/b&gt;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
It will look something like this:&lt;br /&gt;
&lt;code&gt;[user@localhost ~]# mkfs.ext3 /dev/sdb1&lt;br /&gt;
mke2fs 1.39 (29-May-2006)&lt;br /&gt;
Filesystem label=&lt;br /&gt;
OS type: Linux&lt;br /&gt;
Block size=4096 (log=2)&lt;br /&gt;
Fragment size=4096 (log=2)&lt;br /&gt;
60964864 inodes, 121924864 blocks&lt;br /&gt;
6096243 blocks (5.00%) reserved for the super user&lt;br /&gt;
First data block=0&lt;br /&gt;
Maximum filesystem blocks=0&lt;br /&gt;
3721 block groups&lt;br /&gt;
32768 blocks per group, 32768 fragments per group&lt;br /&gt;
16384 inodes per group&lt;br /&gt;
Superblock backups stored on blocks:&lt;br /&gt;
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,&lt;br /&gt;
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,&lt;br /&gt;
102400000&lt;br /&gt;
&lt;br /&gt;
Writing inode tables: done&lt;br /&gt;
Creating journal (32768 blocks): done&lt;br /&gt;
Writing superblocks and filesystem accounting information: done&lt;br /&gt;
&lt;br /&gt;
This filesystem will be automatically checked every 36 mounts or&lt;br /&gt;
180 days, whichever comes first.  Use tune2fs -c or -i to override.&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8527228685794819350-2351594698939372359?l=techpain.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yLyP/~4/pk-5tI9i5CM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://techpain.blogspot.com/feeds/2351594698939372359/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://techpain.blogspot.com/2010/06/format-external-usb-drive-for-ext3.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/2351594698939372359?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/2351594698939372359?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yLyP/~3/pk-5tI9i5CM/format-external-usb-drive-for-ext3.html" title="Format External USB Drive for ext3" /><author><name>techpain</name><uri>http://www.blogger.com/profile/03097224607709116694</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_dDEhe0T6JWE/SYzB0Z43hyI/AAAAAAAAAAk/kSt0lHukfnI/S220/wrench.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://techpain.blogspot.com/2010/06/format-external-usb-drive-for-ext3.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0EEQnY-eyp7ImA9WxFXF0Q.&quot;"><id>tag:blogger.com,1999:blog-8527228685794819350.post-1859409204425032192</id><published>2010-05-25T08:00:00.000-07:00</published><updated>2010-05-25T08:00:03.853-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-25T08:00:03.853-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu" /><title>Ubuntu 10.04 - Move the Window Buttons Back to the Right Side</title><content type="html">From &lt;a href="http://www.codigomanso.com/en/2010/04/ubuntu-10-4-poner-el-boton-de-cerrar-la-ventana-a-la-derecha/" target="_blank"&gt;codigomanso.com&lt;/a&gt;, pointed out by &lt;a href="http://twitter.com/packetlife" target="_blank"&gt;@packetlife&lt;/a&gt;:&lt;br /&gt;
&lt;br /&gt;
Press Alt+F2, then type &lt;code&gt;&lt;b&gt;gconf-editor&lt;/b&gt;&lt;/code&gt; and press enter. That’s for opening the configuration editor.&lt;br /&gt;
&lt;br /&gt;
Once on this editor, in the item tree at the left, you have to look for this path  app -&gt; metacity -&gt; general and you doubleclick on the field named  button_layout.&lt;br /&gt;
&lt;br /&gt;
Then, you have only to change the value field and put this:&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;b&gt;menu:minimize,maximize,close&lt;/b&gt;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
You save the changes, and voila!! all the windows reconfigured again!&lt;br /&gt;
&lt;br /&gt;
Now all the windows show the minimize, maximize and close buttons on the right again&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8527228685794819350-1859409204425032192?l=techpain.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/yLyP/~4/cnzvfjtg2Io" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://techpain.blogspot.com/feeds/1859409204425032192/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://techpain.blogspot.com/2010/05/ubuntu-1004-move-window-buttons-back-to.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/1859409204425032192?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8527228685794819350/posts/default/1859409204425032192?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/yLyP/~3/cnzvfjtg2Io/ubuntu-1004-move-window-buttons-back-to.html" title="Ubuntu 10.04 - Move the Window Buttons Back to the Right Side" /><author><name>techpain</name><uri>http://www.blogger.com/profile/03097224607709116694</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_dDEhe0T6JWE/SYzB0Z43hyI/AAAAAAAAAAk/kSt0lHukfnI/S220/wrench.png" /></author><thr:total>0</thr:total><feedburner:origLink>http://techpain.blogspot.com/2010/05/ubuntu-1004-move-window-buttons-back-to.html</feedburner:origLink></entry></feed>

