<?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>Tuts4Tech &#187; root</title>
	<atom:link href="http://tuts4tech.net/tag/root/feed/" rel="self" type="application/rss+xml" />
	<link>http://tuts4tech.net</link>
	<description>Tech Tutorials</description>
	<lastBuildDate>Tue, 04 May 2010 20:35:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Resetting your mysql root password</title>
		<link>http://tuts4tech.net/2009/08/13/resetting-your-mysql-root-password/</link>
		<comments>http://tuts4tech.net/2009/08/13/resetting-your-mysql-root-password/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 22:33:40 +0000</pubDate>
		<dc:creator>Duffy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[dump]]></category>
		<category><![CDATA[forgot]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[premissions]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[table]]></category>

		<guid isPermaLink="false">http://tuts4tech.net/?p=554</guid>
		<description><![CDATA[First of all we need to stop mysql Create a mysql table dump to reset the password Now we need to start mysql in safe mode and import the mysql table dump Finally we need to kill mysql and start it in normal mode Your password should now be reset to the one you specified [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li>First of all we need to stop mysql
<pre class="brush: plain; title: ; notranslate">/etc/init.d/mysql stop</pre>
</li>
<p></p>
<li>Create a mysql table dump to reset the password
<pre class="brush: plain; title: ; notranslate">UPDATE mysql.user SET Password=PASSWORD('YOUR-NEW-MYSQL-PASSWORD') WHERE User='root';
FLUSH PRIVILEGES;</pre>
</li>
<p></p>
<li>Now we need to start mysql in safe mode and import the mysql table dump
<pre class="brush: plain; title: ; notranslate">mysqld_safe --init-file=/path/to/mysql/table/dump &amp;</pre>
</li>
<p></p>
<li>Finally we need to kill mysql and start it in normal mode
<pre class="brush: plain; title: ; notranslate">killall mysqld
/etc/init.d/mysql start</pre>
</li>
<p></p>
<li>Your password should now be reset to the one you specified in the mysql table dump</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://tuts4tech.net/2009/08/13/resetting-your-mysql-root-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux File Permissions</title>
		<link>http://tuts4tech.net/2009/04/05/linux-file-permission/</link>
		<comments>http://tuts4tech.net/2009/04/05/linux-file-permission/#comments</comments>
		<pubDate>Sun, 05 Apr 2009 09:46:51 +0000</pubDate>
		<dc:creator>Duffy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[permissions]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://duffys-place.co.cc/?p=64</guid>
		<description><![CDATA[What is chmod? Chmod is a command that changes the access permissions of files or directories in order to read, write or execute files How do I view The permissions of files? You can do this by typing Heres is a example of its output What do the letters mean in front of the files/directories [...]]]></description>
			<content:encoded><![CDATA[<p>What is chmod?<br />
Chmod is a command that changes the access permissions of files or directories in order to read, write or execute files</p>
<p>How do I view The permissions of files?<br />
You can do this by typing</p>
<pre class="brush: plain; title: ; notranslate">ls -la</pre>
<p>Heres is a example of its output</p>
<pre class="brush: plain; title: ; notranslate">root@duffys-place:/etc/lighttpd# ls -la
total 20
drwxr-xr-x  4 root root 4096 2009-03-29 00:36 .
drwxr-xr-x 79 root root 4096 2009-04-05 01:14 ..
drwxr-xr-x  2 root root 4096 2009-03-29 00:30 conf-available
drwxr-xr-x  2 root root 4096 2008-09-27 11:24 conf-enabled
-rw-r--r--  1 root root 3248 2009-04-05 01:18 lighttpd.conf
root@duffys-place:/etc/lighttpd#</pre>
<p>What do the letters mean in front of the files/directories mean?<br />
r indicates that it is readable (someone can view the file’s contents)<br />
w indicates that it is writable (someone can edit the file’s contents)<br />
x indicates that it is executable (someone can run the file, if executable)<br />
- indicates that no permission to manipulate has been assigned.</p>
<p>When you are listing files/directories the first character lets you know whether you’re looking at a file or a directory. The next three characters define your permissions.</p>
<p>Using Chmod<br />
7	Full Permissions<br />
5	Read and Execute<br />
4	Read Only<br />
3	Write and Execute<br />
2	Write Only<br />
1	Execute Only<br />
0	No Permissions</p>
<p>Example:</p>
<pre class="brush: plain; title: ; notranslate">chmod 755 filename</pre>
<p>Why is there three numbers?<br />
The First number defines what the owners permissions are.<br />
The second number defines what the group rights are.<br />
And the last number defines what access other users have.</p>
<p>In this case we have 755 so that means the owner has full permissions, group rights to execute and read, and all others access to execute the file.</p>
]]></content:encoded>
			<wfw:commentRss>http://tuts4tech.net/2009/04/05/linux-file-permission/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

