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

<channel>
	<title>Web Server linux Centos Games &#187; Security</title>
	<atom:link href="http://www.webserverthai.com/category/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webserverthai.com</link>
	<description>Web Server linux Centos blog game</description>
	<lastBuildDate>Sun, 25 Jul 2010 17:20:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ขั้นตอนการทำ Secure /tmp ป้องกัน hacker</title>
		<link>http://www.webserverthai.com/linux/%e0%b8%82%e0%b8%b1%e0%b9%89%e0%b8%99%e0%b8%95%e0%b8%ad%e0%b8%99%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%97%e0%b8%b3-secure-tmp-%e0%b8%9b%e0%b9%89%e0%b8%ad%e0%b8%87%e0%b8%81%e0%b8%b1%e0%b8%99-hacker/</link>
		<comments>http://www.webserverthai.com/linux/%e0%b8%82%e0%b8%b1%e0%b9%89%e0%b8%99%e0%b8%95%e0%b8%ad%e0%b8%99%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%97%e0%b8%b3-secure-tmp-%e0%b8%9b%e0%b9%89%e0%b8%ad%e0%b8%87%e0%b8%81%e0%b8%b1%e0%b8%99-hacker/#comments</comments>
		<pubDate>Wed, 13 May 2009 04:17:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[secure]]></category>

		<guid isPermaLink="false">http://www.webserverthai.com/?p=16</guid>
		<description><![CDATA[1. สร้าง file ขนาด 512 MB สำหรับใช้เป็น /tmp
dd if=/dev/zero of=/var/TMP bs=1024 count=524288
2. สร้างเป็น ext3
mke2fs j /var/TMP
3. Backup /tmp เดิมไว้ก่อน
mv  /tmp /tmp_backup
4. สร้าง ไดเร็กทรอรี่ /tmp
mkdir /tmp
5. ลอง Mount ดู
mount -o loop,noexec,nosuid,rw /var/TMP /tmp
6. กำหนด Permission ของ /tmp
chmod 1777 /tmp
7. Restore /tmp กลับ และลบ Backup ทิ้ง
cp -R /tmp_backup/* /tmp/
rm -rf /tmp_backup
]]></description>
			<content:encoded><![CDATA[<p>1. สร้าง file ขนาด 512 MB สำหรับใช้เป็น /tmp</p>
<p>dd if=/dev/zero of=/var/TMP bs=1024 count=524288</p>
<p>2. สร้างเป็น ext3</p>
<p>mke2fs j /var/TMP</p>
<p>3. Backup /tmp เดิมไว้ก่อน</p>
<p>mv  /tmp /tmp_backup</p>
<p>4. สร้าง ไดเร็กทรอรี่ /tmp</p>
<p>mkdir /tmp</p>
<p>5. ลอง Mount ดู</p>
<p>mount -o loop,noexec,nosuid,rw /var/TMP /tmp</p>
<p>6. กำหนด Permission ของ /tmp</p>
<p>chmod 1777 /tmp</p>
<p>7. Restore /tmp กลับ และลบ Backup ทิ้ง</p>
<p>cp -R /tmp_backup/* /tmp/<br />
rm -rf /tmp_backup</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webserverthai.com/linux/%e0%b8%82%e0%b8%b1%e0%b9%89%e0%b8%99%e0%b8%95%e0%b8%ad%e0%b8%99%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%97%e0%b8%b3-secure-tmp-%e0%b8%9b%e0%b9%89%e0%b8%ad%e0%b8%87%e0%b8%81%e0%b8%b1%e0%b8%99-hacker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
