<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>sysadmin &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/sysadmin/</link>
	<description>Feed of posts on WordPress.com tagged "sysadmin"</description>
	<pubDate>Fri, 25 Dec 2009 23:08:33 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[AD Tools]]></title>
<link>http://edroszcz.wordpress.com/2009/12/23/ad-tools/</link>
<pubDate>Wed, 23 Dec 2009 08:32:06 +0000</pubDate>
<dc:creator>edroszcz</dc:creator>
<guid>http://edroszcz.wordpress.com/2009/12/23/ad-tools/</guid>
<description><![CDATA[To reset the secure connection between a workstation and a domain controller. netdom reset MACHINE /]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>To reset the secure connection between a workstation and a domain controller.</p>
<p><strong>netdom reset MACHINE /domain:DOMAIN</strong></p>
<p>To see what site your computer think it belongs to</p>
<p><strong>nltest /dsgetsite</strong></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Have you noticed how one-off scripts are never one-off]]></title>
<link>http://ghostinmyshell.wordpress.com/2009/12/20/have-you-noticed-how-one-off-scripts-are-never-one-off/</link>
<pubDate>Sun, 20 Dec 2009 17:31:36 +0000</pubDate>
<dc:creator>project2501a</dc:creator>
<guid>http://ghostinmyshell.wordpress.com/2009/12/20/have-you-noticed-how-one-off-scripts-are-never-one-off/</guid>
<description><![CDATA[Need comes around to fix something quickly. You write a script cuz, it&#8217;s better for the comput]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Need comes around to fix something quickly. You write a script cuz, it&#8217;s better for the computer to do it that you. It&#8217;s shite. You know it. The need is covered at that moment, yet the script you wrote keeps on living and producing work!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Mirroring a computer server]]></title>
<link>http://ghostinmyshell.wordpress.com/2009/12/20/mirroring-a-computer-server/</link>
<pubDate>Sun, 20 Dec 2009 17:30:48 +0000</pubDate>
<dc:creator>project2501a</dc:creator>
<guid>http://ghostinmyshell.wordpress.com/2009/12/20/mirroring-a-computer-server/</guid>
<description><![CDATA[Given a computer/server, which is considered as a &#8220;production server&#8221;, and which cannot ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Given a computer/server, which is considered as a &#8220;production server&#8221;, and which cannot go down for a dd over netcat, what do you do?</p>
<p>Mirror it. but how? You can&#8217;t do it the smart kind. The kind that you&#8217;re being told &#8220;here&#8217;s a machine, i don&#8217;t have time to teach you how to make another one like this/the guy that did it left and we got no documentation. How do you do it?</p>
<p>The kind that you&#8217;re being told &#8220;here&#8217;s our mistake,  fix it for us, but do it quickly&#8221;.  Ends up as another mistake.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[On the Culture of Being Infallible]]></title>
<link>http://ghostinmyshell.wordpress.com/2009/12/20/on-the-culture-of-being-infallible/</link>
<pubDate>Sun, 20 Dec 2009 17:30:31 +0000</pubDate>
<dc:creator>project2501a</dc:creator>
<guid>http://ghostinmyshell.wordpress.com/2009/12/20/on-the-culture-of-being-infallible/</guid>
<description><![CDATA[]]></description>
<content:encoded><![CDATA[<div class='snap_preview'></div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Windows Server - Remote Desktop Inaccessible.]]></title>
<link>http://gregularexpressions.wordpress.com/2009/12/20/windows-server-remote-desktop-inaccessible/</link>
<pubDate>Sun, 20 Dec 2009 16:41:33 +0000</pubDate>
<dc:creator>Greg</dc:creator>
<guid>http://gregularexpressions.wordpress.com/2009/12/20/windows-server-remote-desktop-inaccessible/</guid>
<description><![CDATA[I recently had to deal with a non-responsive Windows machine, it pinged but that was about it. In th]]></description>
<content:encoded><![CDATA[I recently had to deal with a non-responsive Windows machine, it pinged but that was about it. In th]]></content:encoded>
</item>
<item>
<title><![CDATA[Use of pipes, and other nifty tricks]]></title>
<link>http://nixshell.wordpress.com/2009/12/18/use-of-pipes-and-other-nifty-tricks/</link>
<pubDate>Fri, 18 Dec 2009 00:05:09 +0000</pubDate>
<dc:creator>unixshell</dc:creator>
<guid>http://nixshell.wordpress.com/2009/12/18/use-of-pipes-and-other-nifty-tricks/</guid>
<description><![CDATA[http://www.tuxradar.com/content/command-line-tricks-smart-geeks has some useful tricks. A lot of it ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://www.tuxradar.com/content/command-line-tricks-smart-geeks">http://www.tuxradar.com/content/command-line-tricks-smart-geeks</a> has some useful tricks. A lot of it is presented as being bash-specific, but isn&#8217;t. Also, a lot seems Linux-specific, but isn&#8217;t. Lots of useful info for all Unix/Linux admins here. These hints go on and on; hardly any of them are the generic stuff you often see on Ubuntu forums, stumbleupon, and so on.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Yum "rpmdb: PANIC: fatal region error detected"]]></title>
<link>http://gregularexpressions.wordpress.com/2009/12/17/yum-rpmdb-panic-fatal-region-error-detected/</link>
<pubDate>Thu, 17 Dec 2009 10:52:23 +0000</pubDate>
<dc:creator>Greg</dc:creator>
<guid>http://gregularexpressions.wordpress.com/2009/12/17/yum-rpmdb-panic-fatal-region-error-detected/</guid>
<description><![CDATA[Is your favourite update tool Yum doing the below? -------------------------------------------------]]></description>
<content:encoded><![CDATA[Is your favourite update tool Yum doing the below? -------------------------------------------------]]></content:encoded>
</item>
<item>
<title><![CDATA[sendmail - Warning: RunAsUser for MSP ignored, check group ids]]></title>
<link>http://setaoffice.com/2009/12/17/sendmail-warning-runasuser-for-msp-ignored-check-group-ids/</link>
<pubDate>Thu, 17 Dec 2009 10:50:31 +0000</pubDate>
<dc:creator>Emerson Takahashi</dc:creator>
<guid>http://setaoffice.com/2009/12/17/sendmail-warning-runasuser-for-msp-ignored-check-group-ids/</guid>
<description><![CDATA[Every time that I sent an email with an user, the system was displaying the message that could not c]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Every time that I sent an email with an user, the system was displaying the message that could not chdir to the mail directory. I solved following the steps below:</p>
<blockquote><p>user@linux:~ $ mail blackhole@domain.com<br />
Subject: Test<br />
Sending email to test<br />
.<br />
Cc:<br />
user@linux:~ $ WARNING: RunAsUser for MSP ignored, check group ids (egid=503, want=51)<br />
can not chdir(/var/spool/clientmqueue/): Permission denied<br />
Program mode requires special privileges, e.g., root or TrustedUser.</p></blockquote>
<p>The group ID 503 was from the user that was logged in and sending the mail. The problem in this system was that it needed setgid set in the sendmail binary file.</p>
<blockquote><p>root@linux:~ #<span style="color:#0000ff;"> ls -l /usr/sbin/sendmail.sendmail</span><br />
-rwxrwxrwx  1 root smmsp 757168 Apr 15  2008 /usr/sbin/sendmail.sendmail</p></blockquote>
<blockquote><p>root@anotherlinuxhost:~ # <span style="color:#0000ff;">ls -l /usr/sbin/sendmail.sendmail</span><br />
-rwxr-sr-x  1 root smmsp 757168 Apr 15  2008 /usr/sbin/sendmail.sendmail</p></blockquote>
<blockquote><p>root@linux:~ # <span style="color:#0000ff;">chmod 2755 /usr/sbin/sendmail.sendmail</span><br />
root@linux:~ # <span style="color:#0000ff;">ls -l /usr/sbin/sendmail.sendmail</span><br />
-rwxr-<span style="color:#ff0000;">s</span>r-x  1 root smmsp 757168 Apr 15  2008 /usr/sbin/sendmail.sendmail</p></blockquote>
<p>Restarted sendmail and no error message is shown when sending a message.</p>
<blockquote><p>root@linux:~ # service sendmail restart<br />
Shutting down sm-client:                                   [  OK  ]<br />
Shutting down sendmail:                                    [  OK  ]<br />
Starting sendmail:                                         [  OK  ]<br />
Starting sm-client:                                        [  OK  ]</p></blockquote>
<blockquote><p>user@linux:~ $ mail blackhole@domain.com<br />
Subject: Test<br />
Sending email to test<br />
.<br />
Cc:<br />
user@linux:~ $</p></blockquote>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Nice tool for system information]]></title>
<link>http://edroszcz.wordpress.com/2009/12/16/nice-tool-for-system-information/</link>
<pubDate>Wed, 16 Dec 2009 12:11:25 +0000</pubDate>
<dc:creator>edroszcz</dc:creator>
<guid>http://edroszcz.wordpress.com/2009/12/16/nice-tool-for-system-information/</guid>
<description><![CDATA[A nice utility to get some basic information regarding your system is systeminfo. Simply type system]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>A nice utility to get some basic information regarding your system is systeminfo.</p>
<p>Simply type <strong>systeminfo</strong> at the command prompt.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Membuat Rsync Server]]></title>
<link>http://dudulz.wordpress.com/2009/12/15/membuat-rsync-server/</link>
<pubDate>Tue, 15 Dec 2009 02:15:55 +0000</pubDate>
<dc:creator>onay</dc:creator>
<guid>http://dudulz.wordpress.com/2009/12/15/membuat-rsync-server/</guid>
<description><![CDATA[Just another note&#8217;s Rsync server ini saya gunakan hanya dalam jaringan internal. Dimana tidak ]]></description>
<content:encoded><![CDATA[Just another note&#8217;s Rsync server ini saya gunakan hanya dalam jaringan internal. Dimana tidak ]]></content:encoded>
</item>
<item>
<title><![CDATA[How to free disk space in ext2, ext3 and ext4 partitions]]></title>
<link>http://acidborg.wordpress.com/2009/12/14/how-to-free-disk-space-in-ext2-ext3-and-ext4-partitions/</link>
<pubDate>Mon, 14 Dec 2009 16:42:11 +0000</pubDate>
<dc:creator>acidborg</dc:creator>
<guid>http://acidborg.wordpress.com/2009/12/14/how-to-free-disk-space-in-ext2-ext3-and-ext4-partitions/</guid>
<description><![CDATA[When a disk partition is given format using ext2, ext3 or ext4, the filesystem reserves a 5% of its ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>When a disk partition is given <a href="http://en.wikipedia.org/wiki/Disk_formatting">format</a> using <a href="http://en.wikipedia.org/wiki/Ext2">ext2</a>, <a href="http://en.wikipedia.org/wiki/Ext3">ext3</a> or <a href="http://en.wikipedia.org/wiki/Ext4">ext4</a>, the <a href="http://en.wikipedia.org/wiki/Filesystem">filesystem</a> reserves a 5% of its capacity by default for root-only processes to use. It is done to avoid filesystem <a href="http://en.wikipedia.org/wiki/Fragmentation_%28computer%29">fragmentation</a> and to allow system daemons to continue writing to the filesystem even after non-privileged processes can&#8217;t. This is a good thing to have by default, but a 5% means 25GB on a 500GB drive and that&#8217;s too much.</p>
<p>You can reduce this percentage on the fly, without data loss or corruption, using <a href="http://en.wikipedia.org/wiki/E2fsprogs">tune2fs</a>. For example, if you want to reduce the space reserved on your <em>/dev/sda1</em> partition to a 2%, use this command: <code>tune2fs -m 2 /dev/sda1</code></p>
<p>On non-root partitions like <em>/home</em> or media drives, no reserved space is needed, so you can free that space using this command (assuming that your home partition is <em>/dev/sda3</em>): <code>tune2fs -m 0 /dev/sda3</code></p>
<p><strong>NOTE</strong>: It is not recommended to free all the reserved space on your <em>/</em> partition.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Essential SSH configuration]]></title>
<link>http://kokikode.wordpress.com/2009/12/14/essential-ssh-configuration/</link>
<pubDate>Mon, 14 Dec 2009 10:32:27 +0000</pubDate>
<dc:creator>kokikode</dc:creator>
<guid>http://kokikode.wordpress.com/2009/12/14/essential-ssh-configuration/</guid>
<description><![CDATA[I tried to summarize everything that is considered essential in configuring the SSH service. This is]]></description>
<content:encoded><![CDATA[I tried to summarize everything that is considered essential in configuring the SSH service. This is]]></content:encoded>
</item>
<item>
<title><![CDATA[Setup RSA Keys for password-less SSH login]]></title>
<link>http://gregularexpressions.wordpress.com/2009/12/13/setup-rsa-keys-for-password-less-ssh-login/</link>
<pubDate>Sun, 13 Dec 2009 11:40:04 +0000</pubDate>
<dc:creator>Greg</dc:creator>
<guid>http://gregularexpressions.wordpress.com/2009/12/13/setup-rsa-keys-for-password-less-ssh-login/</guid>
<description><![CDATA[If you&#8217;re like me then you spend almost all your time SSH&#8217;d somewhere and that&#8217;s a]]></description>
<content:encoded><![CDATA[If you&#8217;re like me then you spend almost all your time SSH&#8217;d somewhere and that&#8217;s a]]></content:encoded>
</item>
<item>
<title><![CDATA[Book review: Pro OpenSolaris]]></title>
<link>http://acidborg.wordpress.com/2009/12/11/book-review-pro-opensolaris/</link>
<pubDate>Thu, 10 Dec 2009 23:35:06 +0000</pubDate>
<dc:creator>acidborg</dc:creator>
<guid>http://acidborg.wordpress.com/2009/12/11/book-review-pro-opensolaris/</guid>
<description><![CDATA[Yesterday, I finished reading &#8220;Pro OpenSolaris. A new Open Source OS for Linux developers and ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Yesterday, I finished reading &#8220;<a href="http://www.apress.com/book/view/9781430218913">Pro OpenSolaris. A new Open Source OS for Linux developers and administrators</a>&#8220;. It introduces the main differences between <a href="http://hub.opensolaris.org/bin/view/Main/">OpenSolaris</a> and <a href="http://www.linuxfoundation.org/">GNU/Linux</a> (<a href="http://en.wikipedia.org/wiki/Service_Management_Facility">SMF</a>, <a href="http://en.wikipedia.org/wiki/ZFS">ZFS</a>, <a href="http://en.wikipedia.org/wiki/Solaris_Zones">zones and containers</a>, <a href="http://en.wikipedia.org/wiki/Dtrace">Dtrace</a>, etc). It explains all this things from a GNU/Linux user perspective, so if that&#8217;s your case, it will be easy to read for you. I missed some other comparisons between common GNU/Linux commands and their OpenSolaris equivalents, but it would have increased dramatically the number of pages of the book. A nice book to start using OpenSolaris.</p>
<p><img src="http://lh4.ggpht.com/_-Mh-AGG5jD8/SyF_c60_MWI/AAAAAAAAADo/wm5l15Q0WxM/pro_opensolaris.png" alt="Pro OpenSolaris" /> </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[An introduction to the ZFS]]></title>
<link>http://dkprojects.wordpress.com/2009/12/09/an-introduction-to-the-zfs/</link>
<pubDate>Wed, 09 Dec 2009 18:43:14 +0000</pubDate>
<dc:creator>dk</dc:creator>
<guid>http://dkprojects.wordpress.com/2009/12/09/an-introduction-to-the-zfs/</guid>
<description><![CDATA[On Monday I&#8217;ll be starting a new job and one of the perks is that I&#8217;ll be working with S]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>On Monday I&#8217;ll be starting a new job and one of the perks is that I&#8217;ll be working with Sun Solaris 10 again.  I thought I&#8217;d take a minute to discourse on the ZFS and why I believe it is such a neat file system.</p>
<p>ZFS is a little different from other file systems like those you might recognize from Windows, Linux, or BSD.  While a tradition file system is bound to a disk, with the exception of RAID volumes, ZFS can span multiple physical devices.  Unlike other file systems, ZFS has integrated mechanisms fostering redundancy.  Where other file systems utilize volume management utilities to handle the addition and modification of physical disks, ZFS dynamically grows, combining available physical devices into conglomerations called zpools.  ZFS is also a 128-bit file system, which means ZFS can support directories containing 256 trillion objects in them.  Staggering.</p>
<p>The consistency of disks has long been a concern of administrators.  For example, if you remove power from a Unix-based machine any data scheduled to be written, but not yet written, to disk would be lost.  In many cases a file system integrity check would resolve this, but ZFS does not handle data in this way.  ZFS either writes data out immediately or not at all &#8211; so while you may lose some data if a machine is power cycled suddenly the filesystem, itself, remains intact.  In addition, ZFS also supports modes of redundancy that allow the system to transparently correct data that has become correct without interfering with any applications using that data.  Along with integrated redundancy, ZFS supports in-place snapshots.</p>
<p>Let&#8217;s create a pool called &#8220;jupiter9&#8243;:</p>
<blockquote><p>Create the pool: zpool create jupiter9 c3t0d0</p>
<p>Create the pool with a mirror (like RAID1): zpool create jupiter9 mirror c3t0d0 c4t0d0</p></blockquote>
<p>Note that Solaris uses different device names than you might be used to.  In the above example c3t0d0 and c4t0d0 refer to 2 unique physical devices.  Think of them like /dev/sda and /dev/sdb if you&#8217;re familar with Linux.  You can use some commands to inspect your pools, as well:</p>
<blockquote><p>Show pools: zpool list</p>
<p>Monitor a pool every 10 seconds for 1 minute : zpool iostat jupiter9 10 6</p></blockquote>
<p>Here are some command line examples of how to manipulate a ZFS volume:</p>
<blockquote><p>Create a filesystem called &#8220;marquis&#8221; in the pool &#8220;jupiter9&#8243;:  zfs create jupiter9/marquis</p>
<p>Destroy that same filesystem: zfs destroy jupiter9/marquis</p>
<p>Destory that same filesystem regardless of whether it is in use:  zfs destroy -f jupiter9/marquis</p>
<p>Rename a filesystem: zfs rename jupiter9/marquis jupiter9/duke</p>
<p>Destroy a pool:  zfs destroy jupiter9</p>
<p>Destroy  pool and all of it&#8217;s children: zfs destory -R jupiter9</p>
<p>Create a filesystem &#8220;melamine&#8221; in the pool &#8220;jupiter9&#8243; and set a unique mountpoint: zfs create -o mountpoint=/export/particleboard jupiter9/melamine</p></blockquote>
<p>Note that when you execute &#8220;zfs create&#8221; and do not specify a mountpoint it will automout the filesystem to /dataset.  You can view your filesystems using the command &#8220;zfs list&#8221;</p>
<p>This is a very basic introduction to the ZFS and how to perform basic administration.  Expect further detail in the future.</p>
<blockquote></blockquote>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[How to install and configure GreenSQL in Ubuntu 9.10]]></title>
<link>http://acidborg.wordpress.com/2009/12/09/how-to-install-and-configure-greensql-in-ubuntu-9-10/</link>
<pubDate>Wed, 09 Dec 2009 11:12:40 +0000</pubDate>
<dc:creator>acidborg</dc:creator>
<guid>http://acidborg.wordpress.com/2009/12/09/how-to-install-and-configure-greensql-in-ubuntu-9-10/</guid>
<description><![CDATA[Description: &#8220;GreenSQL is an Open Source database firewall used to protect databases from SQL ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><strong>Description</strong>: &#8220;<a href="http://www.greensql.net">GreenSQL</a> is an Open Source database firewall used to protect databases from <a href="http://en.wikipedia.org/wiki/Sql_injection">SQL injection</a> attacks. GreenSQL works as a proxy for SQL commands and has built in support for MySQL &#38; PostgreSQL . The logic is based on evaluation of SQL commands using a risk scoring matrix as well as blocking known db administrative commands (DROP, CREATE, etc). GreenSQL is distributed under the GPL license&#8221;.</p>
<p><strong>Installation</strong>:</p>
<ul>
<li>Download <a href="http://www.greensql.net/download#Source_Code">its source code</a> from its web.</li>
<li>install the needed packages: <code>apt-get install libevent-1.4-2 libpcre3 libmysqlclient15off libpq5 libmysqlclient15-dev libevent-dev libpcre3-dev libpcre3 libpq-dev flex g++ bison build-essential</code></li>
<li>Uncompress it: <code>tar xvfz greensql-fw_*.tar.gz</code></li>
<li>Enter its directory: <code>cd greensql-fw_*</code></li>
<li>Build the deb package: <code>./build.sh</code></li>
<li>Install the deb package (as root): <code>cd .. &#38;&#38; dpkg -i greensql-fw*.deb</code></li>
<li>Answer the questions to connect GreenSQL to your database</li>
</ul>
<p><strong>Configuration (using Apache)</strong>:</p>
<ul>
<li>Enter GreenSQL directory: <code>cd /usr/share/greensql-fw</code></li>
<li>Set the right permissions to <em>templates_c</em> : <code>chgrp -R www-data templates_c &#38;&#38; chmod -R 770 templates_c</code></li>
<li>Create the file <em>/etc/apache2/conf.d/greensql</em> with the following content(replace [ and ] for angle brackets):<br />
<code>Alias /greensql /usr/share/greensql-fw<br />
[Directory /greensql]<br />
      Order deny,allow<br />
      Deny from all<br />
      Allow from 127.0.0.1<br />
[/Directory]<br />
</code></li>
<li>Restart Apache: <code>apache2ctl restart</code></li>
<li>Access GreenSQL using your web browser (default user is <em>admin</em> and default password is <em>pwd</em>): <code>http://localhost/greensql</code> </li>
<li>Change the default admin&#8217;s password.</li>
<li>Edit GreenSQL configuration to fit your needs (reading <a href="http://www.greensql.net/community/docs">this</a> might help).</li>
</ul>
<p><strong>Use</strong>:<br />
To use GreenSQL, you have to change the configuration of the applications which connect to your database and point them to the computer where you have installed GreenSQL (localhost in this case) and the port where GreenSQL is running (3305 in my case to proxy my MySQL database). You can test whether it is working connecting to your database and creating a table (it should appear as an alert named &#8220;<em>Detected attempt to create database/table/index</em>&#8221; in GreenSQL and it should be blocked if you didn&#8217;t change the <a href="http://en.wikipedia.org/wiki/Intrusion-prevention_system">IPS</a> option). Example:<br />
<code>mysql -u root -h 127.0.0.1 -P 3305 -p<br />
CREATE TABLE greensql_test;</code></p>
<p><strong>Remember</strong>: Although you use database firewalls like GreenSQL, you must prevent SQL injection and other database-related attacks by securing and auditing your application&#8217;s code.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Kirim pesan kepada user lain melalui console ]]></title>
<link>http://dudulz.wordpress.com/2009/12/09/kirim-pesan-kepada-user-lain-melalui-console/</link>
<pubDate>Wed, 09 Dec 2009 06:33:15 +0000</pubDate>
<dc:creator>onay</dc:creator>
<guid>http://dudulz.wordpress.com/2009/12/09/kirim-pesan-kepada-user-lain-melalui-console/</guid>
<description><![CDATA[Just another note&#8217;s Saya login kedalam remote mesin linux dan mendapati ada user lain yang sed]]></description>
<content:encoded><![CDATA[Just another note&#8217;s Saya login kedalam remote mesin linux dan mendapati ada user lain yang sed]]></content:encoded>
</item>
<item>
<title><![CDATA[Menghilangkan grep pada output ps]]></title>
<link>http://dudulz.wordpress.com/2009/12/08/menghilangkan-grep-pada-output-ps/</link>
<pubDate>Tue, 08 Dec 2009 03:44:49 +0000</pubDate>
<dc:creator>onay</dc:creator>
<guid>http://dudulz.wordpress.com/2009/12/08/menghilangkan-grep-pada-output-ps/</guid>
<description><![CDATA[Just another note&#8217;s, Sering kali pada saat melakukan grepping pada perintah ps yang keluar ada]]></description>
<content:encoded><![CDATA[Just another note&#8217;s, Sering kali pada saat melakukan grepping pada perintah ps yang keluar ada]]></content:encoded>
</item>
<item>
<title><![CDATA[Sun System Management Services - Error: Exclusive session is in use, disconnecting.]]></title>
<link>http://setaoffice.com/2009/12/06/sun-system-management-services-error-exclusive-session-is-in-use-disconnecting/</link>
<pubDate>Sun, 06 Dec 2009 23:34:20 +0000</pubDate>
<dc:creator>Emerson Takahashi</dc:creator>
<guid>http://setaoffice.com/2009/12/06/sun-system-management-services-error-exclusive-session-is-in-use-disconnecting/</guid>
<description><![CDATA[You need to connect to a System Controller (SC) to manage a domain in a Sun Fire E12K, E15K, E20K or]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>You need to connect to a System Controller (SC) to manage a domain in a Sun Fire E12K, E15K, E20K or E25K. It has the System Management Services (SMS) software that allows you to control the domains.</p>
<p>To view the console, you use /opt/SUNWSMS/bin/console -d &#60;domain letter or domain name&#62; but I was having the error message &#8220;Exclusive session is in use, disconnecting&#8221;.</p>
<blockquote><p>sms-svc@sc0:/ $<span style="color:#0000ff;"> console -d domain06</span><br />
Trying to connect&#8230;<br />
Connected to Domain Server.</p>
<p>Exclusive session is in use, disconnecting.</p></blockquote>
<p>I asked to a friend why I was having this problem and he said that I needed to kill the other session.</p>
<blockquote><p>sms-svc@sc0:/ $<span style="color:#0000ff;"> w</span><br />
9:24am  up 76 day(s),  3:53,  2 users,  load average: 0.91, 2.04, 1.52<br />
User     tty           login@  idle   JCPU   PCPU  what<br />
root     pts/1         9:08am     9                console -d domain06<br />
root     pts/2         9:19am                      w</p></blockquote>
<p>I found out which PID is running the console, then killed it.</p>
<blockquote><p>sms-svc@sc0:/ $<span style="color:#0000ff;"> ps -ef &#124; grep consol</span><br />
root  3127     1  0   Sep 19 console  0:00 /usr/lib/saf/ttymon -g -h -p sc0-01-vix console login:  -T sun -d /dev/console<br />
sms-svc 11229 11182  0 09:24:18 pts/2    0:00 grep consol<br />
sms-svc  <span style="color:#ff0000;">5492</span> 5398  0 09:09:23 pts/1    0:00 console -d domain06</p></blockquote>
<blockquote><p>sms-svc@sc0:/ $<span style="color:#0000ff;"> kill 5492</span></p></blockquote>
<p>Worked as expected:</p>
<blockquote><p>sms-svc@sc0:/ $ <span style="color:#0000ff;">/opt/SUNWSMS/bin/console -d domain06</span><br />
Trying to connect&#8230;<br />
Connected to Domain Server.<br />
Your console is in exclusive mode now.</p></blockquote>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Faster tunnel to IPv6 internet.]]></title>
<link>http://762e5e74.wordpress.com/2009/12/06/faster-tunnel-to-ipv6-internet/</link>
<pubDate>Sun, 06 Dec 2009 15:22:38 +0000</pubDate>
<dc:creator>762e5e74</dc:creator>
<guid>http://762e5e74.wordpress.com/2009/12/06/faster-tunnel-to-ipv6-internet/</guid>
<description><![CDATA[Thanks to network admins at Bharti and Hurricane Electric, RTT to HE&#8217;s IPv6 tunnel server at H]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Thanks to network admins at Bharti and Hurricane Electric, RTT to HE&#8217;s IPv6 tunnel server at HK PoP is reduced. Yippee!!</p>
<pre>+-(abbe@chateau:pts/0)---------------------------------------------------------------------------------------------(~)-+
+-(130:20:44:%)-- traceroute -I 216.218.221.6                                                            --(Sun,Dec06)-+
traceroute to 216.218.221.6 (216.218.221.6), 64 hops max, 72 byte packets
 1  ABTS-North-Static-018.230.160.122.airtelbroadband.in (122.160.230.18)  41.593 ms  44.970 ms  52.979 ms
 2  ABTS-North-Static-021.230.160.122.airtelbroadband.in (122.160.230.21)  41.596 ms  44.188 ms  45.308 ms
 3  rasBTNLDel-static-174.215.56.202.mantraonline.com (202.56.215.174)  44.376 ms  44.404 ms  45.537 ms
 4  125.19.22.145 (125.19.22.145)  45.105 ms  42.097 ms  43.629 ms
 5  AES-Static-013.36.144.59.airtel.in (59.144.36.13)  150.993 ms  155.188 ms  154.701 ms
 6  hurricaneelectric-RGE.hkix.net (202.40.161.158)  165.843 ms  158.931 ms  164.889 ms
 7  tserv20.hkg1.ipv6.he.net (216.218.221.6)  158.572 ms  154.562 ms  154.215 ms
+-(abbe@chateau:pts/0)---------------------------------------------------------------------------------------------(~)-+
+-(130:20:45:%)-- ping6  www.google.com                                                                  --(Sun,Dec06)-+
PING6(56=40+8+8 bytes) 2001:470:f803:8000::1 --&#62; 2001:4860:c004::68
16 bytes from 2001:4860:c004::68, icmp_seq=0 hlim=58 time=179.801 ms
16 bytes from 2001:4860:c004::68, icmp_seq=1 hlim=58 time=181.696 ms
16 bytes from 2001:4860:c004::68, icmp_seq=2 hlim=58 time=179.953 ms
16 bytes from 2001:4860:c004::68, icmp_seq=3 hlim=58 time=179.401 ms
^C
--- www.l.google.com ping6 statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 179.401/180.213/181.696/0.880 ms
</pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[FollowFriday: SysAdvent Calendar]]></title>
<link>http://n9kju.wordpress.com/2009/12/04/followfriday-sysadvent-calendar/</link>
<pubDate>Fri, 04 Dec 2009 22:00:57 +0000</pubDate>
<dc:creator>n9kju</dc:creator>
<guid>http://n9kju.wordpress.com/2009/12/04/followfriday-sysadvent-calendar/</guid>
<description><![CDATA[One of the Twitter practices that I have found helpful is FollowFriday.  I thought that this being F]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div id="_mcePaste">One of the Twitter practices that I have found helpful is FollowFriday.  I thought that this being Friday, it might be good to go a step further and post a blog entry with a slight twist.  The intent of a #followfriday post on twitter is to recommend other twitter users that you might consider following yourself.  I&#8217;d like to suggest (via This FollowFriday blog post) a blog that you might consider reading amd possibly subscribing to.</div>
<div id="_mcePaste"></div>
<div>For those who may not be familiar with the whole FollowFriday concept, I&#8217;ll recommend you read an article by Sharon Hayes-Tucci entitled &#8220;<a href="http://sharontucci.blogspot.com/2009/03/followfriday-on-twitter.html" target="_blank">FollowFriday on Twitter</a>&#8220;.  I&#8217;ll also offer this brief example (posted via my @n9kju twitter account today).</div>
<div id="_mcePaste"></div>
<div>#followfriday @jordansissel and the SysAdvent Blog (http://sysadvent.blogspot.com/)</div>
<div id="_mcePaste"></div>
<div>The #followfriday hashtag marks this as suggestions for others that you might consider following on Twitter.  If you visit the profile of the username(s) suggested (ie. @jordansissel) you can check to see if this is a twitter user that you might want to follow.</div>
<div id="_mcePaste"></div>
<div>I&#8217;ve not seen anyone else tweet to suggest a blog for following. I want to suggest a blog that you should consider following.  Tweets are limited to 140 characters and that&#8217;s hardly enough to properly suggest <a href="http://sysadvent.blogspot.com/" target="_blank">the SysAdvent Calendar Blog</a>.  But by posting this FollowFriday blog suggestion in my own blog, I overcome that limitation.</div>
<div id="_mcePaste"></div>
<div>So what is this <a href="http://sysadvent.blogspot.com/" target="_blank">SysAdvent Calendar Blog</a>.  Jordan Sissel created the Blog last year (2008). There have been <a title="PERL Advent Calendar Archive" href="http://perladvent.pm.org/archives.html" target="_blank">perl advent calendars in years past</a>. The idea was to put out one blog post each day starting Dec 1rst and then for the next 25 days.  This is just like an Advent calendar that you may have had in your house when you were growing up.  At my house, my siblings and I  took turns opening one door on the Advent caledar each day.  Last year, Jordan offered to take postings from other SysAdmins, but he ended up doing almost all the writing himself.  This year, <a title="Matt Simmons Standalone Sysadmin Blog" href="http://www.standalone-sysadmin.com/blog/2009/12/happenings-all-over-the-net/" target="_blank">Matt Simmons</a> has been helping contact other SysAdmins to seek submissions for this years calendar.</div>
<div id="_mcePaste"></div>
<div>Each article is written to focus on a single, somewhat-specific idea related to systems administration.  The target audience is the intermediate or senior level SysAdmin.  Having said that, I know that they hope to have at least one posting by a junior SysAdmin this year.</div>
<div id="_mcePaste"></div>
<div>When you do visit <a href="http://sysadvent.blogspot.com/" target="_blank">the SysAdvent Blog</a>, you will find the most recent posting listed first and older entries are sequenced below that most recent entry.  In fact, if you keep going down the list (back in time) you will find the 25 articles that made up last years inaugural version of the SysAdvent Calendar.</div>
<div id="_mcePaste"></div>
<div>I think this is a really great idea.  I&#8217;ve enjoyed browsing through many of the posts from last year.  And I look forward to reading new posts as they come on-line this year.</div>
<div id="_mcePaste"></div>
<div>Please let me know if you find this sort of Blog following article helpful.  I follow a quite a few and I expect several of them would be worthy of a FollowFriday Blog article.</div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Introducing Rootkit Hunter]]></title>
<link>http://acidborg.wordpress.com/2009/12/04/introducing-rootkit-hunter/</link>
<pubDate>Fri, 04 Dec 2009 12:28:22 +0000</pubDate>
<dc:creator>acidborg</dc:creator>
<guid>http://acidborg.wordpress.com/2009/12/04/introducing-rootkit-hunter/</guid>
<description><![CDATA[Description: &#8220;Rootkit scanner is scanning tool to ensure you for about 99.9%* you&#8217;re cle]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><strong>Description</strong>: &#8220;<em><a href="http://www.rootkit.nl/projects/rootkit_hunter.html">Rootkit scanner</a> is scanning tool to ensure you for about 99.9%* you&#8217;re clean of nasty tools. This tool scans for rootkits, backdoors and local exploits by running tests like:</p>
<ul>
<li>MD5 hash compare</li>
<li>Look for default files used by rootkits</li>
<li>Wrong file permissions for binaries</li>
<li>Look for suspected strings in LKM and KLD modules</li>
<li>Look for hidden files</li>
<li>Optional scan within plaintext and binary files</li>
</ul>
<p>Rootkit Hunter is released as GPL licensed project and free for everyone to use</em>&#8220;.</p>
<p><strong>Installation</strong>: </p>
<ul>
<li>Download the latest version from <a href="http://www.rootkit.nl/projects/rootkit_hunter.html">its web</a>.</li>
<li>Uncompress it: <code>tar xvfz rkhunter-*.tar.gz</code></li>
<li>Enter its directory: <code>cd rkhunter-*</code></li>
<li>Install it (as root): <code>./installer.sh --layout /usr/local --install</code></li>
</ul>
<p><strong>Use</strong>:</p>
<ul>
<li>To run it (as root): <code>rkhunter --sk -c</code></li>
<li>To check its rsults: <code>less /var/log/rkhunter.log</code></li>
</ul>
<p>To obtain valid results, be aware of false positives (check warnings twice) and keep it updated. <strong>Remember</strong>: security is a process, not a state.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Rackspace PHPmailer Example]]></title>
<link>http://shaydu.wordpress.com/2009/12/02/rackspace-phpmailer-example/</link>
<pubDate>Wed, 02 Dec 2009 17:34:15 +0000</pubDate>
<dc:creator>shaydu</dc:creator>
<guid>http://shaydu.wordpress.com/2009/12/02/rackspace-phpmailer-example/</guid>
<description><![CDATA[After having a lot of problems migrating old contact forms over to a Rackspace server running Plesk,]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>After having a lot of problems migrating old contact forms over to a Rackspace server running Plesk, here&#8217;s a reliable way to send mail using PHPMailer:</p>
<p><code><br />
require('inc/phpmailer/class.phpmailer.php');</p>
<p>$content="</p>
<p>Web Contact Form Submitted</p>
<p><font><br />
<br />
Web Contact Form Submitted</p>
<p><strong>Name:</strong> $_POST[fname] $_POST[lname]<br />
<strong>Email:</strong> $_POST[email]<br />
<strong>Phone:</strong> $_POST[phone]<br />
<strong>Preferred Contact Method:</strong> $_POST[method]<br />
<strong>Address</strong><br />
$_POST[address1] $_POST[address2]<br />
$_POST[city], $_POST[state] $_POST[zip]</p>
<p><strong>Comments:</strong>$_POST[comments]</p>
<p>";</p>
<p>$mail  = new PHPMailer(); // defaults to using php "mail()"</p>
<p>$mail-&#62;AddReplyTo($_POST["email"],$_POST["lname"].', '.$_POST["fname"]);</p>
<p>$mail-&#62;SetFrom(SYSTEM_EMAIL,SYSTEM_NAME);<br />
//$mail-&#62;SetFrom(ADMIN_EMAIL,ADMIN_NAME);</p>
<p>$mail-&#62;AddAddress(ADMIN_EMAIL,ADMIN_NAME);</p>
<p>$subject = "Contact Form Submitted";<br />
$mail-&#62;Subject   = $subject;</p>
<p>//$mail-&#62;AltBody    = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test<br />
$body  = $content;<br />
$mail-&#62;MsgHTML($body);</p>
<p>$mresult = $mail-&#62;Send();<br />
</code></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Python in emacs land]]></title>
<link>http://petitesnouvelles.wordpress.com/2009/12/02/python-in-emacs-land/</link>
<pubDate>Wed, 02 Dec 2009 15:48:55 +0000</pubDate>
<dc:creator>petitesnouvelles</dc:creator>
<guid>http://petitesnouvelles.wordpress.com/2009/12/02/python-in-emacs-land/</guid>
<description><![CDATA[Configuring python on emacs was really not easy and I&#8217;m still improving every day, but I want ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Configuring python on emacs was really not easy and I&#8217;m still improving every day, but I want to share what I achieved because I think is already really nice.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Create and restore MySQL backups using mysqldump]]></title>
<link>http://acidborg.wordpress.com/2009/12/02/create-and-restore-mysql-backups-using-mysqldump/</link>
<pubDate>Wed, 02 Dec 2009 11:02:39 +0000</pubDate>
<dc:creator>acidborg</dc:creator>
<guid>http://acidborg.wordpress.com/2009/12/02/create-and-restore-mysql-backups-using-mysqldump/</guid>
<description><![CDATA[Description: &#8220;The mysqldump client is a backup program originally written by Igor Romanenko. I]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><strong>Description</strong>: &#8220;<em>The <a href="http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html">mysqldump</a> client is a backup program originally written by Igor Romanenko. It can be used to dump a database or a collection of databases for backup or transfer to another SQL server (not necessarily a <a href="http://www.mysql.com/">MySQL</a> server). The dump typically contains SQL statements to create the table, populate it, or both. However, mysqldump can also be used to generate files in <a href="http://en.wikipedia.org/wiki/Comma-separated_values">CSV</a>, other delimited text, or <a href="http://en.wikipedia.org/wiki/XML">XML</a> format.</em>&#8220;</p>
<p><strong>To create a backup of a single database</strong>: <code>mysqldump --opt -u database_admin_username -p database_name &#62; database_name_backup.sql</code></p>
<p><strong>To create a backup of all databases</strong>: <code>mysqldump --opt -u database_admin_username -p --all-databases &#62; all_databases_backup.sql</code></p>
<p><strong>To restore a backup</strong>: <code>mysql database_name -u database_admin_username -p &#60; database_backup.sql</code></p>
<p>You might need to create the database you are restoring if you deleted it before:</p>
<p><code>mysql -u database_admin_username -p<br />
CREATE DATABASE database_name;<br />
QUIT<br />
</code></p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
