<?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>Linux Servers cPanel webhosting blog &#187; Basic Linux</title>
	<atom:link href="http://www.theperfectarts.com/category/basic-linux-guidelines/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theperfectarts.com</link>
	<description>Basics cPanel tutorials / issue,mysql,php errors etc</description>
	<lastBuildDate>Sun, 11 Jul 2010 23:05:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to disable root login and enable key authentication on Dedicated server?</title>
		<link>http://www.theperfectarts.com/2010/07/how-to-disable-root-login-and-enable-key-authentication-on-dedicated-server/</link>
		<comments>http://www.theperfectarts.com/2010/07/how-to-disable-root-login-and-enable-key-authentication-on-dedicated-server/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 23:00:12 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Basic Linux]]></category>
		<category><![CDATA[Linux Administrator Interview Questions]]></category>
		<category><![CDATA[Server Security]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[/etc/ssh/sshd_config]]></category>
		<category><![CDATA[chmod comamnd]]></category>
		<category><![CDATA[disable root login]]></category>
		<category><![CDATA[enable key authentication]]></category>
		<category><![CDATA[generate the key]]></category>
		<category><![CDATA[mkdir command]]></category>
		<category><![CDATA[ppk file]]></category>
		<category><![CDATA[PuTTYgen software]]></category>
		<category><![CDATA[security on dedicated server]]></category>
		<category><![CDATA[ssh file]]></category>
		<category><![CDATA[ssh Protocol]]></category>
		<category><![CDATA[sshd restart]]></category>
		<category><![CDATA[sudoers file]]></category>
		<category><![CDATA[useradd command]]></category>
		<category><![CDATA[usermod coammnd]]></category>
		<category><![CDATA[which command]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1089</guid>
		<description><![CDATA[How to disable root login and enable key authentication on Dedicated server? Refer following steps to disable direct root login. 1. SSH into your server as root user. 2. Open file sshd_config in your favorite editor pico /etc/ssh/sshd_config 3. Find the line Protocol 2, 1 4. Uncomment line and change it to look like Protocol [...]]]></description>
			<content:encoded><![CDATA[<p>How to disable root login and enable key authentication on Dedicated server?</p>
<p>Refer following steps to disable direct root login.</p>
<p>1. SSH into your server as root user.</p>
<p>2. Open file sshd_config in your favorite editor</p>
<p><strong>pico /etc/ssh/sshd_config</strong></p>
<p>3. Find the line</p>
<p><strong>Protocol 2, 1</strong></p>
<p>4. Uncomment line and change it to look like</p>
<p><strong>Protocol 2</strong></p>
<p>5. Now find the line<br />
<strong>PermitRootLogin yes</strong></p>
<p>6. And Uncomment libe and make it look like as<br />
<strong>PermitRootLogin no</strong></p>
<p>7. Save the file sshd_config file,</p>
<p>8. Restart SSH service<br />
<strong>/etc/rc.d/init.d/sshd restart</strong></p>
<p>Once root login disabled on server generate authentication key by using following steps.</p>
<p>1. Add user for example we will add user support</p>
<p><strong>useradd support</strong></p>
<p>2.Assigne user support in wheel group.</p>
<p><strong>usermod -G wheel support</strong></p>
<p>3. Set correct permission for sudoers files.</p>
<p><strong>chmod 644 /etc/sudoers</strong></p>
<p>4. Now open sudoers file and set followings line in sudoers file.</p>
<p><strong>pico /etc/sudoers</strong></p>
<p># User privilege specification<br />
<strong>root    ALL=(ALL) ALL</strong></p>
<p># Same thing without a password<br />
<strong>%wheel        ALL=(ALL)       NOPASSWD: ALL</strong></p>
<p>5. Make sure that sudo file binery file is secure.</p>
<p><strong>chmod 4111 /usr/bin/sudo</strong></p>
<p>If you are not sure about sudo binery path then run commamd to confirm the path.</p>
<p><strong>which sudo</strong></p>
<p>6.Now create .ssh directory in support users home directory.</p>
<p><strong>cd /home/support</strong></p>
<p><strong>mkdir .ssh</strong></p>
<p>7. Now generate the key by using <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">PuTTYgen software </a>and save the key on your local machine as support.ppk file.</p>
<p>8. Create authorized_keys file in .ssh directory and copy content from file support.ppk to authorized_keys file.</p>
<p>9. Confirm permission and ownership for files.</p>
<p><strong>cd /home</strong></p>
<p><strong>ll | grep support</strong></p>
<p>The ownership shuold be</p>
<blockquote><p><strong>drwx&#8212;&#8212;    7 support support          4096 Jul 10 03:44 support</strong></p></blockquote>
<p><strong>cd /home/support</strong></p>
<p><strong>ll | grep .ssh</strong></p>
<blockquote><p><strong>drwxr-xr-x    2 root   root        4096 Jul 12  3:34 .ssh/</strong></p></blockquote>
<p><strong>ll .ssh</strong></p>
<p>The ownership shoud be</p>
<blockquote><p><strong>drwxr-xr-x 2 root    root    4096 Jul 12 03:22 ./<br />
drwx&#8212;&#8212; 7 support support 4096 Jul 12 03:44 ../<br />
-rw-r&#8211;r&#8211; 1 root    root    224  Jul 12 03:40 authorized_keys</strong></p></blockquote>
<p><strong>Note : Do not close current Shell until you are able to access server with the support.ppk key.</strong></p>
<p>&copy;2010 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2010/07/how-to-disable-root-login-and-enable-key-authentication-on-dedicated-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New subdomain missing cgi-bin directory.</title>
		<link>http://www.theperfectarts.com/2010/07/new-subdomain-missing-cgi-bin-directory/</link>
		<comments>http://www.theperfectarts.com/2010/07/new-subdomain-missing-cgi-bin-directory/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 02:32:23 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Basic Linux]]></category>
		<category><![CDATA[Common errors]]></category>
		<category><![CDATA[Linux Administrator Interview Questions]]></category>
		<category><![CDATA[cPanel + cPanel scripts]]></category>
		<category><![CDATA[Account Functions]]></category>
		<category><![CDATA[Basic cPanel/WHM Setup]]></category>
		<category><![CDATA[CGI Script Alias section]]></category>
		<category><![CDATA[Modify An Account]]></category>
		<category><![CDATA[New subdomain missing cgi-bin directory]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=1085</guid>
		<description><![CDATA[While creating new subdomain from cPanel we are missing cgi-bin directory. At that time refer following steps. Login in to WHM and check the domains hosting account package allow &#8220;CGI Privilege&#8221; or not. If not then enable &#8220;CGI Privilege&#8221; by editing packages. WHM &#62;&#62; Account Functions &#62;&#62; Modify An Account and select the user from [...]]]></description>
			<content:encoded><![CDATA[<p>While creating new subdomain from cPanel we are missing cgi-bin directory. At that time refer following steps.</p>
<p>Login in to WHM and check the domains hosting account package allow &#8220;CGI Privilege&#8221; or not. If not then enable &#8220;CGI Privilege&#8221; by editing packages.</p>
<p><strong>WHM &gt;&gt; Account Functions &gt;&gt; Modify An Account and select the user from list and check box following option.</strong></p>
<p>CGI Privilege</p>
<p>And save the package. Now you will able to creaet subdomain with the cgi-bin directory.</p>
<p><strong>Note : As well as plesae set &#8220;Y&#8221; in WHM &gt;&gt;  Main &gt;&gt; Server Configuration &gt;&gt; Basic cPanel/WHM Setup  &gt;&gt;CGI Script Alias section.</strong></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><strong>CGI Script Alias</strong> <span>*</span> Automatically create a cgi-bin script alias. This setting can be individually overridden during account creation.</p>
<ul>
<li>y &#8211; Yes</li>
<li>n &#8211; No</li>
</ul>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>&copy;2010 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2010/07/new-subdomain-missing-cgi-bin-directory/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to define iptables rules save option?</title>
		<link>http://www.theperfectarts.com/2010/01/how-to-define-iptables-rules-save-option/</link>
		<comments>http://www.theperfectarts.com/2010/01/how-to-define-iptables-rules-save-option/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 10:37:25 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Basic Linux]]></category>
		<category><![CDATA[Linux Administrator Interview Questions]]></category>
		<category><![CDATA[Server Security]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[/etc/sysconfig/iptables]]></category>
		<category><![CDATA[iptables rule]]></category>
		<category><![CDATA[iptables save rules]]></category>
		<category><![CDATA[iptables-save]]></category>
		<category><![CDATA[iptables.iptables save]]></category>
		<category><![CDATA[IPTABLES_SAVE_COUNTER]]></category>
		<category><![CDATA[IPTABLES_SAVE_ON_RESTART]]></category>
		<category><![CDATA[IPTABLES_SAVE_ON_STOP]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=974</guid>
		<description><![CDATA[iptables creating rules after restarting the iptables. When iptables service is restarted settings from /etc/sysconfig/iptables file are applied and used with the iptables. You can either set up iptables rule so that current stat is saved the rule upon restart or stop/start: You need to make changes in following file as per your requirement for [...]]]></description>
			<content:encoded><![CDATA[<p>iptables creating rules after restarting the iptables. When iptables service is restarted settings from /etc/sysconfig/iptables file are applied and used with the iptables.</p>
<p>You can either set up iptables rule so that current stat is saved the rule upon restart or stop/start:</p>
<p>You need to make changes in following file as per your requirement for values received in following GREP result.</p>
<p><span style="color: #800000;">root@server[~]# grep IPTABLES_SAVE /etc/sysconfig/iptables-config<br />
IPTABLES_SAVE_ON_STOP=&#8221;no&#8221;<br />
IPTABLES_SAVE_ON_RESTART=&#8221;no&#8221;<br />
IPTABLES_SAVE_COUNTER=&#8221;no&#8221;</span></p>
<p>Or overwrite current settings with iptables-save to /etc/sysconfig/iptables file:</p>
<p><span style="color: #800000;">r</span><span style="color: #800000;">oot@server[~]# iptables-save &gt; /etc/sysconfig/iptables</span></p>
<p>Note : Its always good if we use NO option for following options because some time due to wrong rule we face major problem to access server.</p>
<p><span style="color: #800000;">IPTABLES_SAVE_ON_STOP=&#8221;no&#8221;<br />
IPTABLES_SAVE_ON_RESTART=&#8221;no&#8221;<br />
IPTABLES_SAVE_COUNTER=&#8221;no&#8221;<br />
</span></p>
<p><span style="color: #800000;"><br />
</span></p>
<p>&copy;2010 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2010/01/how-to-define-iptables-rules-save-option/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Parse error: syntax error, unexpected T_STRING?</title>
		<link>http://www.theperfectarts.com/2009/12/php-parse-error-syntax-error-unexpected-t_string/</link>
		<comments>http://www.theperfectarts.com/2009/12/php-parse-error-syntax-error-unexpected-t_string/#comments</comments>
		<pubDate>Fri, 25 Dec 2009 05:26:24 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Basic Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP Parse error]]></category>
		<category><![CDATA[PHP Parse error: syntax error]]></category>
		<category><![CDATA[php_flag short_open_tag X]]></category>
		<category><![CDATA[short_open_tag]]></category>
		<category><![CDATA[suexec]]></category>
		<category><![CDATA[unexpected T_STRING]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=795</guid>
		<description><![CDATA[If you receive following error in the error logs &#8221; PHP Parse error: syntax error, unexpected T_STRING&#8221; Then you can add following line in the .htaccess file php_flag short_open_tag X Or If your server is SuExec enabled then you can use following code in php.ini file short_open_tag = X &#169;2010 Linux Servers cPanel webhosting blog. [...]]]></description>
			<content:encoded><![CDATA[<p>If you receive following error in the error logs</p>
<p><span style="color: #800000;">&#8221; PHP Parse error: syntax error, unexpected T_STRING&#8221;</span><br />
Then you can add following line in the .htaccess file</p>
<p><span style="color: #800000;">php_flag short_open_tag X </span></p>
<p>Or</p>
<p>If your server is <a href="http://www.theperfectarts.com/2009/08/simply-check-server-is-suexec-or-not/" target="_blank">SuExec enabled </a>then you can use following code in php.ini file<br />
<span style="color: #800000;">short_open_tag = X</span></p>
<p>&copy;2010 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2009/12/php-parse-error-syntax-error-unexpected-t_string/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to parse php pages in html page?</title>
		<link>http://www.theperfectarts.com/2009/12/how-to-parse-php-pages-in-html-page/</link>
		<comments>http://www.theperfectarts.com/2009/12/how-to-parse-php-pages-in-html-page/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 18:51:49 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Basic Linux]]></category>
		<category><![CDATA[Linux Administrator Interview Questions]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=726</guid>
		<description><![CDATA[You can use following code in .htaccess file to parse php pages in html pages RemoveHandler .html .htm AddType application/x-httpd-php .php .htm .html To can check above code is working ir not? by creating one test page with following code root@gunjan[~]#pico test.html < html> < head> < body> < h1> < ?php echo "WORKING FINE!"; [...]]]></description>
			<content:encoded><![CDATA[<p>You can use following code in .htaccess file to parse php pages in html pages</p>
<p>RemoveHandler .html .htm<br />
AddType application/x-httpd-php .php .htm .html</p>
<p>To can check above code is working ir not? by creating one test page with following code</p>
<p>root@gunjan[~]#pico test.html</p>
<p>< html><br />
< head></head><br />
< body><br />
< h1><br />
 < ?php echo "WORKING FINE!"; ?><br />
< /h1><br />
< /body><br />
< /html></p>
<p>&copy;2010 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2009/12/how-to-parse-php-pages-in-html-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to check user who are using boxtrapper?</title>
		<link>http://www.theperfectarts.com/2009/11/how-to-check-user-who-are-using-boxtrapper/</link>
		<comments>http://www.theperfectarts.com/2009/11/how-to-check-user-who-are-using-boxtrapper/#comments</comments>
		<pubDate>Sat, 28 Nov 2009 20:33:52 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Basic Linux]]></category>
		<category><![CDATA[boxtrapper]]></category>
		<category><![CDATA[boxtrapper users]]></category>
		<category><![CDATA[find command]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=705</guid>
		<description><![CDATA[Now a days boxtrapper is cause high server load in that case we need to check how many users are really using boxtrapper.You can use following simple command to heck the boxtrapper users. root@gunjan[/home]#find /home/*/etc -iname .boxtrapperenable Run above command in /home and you will found out all the users who are using boxtrapper &#169;2010 [...]]]></description>
			<content:encoded><![CDATA[<p>Now a days boxtrapper is cause high server load in that case we need to check how many users are really using boxtrapper.You can use following simple command to heck the boxtrapper users.</p>
<p><span style="color: #800000;">root@gunjan[/home]#find /home/*/etc -iname .boxtrapperenable</span></p>
<p>Run above command in /home and you will found out all the users who are using boxtrapper</p>
<p>&copy;2010 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2009/11/how-to-check-user-who-are-using-boxtrapper/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change nobody ownership to cpanel user?</title>
		<link>http://www.theperfectarts.com/2009/11/how-to-change-nobody-ownership-to-cpanel-user/</link>
		<comments>http://www.theperfectarts.com/2009/11/how-to-change-nobody-ownership-to-cpanel-user/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 18:51:04 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Basic Linux]]></category>
		<category><![CDATA[chown]]></category>
		<category><![CDATA[find command]]></category>
		<category><![CDATA[nobody ownership to cpanel user]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=701</guid>
		<description><![CDATA[First you need to found nobody users files than change it to cPanel main user name so that you can change/edit the files without any problem.But its difficult to check ownership one by one for all files in that case you can use following single command root@gunjan[/home/test]#find ./ -user &#8220;nobody&#8221; &#124; xargs chown test.test In [...]]]></description>
			<content:encoded><![CDATA[<p>First you need to found nobody users files than change it to cPanel main user name so that you can change/edit the files without any problem.But its difficult to check ownership one by one for all files in that case you can use following single command</p>
<p><span style="color: #800000;">root@gunjan[/home/test]#find  ./ -user &#8220;nobody&#8221; |  xargs chown test.test</span></p>
<p>In above command find will check all files owned by nobody user and after that it chown will change the ownership to test.test where test is cPanel user name</p>
<p>&copy;2010 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2009/11/how-to-change-nobody-ownership-to-cpanel-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>htaccess pcfg_openfile unable to check htaccess file (403 error)</title>
		<link>http://www.theperfectarts.com/2009/11/htaccess-pcfg_openfile-unable-to-check-htaccess-file-403-error/</link>
		<comments>http://www.theperfectarts.com/2009/11/htaccess-pcfg_openfile-unable-to-check-htaccess-file-403-error/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 20:05:32 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Basic Linux]]></category>
		<category><![CDATA[.htaccess file]]></category>
		<category><![CDATA[.htaccess pcfg_openfile: unable to check htaccess file]]></category>
		<category><![CDATA[403 error message]]></category>
		<category><![CDATA[403 forbidden]]></category>
		<category><![CDATA[ensure it is readable]]></category>
		<category><![CDATA[nobody user]]></category>
		<category><![CDATA[pcfg_openfile]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=444</guid>
		<description><![CDATA[If you are receiving 403 error message after browsing your domain than check the Apache error logs. root@gunjan[~]tail -f /usr/local/apache/logs/error_log [Tue Nov 17 19:38:32 2009] [crit] [client 192.168.0.2] (13)Permission denied: /home/admin/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable As per above logs it seems that the nobody user is not getting read [...]]]></description>
			<content:encoded><![CDATA[<p>If you are receiving 403 error message after browsing your domain than check the Apache error logs.</p>
<p>root@gunjan[~]tail -f /usr/local/apache/logs/error_log</p>
<p>[Tue Nov 17 19:38:32 2009] [crit] [client 192.168.0.2] (13)Permission denied: /home/admin/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable</p>
<p>As per above logs it seems that the nobody user is not getting read and executing permission upto any of that folder.So make sure that the public_html and the subdomain are set read and executing permission for nobody user.</p>
<p>&copy;2010 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2009/11/htaccess-pcfg_openfile-unable-to-check-htaccess-file-403-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to generate the password from shell (SSH)?</title>
		<link>http://www.theperfectarts.com/2009/11/how-to-generate-the-password-from-shell-ssh/</link>
		<comments>http://www.theperfectarts.com/2009/11/how-to-generate-the-password-from-shell-ssh/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 02:39:29 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Basic Linux]]></category>
		<category><![CDATA[Linux Administrator Interview Questions]]></category>
		<category><![CDATA[Server Security]]></category>
		<category><![CDATA[create password from shell]]></category>
		<category><![CDATA[mkpasswd command]]></category>
		<category><![CDATA[password from ssh]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=416</guid>
		<description><![CDATA[If you use SSH, use mkpasswd command for creating passwords&#8230; root@gunjan[~]#mkpasswd -l 10 -d 3 -C 3 -s 2 L]4P@V6ii3 &#169;2010 Linux Servers cPanel webhosting blog. All Rights Reserved..]]></description>
			<content:encoded><![CDATA[<p>If you use SSH, use mkpasswd command for creating passwords&#8230;</p>
<p><span style="color: #800000;">root@gunjan[~]#mkpasswd -l 10 -d 3 -C 3 -s 2<br />
L]4P@V6ii3</span></p>
<p>&copy;2010 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2009/11/how-to-generate-the-password-from-shell-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change timezone on Linux server?</title>
		<link>http://www.theperfectarts.com/2009/11/how-to-change-timezone-on-linux-server/</link>
		<comments>http://www.theperfectarts.com/2009/11/how-to-change-timezone-on-linux-server/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 00:49:39 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Basic Linux]]></category>
		<category><![CDATA[Few good queries and suggestions]]></category>
		<category><![CDATA[Linux Administrator Interview Questions]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[change time]]></category>
		<category><![CDATA[chnage time zone]]></category>
		<category><![CDATA[date command]]></category>
		<category><![CDATA[time change from est to gmt]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=409</guid>
		<description><![CDATA[You can change the time zone for your server by using following command. root@gunjan[~]#date Wed Nov 11 19:30:29 EST 2009 For example we are changing time zone  from EST to GMT. root@gunjan[~]#ln -sf /usr/share/zoneinfo/GMT /etc/localtime root@gunjan[~]#date Thu Nov 12 00:31:36 GMT 2009 &#169;2010 Linux Servers cPanel webhosting blog. All Rights Reserved..]]></description>
			<content:encoded><![CDATA[<p>You can change the time zone for your server by using following command.</p>
<p><span style="color: #800000;">root@gunjan[~]#date</span></p>
<p>Wed Nov 11 19:30:29 EST 2009</p>
<p>For example we are changing time zone  from EST to GMT.</p>
<p><span style="color: #800000;">root@gunjan[~]#ln -sf /usr/share/zoneinfo/GMT /etc/localtime</span></p>
<p><span style="color: #800000;">root@gunjan[~]#date</span></p>
<p>Thu Nov 12 00:31:36 GMT 2009</p>
<p>&copy;2010 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2009/11/how-to-change-timezone-on-linux-server/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
