<?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>How to Config &#187; รหัสผ่าน</title>
	<atom:link href="http://www.howtoconfig.com/tag/%e0%b8%a3%e0%b8%ab%e0%b8%b1%e0%b8%aa%e0%b8%9c%e0%b9%88%e0%b8%b2%e0%b8%99/feed" rel="self" type="application/rss+xml" />
	<link>http://www.howtoconfig.com</link>
	<description>how to config - how to configure</description>
	<lastBuildDate>Fri, 29 Apr 2011 09:52:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>SSH โดยไม่ต้องใส่รหัสผ่าน</title>
		<link>http://www.howtoconfig.com/os/ubuntu/ssh-login-without-password.html</link>
		<comments>http://www.howtoconfig.com/os/ubuntu/ssh-login-without-password.html#comments</comments>
		<pubDate>Fri, 16 Jan 2009 12:30:01 +0000</pubDate>
		<dc:creator>กวิน ชัยเลิศ</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[*BSD]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSSH]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[รหัสผ่าน]]></category>

		<guid isPermaLink="false">http://www.howtoconfig.com/?p=57</guid>
		<description><![CDATA[สำหรับผู้ดูแลระบบที่มีความจำเป็นต้องใช้งาน Remote Login ผ่าน OpenSSH Client อยู่เป็นประจำไม่ว่าจะใช้งานบน Linux, *BSD, Mac OS X คงจะเกิดอาการเบื่อไม่น้อยที่ต้องพิมพ์ Password ทุกๆ ครั้งที่ต้องการจะ Login (ไม่นับ Password จำพวก 123456 นะครับ) ทางออกสำหรับผู้ที่ต้องการ Login โดยไม่ต้องพิมพ์ Password แถมยังคงความปลอดภัยตามแบบฉบับของ OpenSSH สามารถทำได้ตามวิธีดังต่อไปนี้ครับ ระบบที่ทำการทดสอบ - OpenSSH Client บน Mac OS X 10.5.6 - OpenSSH Server บน Ubuntu 8.04 ขั้นตอนแรก ทำการสร้าง keys สำหรับยืนยันตัวตนระหว่าง Client และ Server (ทำบนเครื่อง Client ในที่นี้คือ Mac [...]]]></description>
			<content:encoded><![CDATA[<p>สำหรับผู้ดูแลระบบที่มีความจำเป็นต้องใช้งาน Remote Login ผ่าน OpenSSH Client อยู่เป็นประจำไม่ว่าจะใช้งานบน Linux, *BSD, Mac OS X คงจะเกิดอาการเบื่อไม่น้อยที่ต้องพิมพ์ Password ทุกๆ ครั้งที่ต้องการจะ Login (ไม่นับ Password จำพวก 123456 นะครับ) ทางออกสำหรับผู้ที่ต้องการ Login โดยไม่ต้องพิมพ์ Password แถมยังคงความปลอดภัยตามแบบฉบับของ OpenSSH สามารถทำได้ตามวิธีดังต่อไปนี้ครับ</p>
<p>ระบบที่ทำการทดสอบ<br />
- OpenSSH Client บน Mac OS X 10.5.6<br />
- OpenSSH Server บน Ubuntu 8.04</p>
<p>ขั้นตอนแรก ทำการสร้าง keys สำหรับยืนยันตัวตนระหว่าง Client และ Server (ทำบนเครื่อง Client ในที่นี้คือ Mac OS X)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">MacClient:~ UserA$ <span style="color: #c20cb9; font-weight: bold;">ssh-keygen</span> <span style="color: #660033;">-t</span> rsa</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="txt" style="font-family:monospace;">MacClient:~ UserA$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/Users/UserA/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /Users/UserA/.ssh/id_rsa.
Your public key has been saved in /Users/UserA/.ssh/id_rsa.pub.
The key fingerprint is:
a4:74:0b:bc:2f:d1:f5:c7:4e:90:51:7f:f4:45:84:a0 UserA@MacClient</pre></div></div>

<p><span id="more-57"></span></p>
<p>ขั้นตอนต่อไป ใช้ ssh สร้าง directory ~/.ssh บน Server ปลายทาง (ทำบน Client ได้เลย โดยผ่าน ssh)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">MacClient:~ UserA$ <span style="color: #c20cb9; font-weight: bold;">ssh</span> UserA<span style="color: #000000; font-weight: bold;">@</span>UbuntuServer <span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> .ssh</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="txt" style="font-family:monospace;">MacClient:~ UserA$ ssh UserA@UbuntuServer mkdir -p .ssh
UserA@vmtuserver's password:</pre></div></div>

<p>ขั้นตอนสุดท้าย ทำการเพิ่ม Public keys ที่สร้างขึ้นในขั้นตอนแรกไปยังไฟล์ ~/.ssh/authorized_keys บน Server ปลายทาง (ทำบน Client โดยผ่าน ssh เช่นเคย)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">MacClient:~ UserA$ <span style="color: #c20cb9; font-weight: bold;">cat</span> .ssh<span style="color: #000000; font-weight: bold;">/</span>id_rsa <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">ssh</span> UserA<span style="color: #000000; font-weight: bold;">@</span>UbuntuServer <span style="color: #ff0000;">'cat &amp;gt;&amp;gt; .ssh/authorized_keys'</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="txt" style="font-family:monospace;">MacClient:~ UserA$ cat .ssh/id_rsa | ssh UserA@UbuntuServer 'cat &amp;gt;&amp;gt; .ssh/authorized_keys'
UserA@vmtuserver's password:</pre></div></div>

<p>ทำการทดสอบ</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">MacClient:~ UserA$ <span style="color: #c20cb9; font-weight: bold;">ssh</span> UserA<span style="color: #000000; font-weight: bold;">@</span>UbuntuServer</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="txt" style="font-family:monospace;">MacClient:~ UserA$ ssh UserA@UbuntuServer
Linux UbuntuServer 2.6.24-19-server #1 SMP Wed Jun 18 15:18:00 UTC 2008 i686
&nbsp;
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
&nbsp;
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
&nbsp;
To access official Ubuntu documentation, please visit:
http://help.ubuntu.com/
You have mail.
Last login: Tue Jan 13 00:14:19 2009 from MacClient
UserA@UbuntuServer:~$</pre></div></div>

<p>*สามารถเพิ่ม Public keys ที่สร้างขึ้นไปยัง User ใดๆ ก็ได้ ไม่จำเป็นต้องมีชื่อเหมือนกับ User ที่มีอยู่บน Client</p>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.howtoconfig.com%2Fos%2Fubuntu%2Fssh-login-without-password.html&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>]]></content:encoded>
			<wfw:commentRss>http://www.howtoconfig.com/os/ubuntu/ssh-login-without-password.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>แก้ปัญหาลืมรหัสผ่านของ FreeBSD</title>
		<link>http://www.howtoconfig.com/os/how-to-recovery-freebsd-root-password.html</link>
		<comments>http://www.howtoconfig.com/os/how-to-recovery-freebsd-root-password.html#comments</comments>
		<pubDate>Tue, 08 Jul 2008 05:05:19 +0000</pubDate>
		<dc:creator>กวิน ชัยเลิศ</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Enter Shell]]></category>
		<category><![CDATA[forgot password]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[พาสเวิร์ด]]></category>
		<category><![CDATA[รหัสผ่าน]]></category>
		<category><![CDATA[ลืมพาสเวิร์ด]]></category>
		<category><![CDATA[ลืมรหัสผ่าน]]></category>

		<guid isPermaLink="false">http://www.howtoconfig.com/?p=31</guid>
		<description><![CDATA[แก้ปัญหาลืมรหัสผ่านของ root บน FreeBSD ง่ายๆ ตามนี้ครับ 1. Restart FreeBSD (Ctrl+Alt+Delete หรือ กดปุ่ม Reset T_T) 2. พิมพ์ boot -s ที่ Boot: prompt (เพื่อเข้า Single User Mode) 3. Enter (ตอนมีคำถามให้เลือก Shell) 4. ใช้คำสั่ง mount -urw / เพื่อให้สามารถอ่าน/เขียน ไฟล์ได้ mount -urw / 5. ใช้คำสั่ง mount -a (remount ระบบไฟล์ทั้งหมด) mount -a 6. ใช้คำสั่ง passwd root เพื่อเปลี่ยนรหัสผ่านของ root passwd root [...]]]></description>
			<content:encoded><![CDATA[<p>แก้ปัญหาลืมรหัสผ่านของ root บน FreeBSD ง่ายๆ ตามนี้ครับ</p>
<p>1. Restart FreeBSD (Ctrl+Alt+Delete หรือ กดปุ่ม Reset T_T)<br />
2. พิมพ์ boot -s ที่ Boot: prompt (เพื่อเข้า Single User Mode)<br />
3. Enter (ตอนมีคำถามให้เลือก Shell)<br />
4. ใช้คำสั่ง mount -urw / เพื่อให้สามารถอ่าน/เขียน ไฟล์ได้</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-urw</span> <span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<p>5. ใช้คำสั่ง mount -a (remount ระบบไฟล์ทั้งหมด)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-a</span></pre></div></div>

<p>6. ใช้คำสั่ง passwd root เพื่อเปลี่ยนรหัสผ่านของ root</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">passwd</span> root</pre></div></div>

<p>เพียงเท่านี้ก็สามารถกลับมาใช้ root ได้ตามปกติครับ</p>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.howtoconfig.com%2Fos%2Fhow-to-recovery-freebsd-root-password.html&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>]]></content:encoded>
			<wfw:commentRss>http://www.howtoconfig.com/os/how-to-recovery-freebsd-root-password.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>แก้ปัญหาลืมรหัสผ่านของ Joomla!</title>
		<link>http://www.howtoconfig.com/content-management-system/joomla/forgot-joomla-admin-password.html</link>
		<comments>http://www.howtoconfig.com/content-management-system/joomla/forgot-joomla-admin-password.html#comments</comments>
		<pubDate>Mon, 02 Jun 2008 14:47:13 +0000</pubDate>
		<dc:creator>กวิน ชัยเลิศ</dc:creator>
				<category><![CDATA[Joomla!]]></category>
		<category><![CDATA[forgot password]]></category>
		<category><![CDATA[Login]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[พาสเวิร์ด]]></category>
		<category><![CDATA[รหัสผ่าน]]></category>
		<category><![CDATA[ลืมพาสเวิร์ด]]></category>
		<category><![CDATA[ลืมรหัสผ่าน]]></category>

		<guid isPermaLink="false">http://www.howtoconfig.com/?p=12</guid>
		<description><![CDATA[โดยปกติจะไม่สามารถกู้รหัสผ่าน (password) ของ joomla ได้ เนื่องจากรหัสผ่านนั้นจะถูกเข้ารหัส (MD5 hash) ก่อนบันทึกลงไปในฐานข้อมูลเพื่อป้องกันการกู้รหัสผ่าน ดังนั้นหากลืมรหัสผ่านต้องทำการเปลี่ยนรหัสจึงจะสามารถ Login Joomla! Administrator ได้ ซึ่งวิธีการเปลี่ยนรหัสผ่านใหม่สามารถทำได้โดย UPDATE Field password ใน Table jos_users นั่นเอง UPDATE jos_users SET password = MD5&#40;'password'&#41; WHERE id = '62' AND username = 'admin';]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">โดยปกติจะไม่สามารถกู้รหัสผ่าน (password) ของ joomla ได้ เนื่องจากรหัสผ่านนั้นจะถูกเข้ารหัส (MD5 hash) ก่อนบันทึกลงไปในฐานข้อมูลเพื่อป้องกันการกู้รหัสผ่าน ดังนั้นหากลืมรหัสผ่านต้องทำการเปลี่ยนรหัสจึงจะสามารถ Login Joomla! Administrator ได้</p>
<p>ซึ่งวิธีการเปลี่ยนรหัสผ่านใหม่สามารถทำได้โดย<br />
UPDATE Field <em>password</em> ใน Table <em>jos_users</em> นั่นเอง</p>

<div class="wp_syntax"><div class="code"><pre class="mysql" style="font-family:monospace;"><span style="color: #990099; font-weight: bold;">UPDATE</span> jos_users <span style="color: #990099; font-weight: bold;">SET</span> <span style="color: #000099;">password</span> <span style="color: #CC0099;">=</span> <span style="color: #000099;">MD5</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008000;">'password'</span><span style="color: #FF00FF;">&#41;</span>
<span style="color: #990099; font-weight: bold;">WHERE</span> id <span style="color: #CC0099;">=</span> <span style="color: #008000;">'62'</span> <span style="color: #CC0099; font-weight: bold;">AND</span> username <span style="color: #CC0099;">=</span> <span style="color: #008000;">'admin'</span><span style="color: #000033;">;</span></pre></div></div>

<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.howtoconfig.com%2Fcontent-management-system%2Fjoomla%2Fforgot-joomla-admin-password.html&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>]]></content:encoded>
			<wfw:commentRss>http://www.howtoconfig.com/content-management-system/joomla/forgot-joomla-admin-password.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>แก้ปัญหาลืมรหัสผ่านของ wordpress</title>
		<link>http://www.howtoconfig.com/content-management-system/wordpress-content-management-system/forgot-wordpress-admin-password.html</link>
		<comments>http://www.howtoconfig.com/content-management-system/wordpress-content-management-system/forgot-wordpress-admin-password.html#comments</comments>
		<pubDate>Fri, 30 May 2008 10:44:44 +0000</pubDate>
		<dc:creator>กวิน ชัยเลิศ</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[รหัสผ่าน]]></category>

		<guid isPermaLink="false">http://www.howtoconfig.com/?p=6</guid>
		<description><![CDATA[สำหรับวิธีแก้ปัญหารหัสผ่านที่ตั้งไว้ี้ก็ไม่ยากครับ โดยปกติ wordpress จะเก็บข้อมูลของผู้ใช้ใน Table wp_users ซึ่งวิธีการเปลี่ยนรหัสผ่านใหม่สามารถทำได้โดย UPDATE Field user_pass ใน Table wp_users นั่นเอง ลองทำตามวิธีนี้ครับ UPDATE wp_users SET user_pass = MD5&#40;'password'&#41; WHERE user_login = 'admin'; ขอให้สนุกกับ wordpress ครับ]]></description>
			<content:encoded><![CDATA[<p>สำหรับวิธีแก้ปัญหารหัสผ่านที่ตั้งไว้ี้ก็ไม่ยากครับ<br />
โดยปกติ wordpress จะเก็บข้อมูลของผู้ใช้ใน Table wp_users<br />
ซึ่งวิธีการเปลี่ยนรหัสผ่านใหม่สามารถทำได้โดย<br />
UPDATE Field user_pass ใน Table wp_users นั่นเอง</p>
<p style="text-align: left;">ลองทำตามวิธีนี้ครับ</p>

<div class="wp_syntax"><div class="code"><pre class="mysql" style="font-family:monospace;"><span style="color: #990099; font-weight: bold;">UPDATE</span> wp_users <span style="color: #990099; font-weight: bold;">SET</span> user_pass <span style="color: #CC0099;">=</span> <span style="color: #000099;">MD5</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008000;">'password'</span><span style="color: #FF00FF;">&#41;</span>
<span style="color: #990099; font-weight: bold;">WHERE</span> user_login <span style="color: #CC0099;">=</span> <span style="color: #008000;">'admin'</span><span style="color: #000033;">;</span></pre></div></div>

<p style="text-align: left;">ขอให้สนุกกับ wordpress ครับ</p>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.howtoconfig.com%2Fcontent-management-system%2Fwordpress-content-management-system%2Fforgot-wordpress-admin-password.html&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>]]></content:encoded>
			<wfw:commentRss>http://www.howtoconfig.com/content-management-system/wordpress-content-management-system/forgot-wordpress-admin-password.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

