<?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>NamHuy &#187; telnet</title>
	<atom:link href="http://namhuy.org/blog/tag/telnet/feed/" rel="self" type="application/rss+xml" />
	<link>http://namhuy.org/blog</link>
	<description>Linux tips and tricks</description>
	<lastBuildDate>Tue, 03 Aug 2010 03:00:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>MySQL Change root Password</title>
		<link>http://namhuy.org/blog/2010/07/23/mysql-change-root-password/</link>
		<comments>http://namhuy.org/blog/2010/07/23/mysql-change-root-password/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 08:39:11 +0000</pubDate>
		<dc:creator>Huy Tran</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[freebsb]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[telnet]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/?p=100</guid>
		<description><![CDATA[How do I change MySQL root password under Linux, FreeBSD, OpenBSD and UNIX like operating system over ssh / telnet session? Setting up mysql password is one of the essential tasks. By default root user is MySQL admin account. Please &#8230; <a href="http://namhuy.org/blog/2010/07/23/mysql-change-root-password/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>How do I change MySQL root password under Linux, FreeBSD, OpenBSD and UNIX like operating system over ssh / telnet session?</p>
<p>Setting up mysql password is one of the essential tasks. By default root user is MySQL admin account. Please note that the Linux / UNIX login root account for your operating system and MySQL root are different. They are separate and nothing to do with each other (indeed some admin removes root account and setup admin as mysql super user).<br />
mysqladmin command to change root password</p>
<p>If you have never set a root password for MySQL, the server does not require a password at all for connecting as root. To setup root password for first time, use mysqladmin command at shell prompt as follows:</p>
<p>$ mysqladmin -u root password NEWPASSWORD</p>
<p>However, if you want to change (or update) a root password, then you need to use following command</p>
<p>$ mysqladmin -u root -p&#8217;oldpassword&#8217; password newpass</p>
<p>For example, If old password is abc, and set new password to 123456, enter:</p>
<p>$ mysqladmin -u root -p&#8217;abc&#8217; password &#8217;123456&#8242;</p>
<p>Change MySQL password for other user</p>
<p>To change a normal user password you need to type (let us assume you would like to change password for vivek):</p>
<p>$ mysqladmin -u vivek -p oldpassword password newpass</p>
<p>Changing MySQL root user password using MySQL sql command</p>
<p>This is another method. MySQL stores username and passwords in user table inside MySQL database. You can directly update password using the following method to update or change password for user vivek:</p>
<p>1) Login to mysql server, type following command at shell prompt:</p>
<p>$ mysql -u root -p</p>
<p>2) Use mysql database (type command at mysql&gt; prompt):</p>
<p>mysql&gt; use mysql;</p>
<p>3) Change password for user vivek:</p>
<p>mysql&gt; update user set password=PASSWORD(&#8220;NEWPASSWORD&#8221;) where User=&#8217;vivek&#8217;;</p>
<p>4) Reload privileges:</p>
<p>mysql&gt; flush privileges;<br />
mysql&gt; quit</p>
<p>This method you need to use while using PHP or Perl scripting.</p>
]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2010/07/23/mysql-change-root-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Linux enable telnet service</title>
		<link>http://namhuy.org/blog/2009/11/03/ubuntu-linux-enable-telnet-service-2/</link>
		<comments>http://namhuy.org/blog/2009/11/03/ubuntu-linux-enable-telnet-service-2/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 20:14:10 +0000</pubDate>
		<dc:creator>Huy Tran</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[service]]></category>
		<category><![CDATA[telnet]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/2009/11/03/ubuntu-linux-enable-telnet-service-2/</guid>
		<description><![CDATA[Q. How do I install and start telnet service / server under Ubuntu Linux? A. Telnet is an insecure service. It is recommended that you use ssh service. However sometime telnet server or service is needed. Here are instructions to &#8230; <a href="http://namhuy.org/blog/2009/11/03/ubuntu-linux-enable-telnet-service-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Q. How do I install and start telnet service / server under Ubuntu Linux?</p>
<p>A. Telnet is an insecure service. It is recommended that you use ssh service. However sometime telnet server or service is needed. Here are instructions to enable telnet:<br />
Install telnetd server</p>
<p>$ sudo apt-get install telnetd<br />
Restart inetd service:<br />
$ sudo /etc/init.d/openbsd-inetd restart<br />
You should now be able to telnet to the server from Windows or Linux desktop system to Ubentu Linux telnet server. Type the following command to connect to Telnet server:<br />
$ telnet ubentu-linux-server-ip<br />
$ telnet 192.168.1.200<br />
$ telnet ubentu.mydomain.com</p>
]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2009/11/03/ubuntu-linux-enable-telnet-service-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu Linux enable telnet service</title>
		<link>http://namhuy.org/blog/2008/02/05/ubuntu-linux-enable-telnet-service/</link>
		<comments>http://namhuy.org/blog/2008/02/05/ubuntu-linux-enable-telnet-service/#comments</comments>
		<pubDate>Wed, 06 Feb 2008 00:00:50 +0000</pubDate>
		<dc:creator>Huy Tran</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tips - Tricks]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[service]]></category>
		<category><![CDATA[telnet]]></category>

		<guid isPermaLink="false">http://namhuy.org/blog/2008/02/05/ubuntu-linux-enable-telnet-service/</guid>
		<description><![CDATA[What is telnet? Telnet is a user command and an underlying TCP/IP protocol for accessing remote computers. Through Telnet, an administrator or another user can access someone else&#8217;s computer remotely. On the Web, HTTP and FTP protocols allow you to &#8230; <a href="http://namhuy.org/blog/2008/02/05/ubuntu-linux-enable-telnet-service/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>What is telnet?</p>
<p>Telnet is a user command and an underlying TCP/IP protocol for accessing remote computers. Through Telnet, an administrator or another user can access someone else&#8217;s computer remotely. On the Web, HTTP and FTP protocols allow you to request specific files from remote computers, but not to actually be logged on as a user of that computer. With Telnet, you log on as a regular user with whatever privileges you may have been granted to the specific application and data on that computer.</p>
<p>A Telnet command request looks like this (the computer name is made-up):</p>
<blockquote><p>telnet namhuy.org</p></blockquote>
<p>The result of this request would be an invitation to log on with a userid and a prompt for a password. If accepted, you would be logged on like any user who used this computer every day.</p>
<p>Telnet is most likely to be used by program developers and anyone who has a need to use specific applications or data located at a particular host computer.</p>
<p><strong> Install telnetd server</strong></p>
<blockquote><p>$ sudo apt-get install telnetd</p></blockquote>
<p>Restart inetd service:</p>
<blockquote><p>$ sudo /etc/init.d/openbsd-inetd restart</p></blockquote>
<p>You should now be able to telnet to the server from Windows or Linux desktop system to Ubentu Linux telnet server. Type the following command to connect to Telnet server:</p>
<blockquote><p>$ telnet ubentu-linux-server-ip<br />
$ telnet 192.168.1.200<br />
$ telnet ubentu.mydomain.com</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://namhuy.org/blog/2008/02/05/ubuntu-linux-enable-telnet-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
