<?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>Suse &#38; OpenSuse Tips &#187; tips</title>
	<atom:link href="http://www.susetips.com/tag/tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.susetips.com</link>
	<description>Tricks, Guides, Tutorials, How Tos and Troubleshooting suse linux</description>
	<lastBuildDate>Sat, 05 Jun 2010 17:55:24 +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>Installing HP LaserJet 1020 Printer for OpenSuSE</title>
		<link>http://www.susetips.com/2009/07/20/installing-hp-laserjet-1020-printer-for-opensuse/</link>
		<comments>http://www.susetips.com/2009/07/20/installing-hp-laserjet-1020-printer-for-opensuse/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 03:41:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[administration]]></category>
		<category><![CDATA[utility]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.susetips.com/2009/07/20/installing-hp-laserjet-1020-printer-for-opensuse/</guid>
		<description><![CDATA[Printers such as the HP LaserJet 1020 (1000, 1005, 1018, 1022 inclusive) are usually detected by the various Linux distribution.&#160; However, there seem to have little success in ensuring that the printer drivers installed works. Luckily for us, there is a driver that works very well with OpenSuSE (I have also tried it with Ubuntu [...]<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /></p>
<p><a href="http://www.susetips.com/2009/07/20/installing-hp-laserjet-1020-printer-for-opensuse/">Installing HP LaserJet 1020 Printer for OpenSuSE</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Printers such as the HP LaserJet 1020 (1000, 1005, 1018, 1022 inclusive) are usually detected by the various Linux distribution.&#160; However, there seem to have little success in ensuring that the printer drivers installed works.</p>
<p><img title="foo2zjs" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="287" alt="foo2zjs" src="http://www.susetips.com/wp-content/uploads/2009/07/foo2zjs.jpg" width="380" border="0" /> </p>
<p> <span id="more-169"></span>
<p>Luckily for us, there is a driver that works very well with OpenSuSE (I have also tried it with Ubuntu and SuSE Enterprise) and it can be found <a href="http://foo2zjs.rkkda.com/">here</a>.</p>
<p>Installing has never failed for me and the steps are basically (detailed instructions can be found at that site),</p>
<ul>
<li>Download it </li>
<li>Untar it </li>
<li>make </li>
<li>sudo make install </li>
<li>sudo make install-hotplug </li>
<li>make cups </li>
<li>yast2 printer </li>
</ul>
<p><img title="Printer Configurations - YaST" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="336" alt="Printer Configurations - YaST" src="http://www.susetips.com/wp-content/uploads/2009/07/PrinterConfigurationsYaST.png" width="380" border="0" /> </p>
<p>It has been working for me each time I install a new PC/Server with SuSE or OpenSuSE.&#160; Great tool and please do donate to their effort.</p>
<p> <script type="text/javascript"><!--
google_ad_client = "pub-4709064562032853";
/* 300x250, created 5/8/09 */
google_ad_slot = "9311445083";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /></p>
<p><a href="http://www.susetips.com/2009/07/20/installing-hp-laserjet-1020-printer-for-opensuse/">Installing HP LaserJet 1020 Printer for OpenSuSE</a></p>
<p>---<br />Related Articles at Suse &amp; OpenSuse Tips:<ul><li><a href="http://www.susetips.com/2009/12/22/how-to-run-windows-software-on-opensuse/" rel="bookmark" title="Permanent Link: How to run Windows software on OpenSuse">How to run Windows software on OpenSuse</a></li><li><a href="http://www.susetips.com/2010/01/12/how-to-install-gnomekde-desktop-environment-on-opensuse-11/" rel="bookmark" title="Permanent Link: How to install Gnome/KDE Desktop Environment on OpenSuse 11">How to install Gnome/KDE Desktop Environment on OpenSuse 11</a></li><li><a href="http://www.susetips.com/2009/09/12/opensuse-11-1-kde4-reloaded/" rel="bookmark" title="Permanent Link: Opensuse 11.1 KDE4 Reloaded">Opensuse 11.1 KDE4 Reloaded</a></li><li><a href="http://www.susetips.com/2009/10/04/opensuse-11-2-is-ready-for-release/" rel="bookmark" title="Permanent Link: OpenSuse 11.2 is ready for release">OpenSuse 11.2 is ready for release</a></li><li><a href="http://www.susetips.com/about/" rel="bookmark" title="Permanent Link: About Us">About Us</a></li></ul></p><br />]]></content:encoded>
			<wfw:commentRss>http://www.susetips.com/2009/07/20/installing-hp-laserjet-1020-printer-for-opensuse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to start services automatically at boot?</title>
		<link>http://www.susetips.com/2009/06/29/how-to-start-services-automatically-at-boot/</link>
		<comments>http://www.susetips.com/2009/06/29/how-to-start-services-automatically-at-boot/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 02:56:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[administration]]></category>
		<category><![CDATA[services]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.susetips.com/2009/06/29/how-to-start-services-automatically-at-boot/</guid>
		<description><![CDATA[In the traditional sense, when we want to include a new service at boot time, we looked into the /etc/init.d/ directory and figure out where to put it.&#160; (I tend to look and figure it out as it changes over the years). In many other distribution, they provide various ways to do this and to [...]<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /></p>
<p><a href="http://www.susetips.com/2009/06/29/how-to-start-services-automatically-at-boot/">How to start services automatically at boot?</a></p>
]]></description>
			<content:encoded><![CDATA[<p>In the traditional sense, when we want to include a new service at boot time, we looked into the <font face="Courier New">/etc/init.d/</font> directory and figure out where to put it.&#160; (I tend to look and figure it out as it changes over the years).</p>
<p> <span id="more-166"></span>
<p>In many other distribution, they provide various ways to do this and to ensure that it is correctly configured.&#160; In SuSE and OpenSuSE, they provided the command <font face="Courier New">insserv</font> for this purpose.</p>
<blockquote><p><font face="Courier New"># insserv –r hwscan</font></p>
</blockquote>
<p>If you would like to stop the scanning of hardware configuration at boot time.&#160; Normally, this is turned on but when you have the server configured and running optimally, you may want to disable it to ensure a faster boot up time.&#160; To start it again at boot up time, just</p>
<blockquote><p><font face="Courier New"># insserv hwscan</font></p>
</blockquote>
<p>Of course, YAST also provide this, go to YaST Control Center –&gt; System –&gt; System Services (Runlevel).</p>
<p><img title="Screenshot-System Services (Runlevel)_ Services - YaST" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="330" alt="Screenshot-System Services (Runlevel)_ Services - YaST" src="http://www.susetips.com/wp-content/uploads/2009/06/screenshotsystemservicesrunlevel-servicesyast.png" width="320" border="0" /> </p>
<p>Where you can enable/disable the services.</p>
<p> <script type="text/javascript"><!--
google_ad_client = "pub-4709064562032853";
/* 300x250, created 5/8/09 */
google_ad_slot = "9311445083";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /></p>
<p><a href="http://www.susetips.com/2009/06/29/how-to-start-services-automatically-at-boot/">How to start services automatically at boot?</a></p>
<p>---<br />Related Articles at Suse &amp; OpenSuse Tips:<ul><li><a href="http://www.susetips.com/2009/02/28/manually-starting-and-stopping-services-in-suseopensuse/" rel="bookmark" title="Permanent Link: Manually Starting and Stopping Services in Suse/OpenSuse">Manually Starting and Stopping Services in Suse/OpenSuse</a></li><li><a href="http://www.susetips.com/2009/04/22/how-to-mount-nfs-filesystems-at-boot-time/" rel="bookmark" title="Permanent Link: How to mount NFS Filesystems at Boot Time">How to mount NFS Filesystems at Boot Time</a></li><li><a href="http://www.susetips.com/2009/04/09/adding-applications-to-favorites-applications/" rel="bookmark" title="Permanent Link: Adding applications to “Favorites Applications”">Adding applications to “Favorites Applications”</a></li><li><a href="http://www.susetips.com/2009/02/24/how-to-configure-yast-firewall-for-bittorrent/" rel="bookmark" title="Permanent Link: How to configure YaST firewall for BitTorrent">How to configure YaST firewall for BitTorrent</a></li><li><a href="http://www.susetips.com/2009/04/08/how-to-remove-grub-from-mbr-of-hard-drive/" rel="bookmark" title="Permanent Link: How to remove GRUB from MBR of Hard Drive">How to remove GRUB from MBR of Hard Drive</a></li></ul></p><br />]]></content:encoded>
			<wfw:commentRss>http://www.susetips.com/2009/06/29/how-to-start-services-automatically-at-boot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to mount NFS Filesystems at Boot Time</title>
		<link>http://www.susetips.com/2009/04/22/how-to-mount-nfs-filesystems-at-boot-time/</link>
		<comments>http://www.susetips.com/2009/04/22/how-to-mount-nfs-filesystems-at-boot-time/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 12:42:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[NFS]]></category>

		<guid isPermaLink="false">http://www.susetips.com/2009/04/22/how-to-mount-nfs-filesystems-at-boot-time/</guid>
		<description><![CDATA[Network File System (NFS) is a network file system protocol originally developed by Sun Microsystems in 1984. With NFS, clients can mount filesystems across the network that are being offered by NFS servers and can work with them as if they were filesystems mounted from local disks. NFS is a simple and widely used method [...]<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /></p>
<p><a href="http://www.susetips.com/2009/04/22/how-to-mount-nfs-filesystems-at-boot-time/">How to mount NFS Filesystems at Boot Time</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Network File System (NFS) is a network file system protocol originally developed by Sun Microsystems in 1984. With NFS, clients can mount filesystems across the network that are being offered by NFS servers and can work with them as if they were filesystems mounted from local disks. NFS is a simple and widely used method of sharing files across the network.</p>
<p><span id="more-146"></span>
<p>It is possible that you may want to mount particular NFS filesystems at boot time. You may also want to allow non-root users on the client to mount NFS shares themselves. In either of these cases, you will need to include a suitable entry in the file <font face="Courier New">/etc/fstab</font>. Just as this file controls the local filesystems that are to be mounted, it can also control the mounting of NFS shares.
<p>For example, with this entry in <font face="Courier New">/etc/fstab</font> on the client:</p>
<blockquote><p><font face="Courier New">susetips:/test /testmount nfs user,noauto,ro 0 0</font></p>
</blockquote>
<p>any user on the client can mount (read-only) the specified directory from susetips on the specified mount point simply by issuing the command mount /testmount.</p>
<p>To force the directory to be mounted automatically, you might use the following:</p>
<blockquote><p><font face="Courier New">susetips:/test /testmount nfs rw 0 0</font></p>
</blockquote>
<p>This line in <font face="Courier New">/etc/fstab</font> ensures that the NFS share is mounted read-write whenever the system boots, provided that the service <font face="Courier New">nfs </font>is set to start in runlevel 3 on the client.</p>
<p><!--adsense--></p>
<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /></p>
<p><a href="http://www.susetips.com/2009/04/22/how-to-mount-nfs-filesystems-at-boot-time/">How to mount NFS Filesystems at Boot Time</a></p>
<p>---<br />Related Articles at Suse &amp; OpenSuse Tips:<ul><li><a href="http://www.susetips.com/2009/06/29/how-to-start-services-automatically-at-boot/" rel="bookmark" title="Permanent Link: How to start services automatically at boot?">How to start services automatically at boot?</a></li><li><a href="http://www.susetips.com/2009/04/05/how-to-reset-forgotten-root-password-in-suse-enterprise-server/" rel="bookmark" title="Permanent Link: How to reset forgotten root password in SuSE Enterprise Server">How to reset forgotten root password in SuSE Enterprise Server</a></li><li><a href="http://www.susetips.com/2009/02/16/recover-opensuse-lost-root-password/" rel="bookmark" title="Permanent Link: How to recover OpenSuse Lost Root Password">How to recover OpenSuse Lost Root Password</a></li><li><a href="http://www.susetips.com/2009/04/08/how-to-remove-grub-from-mbr-of-hard-drive/" rel="bookmark" title="Permanent Link: How to remove GRUB from MBR of Hard Drive">How to remove GRUB from MBR of Hard Drive</a></li><li><a href="http://www.susetips.com/2009/05/05/short-and-quick-tutorial-for-the-command-touch/" rel="bookmark" title="Permanent Link: Short and quick tutorial for the command “touch”">Short and quick tutorial for the command “touch”</a></li></ul></p><br />]]></content:encoded>
			<wfw:commentRss>http://www.susetips.com/2009/04/22/how-to-mount-nfs-filesystems-at-boot-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using redirections: 2&gt;&amp;1 (Part 2 of 2)</title>
		<link>http://www.susetips.com/2009/04/19/using-redirections-21-part-2-of-2/</link>
		<comments>http://www.susetips.com/2009/04/19/using-redirections-21-part-2-of-2/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 05:21:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[command]]></category>

		<guid isPermaLink="false">http://www.susetips.com/2009/04/19/using-redirections-21-part-2-of-2/</guid>
		<description><![CDATA[If you go through enough shell scripts, you will notice the frequent use of 2&#62;&#38;1.&#160; What does it mean and how it works? We have briefly introduced standard in (stdin) and standard out (stdout).&#160; In the command line interface and also in shell programming, these are represented as follows: 0 Standard In (STDIN) 1 Standard [...]<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /></p>
<p><a href="http://www.susetips.com/2009/04/19/using-redirections-21-part-2-of-2/">Using redirections: 2>&#038;1 (Part 2 of 2)</a></p>
]]></description>
			<content:encoded><![CDATA[<p>If you go through enough shell scripts, you will notice the frequent use of 2&gt;&amp;1.&#160; What does it mean and how it works?</p>
<p>We have briefly introduced standard in (stdin) and standard out (stdout).&#160; In the command line interface and also in shell programming, these are represented as follows:</p>
<ul>
<li>0 Standard In (STDIN) </li>
<li>1 Standard Out (STDOUT) </li>
<li>2 Standard Error (STDERR) </li>
</ul>
<p> <span id="more-139"></span>
<p>The <font face="Courier New">2&gt;&amp;1</font> basically means that to redirect standard error (STDERR) to standard out (STDOUT).&#160; We use <font face="Courier New">tar</font> to archive the home directory of the user <font face="Courier New">susetips</font> and redirect the verbose output to a file <font face="Courier New">bak.log</font> as an example;</p>
<blockquote><p><font face="Courier New"># tar cvf susetips.bak /home/susetips &gt;&gt; bak.log        <br />tar: Removing leading ‘/’ from member names</font></p>
</blockquote>
<p>The command above basically kept a listing of the files that were backed up in the file <font face="Courier New">bak.log</font>.&#160; This file can be kept as a reference to know what files were actually backed up.&#160; However, there’s a message from the <font face="Courier New">tar</font> command that still appeared on the terminal.&#160; This message is a warning/error message that outputs to STDERR, which in this case is the terminal.&#160; The <font face="Courier New">&gt;&gt;</font> redirection just puts the STDOUT to the file but not the STDERR.&#160; To redirect the STDERR to the same place as the STDOUT;</p>
<blockquote><p><font face="Courier New"># tar cvf susetips.bak /home/susetips &gt;&gt; bak.log 2&gt;&amp;1        <br />#</font></p>
</blockquote>
<p>Where the <font face="Courier New">2</font> represented STDERR, <font face="Courier New">&gt;</font> means redirect to and <font face="Courier New">&amp;1</font> is the variable name for STDOUT.&#160; You can check the content of the file <font face="Courier New">bak.log</font> by using the <font face="Courier New">cat </font>command. </p>
<p> <!--adsense#1--></p>
<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /></p>
<p><a href="http://www.susetips.com/2009/04/19/using-redirections-21-part-2-of-2/">Using redirections: 2>&#038;1 (Part 2 of 2)</a></p>
<p>---<br />Related Articles at Suse &amp; OpenSuse Tips:<ul><li><a href="http://www.susetips.com/2009/04/19/using-redirections-part-1-of-2/" rel="bookmark" title="Permanent Link: Using redirections; <, >, >> (Part 1 of 2)">Using redirections; <, >, >> (Part 1 of 2)</a></li><li><a href="http://www.susetips.com/about/" rel="bookmark" title="Permanent Link: About Us">About Us</a></li><li><a href="http://www.susetips.com/2009/04/27/how-to-create-shortcuts-on-gnome-desktop/" rel="bookmark" title="Permanent Link: How to create shortcuts on Gnome desktop">How to create shortcuts on Gnome desktop</a></li><li><a href="http://www.susetips.com/2009/05/05/using-command-output-with-backquotes/" rel="bookmark" title="Permanent Link: Using command output with backquotes">Using command output with backquotes</a></li><li><a href="http://www.susetips.com/2009/04/15/what-are-z-gz-and-bz2-files/" rel="bookmark" title="Permanent Link: What are .Z, .gz and .bz2 files?">What are .Z, .gz and .bz2 files?</a></li></ul></p><br />]]></content:encoded>
			<wfw:commentRss>http://www.susetips.com/2009/04/19/using-redirections-21-part-2-of-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using redirections; , &gt;&gt; (Part 1 of 2)</title>
		<link>http://www.susetips.com/2009/04/19/using-redirections-part-1-of-2/</link>
		<comments>http://www.susetips.com/2009/04/19/using-redirections-part-1-of-2/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 04:51:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[command]]></category>

		<guid isPermaLink="false">http://www.susetips.com/2009/04/19/using-redirections-part-1-of-2/</guid>
		<description><![CDATA[Redirections can be sometimes confusing to learn and utilize effectively.&#160; We will try to explain it in the simplest possible way that we think is effective.&#160; Please feel free to suggests a better approach to explaining it. Firstly, the 3 basic redirections. &#60; ; this less than symbol is to instruct the shell to read [...]<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /></p>
<p><a href="http://www.susetips.com/2009/04/19/using-redirections-part-1-of-2/">Using redirections; <, >, >> (Part 1 of 2)</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Redirections can be sometimes confusing to learn and utilize effectively.&#160; We will try to explain it in the simplest possible way that we think is effective.&#160; Please feel free to suggests a better approach to explaining it.</p>
<p>Firstly, the 3 basic redirections.</p>
<ul>
<li><strong>&lt;</strong> ; this less than symbol is to instruct the shell to read from a file instead of the standard input (stdin) which is generally the keyboard. As an example, assuming that you have a file <font face="Courier New">2compute </font>and using the command <font face="Courier New">bc</font> (basic calculator), you can redirect the content of <font face="Courier New">2compute</font> for <font face="Courier New">bc</font>. </li>
</ul>
<blockquote><p><font face="Courier New"># cat 2compute        <br />1 + 1         <br />2 / 2         <br /># bc &lt; 2compute         <br />2         <br />1         <br />#</font></p>
</blockquote>
<p> <span id="more-138"></span>
<ul>
<li><strong>&gt;</strong> ; the greater than symbol is to redirect the standard out (stdout) to a file instead of the screen/monitor (depending on what stdout is defined as). As an example, the <font face="Courier New">ls</font> command which list the content of your directory will display it on your terminal.&#160; We can redirect the output into a file (we use mydirectory as an example) </li>
</ul>
<blockquote><p><font face="Courier New"># ls        <br />bin&#160; Desktop&#160; Distribution&#160; Documents&#160; susetips         <br /># ls &gt; mydirectory         <br /># cat mydirectory         <br />bin         <br />Desktop         <br />Distribution         <br />Documents         <br />mydirectory         <br />susetips</font></p>
</blockquote>
<ul>
<li><strong>&gt;&gt;</strong> ; similarly to the &gt; symbol, using double greater than will append to the specified file as oppose to overwriting the file (if it exists).&#160; Following our previous example, if you use the single &gt;, it will overwrite the old file.&#160; Using the double &gt;, it will append to it. </li>
</ul>
<blockquote><p># cat mydirectory      <br />bin       <br />Desktop       <br />Distribution       <br />Documents       <br />mydirectory       <br />susetips       <br /># ls &gt; mydirectory       <br /># cat mydirectory       <br />bin       <br />Desktop       <br />Distribution       <br />Documents       <br />mydirectory       <br />susetips       <br />#ls &gt;&gt; mydirectory       <br /># cat mydirectory       <br />bin       <br />Desktop       <br />Distribution       <br />Documents       <br />mydirectory       <br />susetips       <br />bin       <br />Desktop       <br />Distribution       <br />Documents       <br />mydirectory       <br />susetips       <br />#</p>
</blockquote>
<p>Next, the puzzling <font face="Courier New"><strong>2&gt;&amp;1</strong></font></p>
<p> <!--adsense#1--></p>
<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /></p>
<p><a href="http://www.susetips.com/2009/04/19/using-redirections-part-1-of-2/">Using redirections; <, >, >> (Part 1 of 2)</a></p>
<p>---<br />Related Articles at Suse &amp; OpenSuse Tips:<ul><li><a href="http://www.susetips.com/2009/04/19/using-redirections-21-part-2-of-2/" rel="bookmark" title="Permanent Link: Using redirections: 2>&#038;1 (Part 2 of 2)">Using redirections: 2>&#038;1 (Part 2 of 2)</a></li><li><a href="http://www.susetips.com/about/" rel="bookmark" title="Permanent Link: About Us">About Us</a></li><li><a href="http://www.susetips.com/2009/04/27/how-to-create-shortcuts-on-gnome-desktop/" rel="bookmark" title="Permanent Link: How to create shortcuts on Gnome desktop">How to create shortcuts on Gnome desktop</a></li><li><a href="http://www.susetips.com/2009/05/05/using-command-output-with-backquotes/" rel="bookmark" title="Permanent Link: Using command output with backquotes">Using command output with backquotes</a></li><li><a href="http://www.susetips.com/2009/04/15/what-are-z-gz-and-bz2-files/" rel="bookmark" title="Permanent Link: What are .Z, .gz and .bz2 files?">What are .Z, .gz and .bz2 files?</a></li></ul></p><br />]]></content:encoded>
			<wfw:commentRss>http://www.susetips.com/2009/04/19/using-redirections-part-1-of-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using the “date” command and it’s % options</title>
		<link>http://www.susetips.com/2009/04/17/using-the-date-command-and-its-options/</link>
		<comments>http://www.susetips.com/2009/04/17/using-the-date-command-and-its-options/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 07:03:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[command]]></category>

		<guid isPermaLink="false">http://www.susetips.com/2009/04/17/using-the-date-command-and-its-options/</guid>
		<description><![CDATA[Well, you can’t really get a date with this command but it is a very useful command to know for administrative tasks as well as for automatic documentation through scripting. However, the date command’s options often baffles a lot of people (well, in my administering SuSE Linux class anyway) especially when they read about the [...]<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /></p>
<p><a href="http://www.susetips.com/2009/04/17/using-the-date-command-and-its-options/">Using the “date” command and it’s % options</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Well, you can’t really get a <strong>date</strong> with this command but it is a very useful command to know for administrative tasks as well as for automatic documentation through scripting.</p>
<p>However, the <font face="Courier New">date</font> command’s options often baffles a lot of people (well, in my administering SuSE Linux class anyway) especially when they read about the formatting using the % symbol on the man pages.</p>
<p> <span id="more-132"></span>
<p>Let me briefly extract what the man pages say;</p>
<blockquote><p><font face="Courier New">NAME        <br />&#160;&#160;&#160; date – print or set the system date and time         </p>
<p>SYNOPSIS         <br />&#160;&#160;&#160; date [OPTION] … [+FORMAT]         <br />&#160;&#160;&#160; date [-u|—utc|—universal] [MMDDhhmm[[CC]YY][.ss]]         </p>
<p>DESCRIPTION         <br />&#160;&#160;&#160; … blah blah …         </p>
<p>&#160;&#160;&#160; FORMAT controls the output. The only valid option         <br />&#160;&#160;&#160; for the second form specifies Coordinated         <br />&#160;&#160;&#160; Universal Time.&#160; Interpreted sequences are:         </p>
<p>&#160;&#160;&#160; %%&#160;&#160;&#160; a literal %         <br />&#160;&#160;&#160; …         <br />&#160;&#160;&#160; %F&#160;&#160;&#160; full date; same as %Y-%m-%d</font></p>
</blockquote>
<p>I have seen many different attempts at trying to understand how to use the %F, e.g.</p>
<blockquote><p><font face="Courier New"># date %F</font></p>
</blockquote>
<p>or</p>
<blockquote><p><font face="Courier New"># date –F</font></p>
</blockquote>
<p>However, it is actually quite clear but somehow it is not the usual UNIX/LINUX command option format.&#160; To get the date in the format 2009-04-17 (today’s date), you simply do</p>
<blockquote><p><font face="Courier New"># date +%F        <br />2009-04-17</font></p>
</blockquote>
<p>It becomes obvious after you read the man page again.</p>
<p> <!--adsense#1--></p>
<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /></p>
<p><a href="http://www.susetips.com/2009/04/17/using-the-date-command-and-its-options/">Using the “date” command and it’s % options</a></p>
<p>---<br />Related Articles at Suse &amp; OpenSuse Tips:<ul><li><a href="http://www.susetips.com/2009/05/29/differential-backup-script-sample/" rel="bookmark" title="Permanent Link: Differential backup script sample">Differential backup script sample</a></li><li><a href="http://www.susetips.com/2009/04/16/short-and-quick-tutorial-for-the-command-tar/" rel="bookmark" title="Permanent Link: Short and quick tutorial for the command “tar”">Short and quick tutorial for the command “tar”</a></li><li><a href="http://www.susetips.com/2009/05/05/automatically-dating-your-tar-backups/" rel="bookmark" title="Permanent Link: Automatically dating your tar backups">Automatically dating your tar backups</a></li><li><a href="http://www.susetips.com/2009/05/05/short-and-quick-tutorial-for-the-command-touch/" rel="bookmark" title="Permanent Link: Short and quick tutorial for the command “touch”">Short and quick tutorial for the command “touch”</a></li><li><a href="http://www.susetips.com/2009/04/05/short-and-quick-tutorial-for-the-command-find/" rel="bookmark" title="Permanent Link: Short and quick tutorial for the command “find”">Short and quick tutorial for the command “find”</a></li></ul></p><br />]]></content:encoded>
			<wfw:commentRss>http://www.susetips.com/2009/04/17/using-the-date-command-and-its-options/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to remove GRUB from MBR of Hard Drive</title>
		<link>http://www.susetips.com/2009/04/08/how-to-remove-grub-from-mbr-of-hard-drive/</link>
		<comments>http://www.susetips.com/2009/04/08/how-to-remove-grub-from-mbr-of-hard-drive/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 13:48:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[hdd]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.susetips.com/2009/04/08/how-to-remove-grub-from-mbr-of-hard-drive/</guid>
		<description><![CDATA[If you are running multiboot operating systems from your hard drive then you will require GRUB. It is a boot loader package from the GNU Project. GRUB is the reference implementation of the Multiboot Specification, which allows a user to have several different operating systems on their computer at once, and to choose which one [...]<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /></p>
<p><a href="http://www.susetips.com/2009/04/08/how-to-remove-grub-from-mbr-of-hard-drive/">How to remove GRUB from MBR of Hard Drive</a></p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.susetips.com/wp-content/uploads/2009/04/windowslivewriterhowtoremovegrubfrommbrofharddrive-131b2suse-grub-2.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="282" alt="suse_grub" src="http://www.susetips.com/wp-content/uploads/2009/04/windowslivewriterhowtoremovegrubfrommbrofharddrive-131b2suse-grub-thumb.png" width="370" border="0"></a> </p>
<p>If you are running multiboot operating systems from your hard drive then you will require GRUB. It is a boot loader package from the GNU Project. GRUB is the reference implementation of the Multiboot Specification, which allows a user to have several different operating systems on their computer at once, and to choose which one to run when the computer starts. With GRUB, it can be used to select from different kernel images available on a particular operating system&#8217;s partitions, as well as to pass boot-time parameters to such kernels.</p>
<p> <span id="more-109"></span>
<p>However, if you are facing difficulties with your GRUB and would like to remove it from the Master Boot Record (MBR) of your hard drive, there are two ways to do so:</p>
<p>1. If you have Windows XP installed, then you can boot to XP&#8217;s recovery console and run the &#8220;fixmbr&#8221;. (<a href="http://support.microsoft.com/kb/314503">Microsoft&#8217;s Help and Support</a>)</p>
<p>2. You could download <a href="http://www.supergrubdisk.org/">SuperGrubDisk</a> and fix your xp bootloader. You could delete the MBR but first, make a backup. Assuming that you have one disk, sda, run the following command as root:</p>
<blockquote><p>dd if=/dev/sda of=/home/xxxx/bkupmbr.img bs=446 count=1 </p>
</blockquote>
<p>Replace xxxx with whatever your user name is. Command above makes backup of mbr.</p>
<p>To delete mbr run command: </p>
<blockquote><p>dd if=/dev/zero of=/dev/sda bs=446 count=1</p>
</blockquote>
<p>Happy Trying!. <img src='http://www.susetips.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p> <!--adsense--></p>
<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /></p>
<p><a href="http://www.susetips.com/2009/04/08/how-to-remove-grub-from-mbr-of-hard-drive/">How to remove GRUB from MBR of Hard Drive</a></p>
<p>---<br />Related Articles at Suse &amp; OpenSuse Tips:<ul><li><a href="http://www.susetips.com/2009/04/05/how-to-reset-forgotten-root-password-in-suse-enterprise-server/" rel="bookmark" title="Permanent Link: How to reset forgotten root password in SuSE Enterprise Server">How to reset forgotten root password in SuSE Enterprise Server</a></li><li><a href="http://www.susetips.com/2009/03/13/how-to-remove-corrupted-gvfs-directory/" rel="bookmark" title="Permanent Link: How to remove corrupted .gvfs directory">How to remove corrupted .gvfs directory</a></li><li><a href="http://www.susetips.com/2009/04/09/how-to-temporary-disable-users/" rel="bookmark" title="Permanent Link: How to temporary disable users">How to temporary disable users</a></li><li><a href="http://www.susetips.com/2009/02/16/recover-opensuse-lost-root-password/" rel="bookmark" title="Permanent Link: How to recover OpenSuse Lost Root Password">How to recover OpenSuse Lost Root Password</a></li><li><a href="http://www.susetips.com/2009/04/16/short-and-quick-tutorial-for-the-command-tar/" rel="bookmark" title="Permanent Link: Short and quick tutorial for the command “tar”">Short and quick tutorial for the command “tar”</a></li></ul></p><br />]]></content:encoded>
			<wfw:commentRss>http://www.susetips.com/2009/04/08/how-to-remove-grub-from-mbr-of-hard-drive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to setup and enable OpenSSH</title>
		<link>http://www.susetips.com/2009/04/07/how-to-setup-and-enable-openssh/</link>
		<comments>http://www.susetips.com/2009/04/07/how-to-setup-and-enable-openssh/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 13:09:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[utility]]></category>
		<category><![CDATA[yast]]></category>

		<guid isPermaLink="false">http://www.susetips.com/2009/04/07/how-to-setup-and-enable-openssh/</guid>
		<description><![CDATA[OpenSSH is a FREE version of the SSH connectivity tools. For many users of telnet, rlogin, and ftp, they may not realize that most of the time their password is transmitted across the Internet unencrypted. With OpenSSH, it encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other attacks. Besides that, OpenSSH [...]<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /></p>
<p><a href="http://www.susetips.com/2009/04/07/how-to-setup-and-enable-openssh/">How to setup and enable OpenSSH</a></p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.susetips.com/wp-content/uploads/2009/04/windowslivewriterhowtosetupandenableopenssh-12864openssh-2.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="152" alt="OpenSSH" src="http://www.susetips.com/wp-content/uploads/2009/04/windowslivewriterhowtosetupandenableopenssh-12864openssh-thumb.png" width="420" border="0"></a> </p>
<p><a href="http://www.openssh.com/">OpenSSH</a> is a FREE version of the SSH connectivity tools. For many users of telnet, rlogin, and ftp, they may not realize that most of the time their password is transmitted across the Internet unencrypted. With OpenSSH, it encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other attacks. Besides that, OpenSSH provides secure tunneling capabilities and several authentication methods, and supports all SSH protocol versions. </p>
<p> <span id="more-105"></span>
<p><a href="http://www.susetips.com/wp-content/uploads/2009/04/windowslivewriterhowtosetupandenableopenssh-12864openssh-suse.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="340" alt="openSSH_suse" src="http://www.susetips.com/wp-content/uploads/2009/04/windowslivewriterhowtosetupandenableopenssh-12864openssh-suse-thumb.png" width="420" border="0"></a> </p>
<p>To setup and enable OpenSSH for SUSE/OpenSUSE, here are some simple steps to take:</p>
<ol>
<li>Navigate to Yast</li>
<li>Select install software</li>
<li>From within the search box type openssh and choose install</li>
<li>Now get back to yast and go to security and users</li>
<li>Select firewall and select allowed services</li>
<li>From the services to allow, choose the secured shell server (refer to the above picture)</li>
</ol>
<p>Happy Trying! <img src='http://www.susetips.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p> <!--adsense--></p>
<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /></p>
<p><a href="http://www.susetips.com/2009/04/07/how-to-setup-and-enable-openssh/">How to setup and enable OpenSSH</a></p>
<p>---<br />Related Articles at Suse &amp; OpenSuse Tips:<ul><li><a href="http://www.susetips.com/2009/04/06/suse-studio-create-your-own-customized-linux-os/" rel="bookmark" title="Permanent Link: SUSE Studio : Create your own customized Linux OS">SUSE Studio : Create your own customized Linux OS</a></li><li><a href="http://www.susetips.com/2009/12/22/how-to-run-windows-software-on-opensuse/" rel="bookmark" title="Permanent Link: How to run Windows software on OpenSuse">How to run Windows software on OpenSuse</a></li><li><a href="http://www.susetips.com/2009/04/09/how-to-temporary-disable-users/" rel="bookmark" title="Permanent Link: How to temporary disable users">How to temporary disable users</a></li><li><a href="http://www.susetips.com/2009/06/29/how-to-start-services-automatically-at-boot/" rel="bookmark" title="Permanent Link: How to start services automatically at boot?">How to start services automatically at boot?</a></li><li><a href="http://www.susetips.com/2009/04/09/adding-applications-to-favorites-applications/" rel="bookmark" title="Permanent Link: Adding applications to “Favorites Applications”">Adding applications to “Favorites Applications”</a></li></ul></p><br />]]></content:encoded>
			<wfw:commentRss>http://www.susetips.com/2009/04/07/how-to-setup-and-enable-openssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change font size for Yast and Sax2</title>
		<link>http://www.susetips.com/2009/04/06/how-to-change-font-size-for-yast-and-sax2/</link>
		<comments>http://www.susetips.com/2009/04/06/how-to-change-font-size-for-yast-and-sax2/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 13:22:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[sax2]]></category>
		<category><![CDATA[yast]]></category>

		<guid isPermaLink="false">http://www.susetips.com/2009/04/06/how-to-change-font-size-for-yast-and-sax2/</guid>
		<description><![CDATA[Sometimes the font size for your newly installed SUSE is too small for your reading pleasure. There are several ways to configure the font size. One method is to use the configuration utility for your window manager. If you are using KDE then the configuration utility is called kcontrol. You can run it by typing [...]<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /></p>
<p><a href="http://www.susetips.com/2009/04/06/how-to-change-font-size-for-yast-and-sax2/">How to change font size for Yast and Sax2</a></p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.susetips.com/wp-content/uploads/2009/04/windowslivewriterhowtochangefontsizeforyastandsax2-12b7cqt-config-font-2.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="252" alt="qt-config-font" src="http://www.susetips.com/wp-content/uploads/2009/04/windowslivewriterhowtochangefontsizeforyastandsax2-12b7cqt-config-font-thumb.png" width="320" border="0"></a> </p>
<p>Sometimes the font size for your newly installed SUSE is too small for your reading pleasure. There are several ways to configure the font size. One method is to use the configuration utility for your window manager.</p>
<p> <span id="more-99"></span>
<p>If you are using KDE then the configuration utility is called kcontrol. You can run it by typing kcontrol at a command prompt in a terminal emulator window. If you are using Gnome then you can select fonts by running gnome-control-center. This method however does not rectify the font size for Yast and Sax2. The other way is to go into the terminal, type su and enter root password, then type qtconfig and just choose the font that you want to use.</p>
<p><!--adsense--></p>
<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /></p>
<p><a href="http://www.susetips.com/2009/04/06/how-to-change-font-size-for-yast-and-sax2/">How to change font size for Yast and Sax2</a></p>
<p>---<br />Related Articles at Suse &amp; OpenSuse Tips:<ul><li><a href="http://www.susetips.com/2009/03/13/how-to-remove-corrupted-gvfs-directory/" rel="bookmark" title="Permanent Link: How to remove corrupted .gvfs directory">How to remove corrupted .gvfs directory</a></li><li><a href="http://www.susetips.com/2009/03/12/compiling-c-code-using-iostream-in-g-version-43-and-above/" rel="bookmark" title="Permanent Link: Compiling C++ code using iostream in G++ version 4.3 and above">Compiling C++ code using iostream in G++ version 4.3 and above</a></li><li><a href="http://www.susetips.com/2009/02/28/manually-starting-and-stopping-services-in-suseopensuse/" rel="bookmark" title="Permanent Link: Manually Starting and Stopping Services in Suse/OpenSuse">Manually Starting and Stopping Services in Suse/OpenSuse</a></li><li><a href="http://www.susetips.com/2009/06/29/how-to-start-services-automatically-at-boot/" rel="bookmark" title="Permanent Link: How to start services automatically at boot?">How to start services automatically at boot?</a></li><li><a href="http://www.susetips.com/2009/04/09/customizing-gnome-terminal-fonts-and-colors/" rel="bookmark" title="Permanent Link: Customizing Gnome Terminal fonts and colors">Customizing Gnome Terminal fonts and colors</a></li></ul></p><br />]]></content:encoded>
			<wfw:commentRss>http://www.susetips.com/2009/04/06/how-to-change-font-size-for-yast-and-sax2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to reset forgotten root password in SuSE Enterprise Server</title>
		<link>http://www.susetips.com/2009/04/05/how-to-reset-forgotten-root-password-in-suse-enterprise-server/</link>
		<comments>http://www.susetips.com/2009/04/05/how-to-reset-forgotten-root-password-in-suse-enterprise-server/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 06:16:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[SLES]]></category>
		<category><![CDATA[SUSE Enterprise]]></category>

		<guid isPermaLink="false">http://www.susetips.com/2009/04/05/how-to-reset-forgotten-root-password-in-suse-enterprise-server/</guid>
		<description><![CDATA[We do sometimes forget our passwords and what more when we don’t login to that particular account regularly.&#160; As good system administrators who automate most of the administrative tasks, we sometimes do not login to the root account often.&#160; This is especially so for a highly reliable and robust SLES based system. Our earlier posting [...]<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /></p>
<p><a href="http://www.susetips.com/2009/04/05/how-to-reset-forgotten-root-password-in-suse-enterprise-server/">How to reset forgotten root password in SuSE Enterprise Server</a></p>
]]></description>
			<content:encoded><![CDATA[<p>We do sometimes forget our passwords and what more when we don’t login to that particular account regularly.&#160; As good system administrators who automate most of the administrative tasks, we sometimes do not login to the root account often.&#160; This is especially so for a highly reliable and robust SLES based system.</p>
<p>Our earlier <a href="http://www.susetips.com/2009/02/16/recover-opensuse-lost-root-password/">posting</a> was for OpenSuSE, but for SuSE, the security is even tighter.&#160; The following technique would also work for OpenSuSE, and also most other distributions.</p>
<p><span id="more-83"></span>
<p>(1) Boot your server using the installation DVD.&#160; If the server is already powered on, you will need to do a hard power-on as you can’t shutdown (since you don’t have the root password).</p>
<p><img title="DSC00330" style="border-right: 0px; border-top: 0px; display: block; float: none; margin-left: auto; border-left: 0px; margin-right: auto; border-bottom: 0px" height="245" alt="DSC00330" src="http://www.susetips.com/wp-content/uploads/2009/04/dsc00330.jpg" width="380" border="0" /> </p>
<p>(2) Select “Resue System” and login as root.&#160; No password is required here.</p>
<p><img title="DSC00331" style="border-right: 0px; border-top: 0px; display: block; float: none; margin-left: auto; border-left: 0px; margin-right: auto; border-bottom: 0px" height="245" alt="DSC00331" src="http://www.susetips.com/wp-content/uploads/2009/04/dsc00331.jpg" width="380" border="0" /> </p>
<p>(3) You have now booted into the live DVD, that is, you have booted from the DVD and the file system mounted is that of the DVD.&#160; You will need to access your Hard Disk Drive which is not mounted by default. (In my scenario, my SuSE 11 partition is on an extended partition and is on device /dev/sda7.&#160; Yours maybe different and if your system is a pure SuSE 11 (which should be the case), it is likely to be /dev/sda1, if using SATA or SCSI.&#160; If using IDE, you can try /dev/hda1. To access (mount) the SuSE 11 partition on directory /mnt;</p>
<blockquote><p>#mount /dev/sda7 /mnt</p>
</blockquote>
<p>(4) Edit /mnt/etc/shadow which is where the encrypted passwords are stored. Note that you are not suppose to edit /etc/shadow which is one used for the Live DVD.&#160; Furthermore, you won’t be able to save the /etc/shadow as it is a read-only filesystem.</p>
<p>(5) Search for the entry starting with “root:”.</p>
<p>(6) Remove 2nd field (the fields are separated by the ‘:’, resulting in something that resembles</p>
<blockquote><p>root::14329::::::</p>
</blockquote>
<p>(7) Save and exit your editor. Remove your DVD.</p>
<p>(8) Boot into single user mode by keying in “single” at the GRUB boot menu.&#160; You will not be able to access or change root password if you boot into graphical mode.</p>
<p><img title="DSC00333" style="border-right: 0px; border-top: 0px; display: block; float: none; margin-left: auto; border-left: 0px; margin-right: auto; border-bottom: 0px" height="245" alt="DSC00333" src="http://www.susetips.com/wp-content/uploads/2009/04/dsc00333.jpg" width="380" border="0" /> </p>
<p>(9) After booting, you will be greeted on the command line with “Press enter for login:”, do as it says and you are in.</p>
<p>(10) Change root password by “passwd”.&#160; There you go … and reboot.</p>
<p>Any comments or ideas for further improvement are most welcome.</p>
<p><!--adsense#1-->  </p>
<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /></p>
<p><a href="http://www.susetips.com/2009/04/05/how-to-reset-forgotten-root-password-in-suse-enterprise-server/">How to reset forgotten root password in SuSE Enterprise Server</a></p>
<p>---<br />Related Articles at Suse &amp; OpenSuse Tips:<ul><li><a href="http://www.susetips.com/2009/02/16/recover-opensuse-lost-root-password/" rel="bookmark" title="Permanent Link: How to recover OpenSuse Lost Root Password">How to recover OpenSuse Lost Root Password</a></li><li><a href="http://www.susetips.com/2009/04/09/how-to-create-user-with-password-assigned/" rel="bookmark" title="Permanent Link: How to create user with password assigned">How to create user with password assigned</a></li><li><a href="http://www.susetips.com/2009/03/30/how-to-install-openofficeorg-in-sles-from-a-suse-linux-enterprise-desktop-iso-file/" rel="bookmark" title="Permanent Link: How to install OpenOffice.org in SLES from a SuSE Linux Enterprise Desktop ISO file">How to install OpenOffice.org in SLES from a SuSE Linux Enterprise Desktop ISO file</a></li><li><a href="http://www.susetips.com/2009/04/19/taking-screenshots-in-suse/" rel="bookmark" title="Permanent Link: Taking screenshots in SuSE">Taking screenshots in SuSE</a></li><li><a href="http://www.susetips.com/2009/04/07/how-to-setup-and-enable-openssh/" rel="bookmark" title="Permanent Link: How to setup and enable OpenSSH">How to setup and enable OpenSSH</a></li></ul></p><br />]]></content:encoded>
			<wfw:commentRss>http://www.susetips.com/2009/04/05/how-to-reset-forgotten-root-password-in-suse-enterprise-server/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to install OpenOffice.org in SLES from a SuSE Linux Enterprise Desktop ISO file</title>
		<link>http://www.susetips.com/2009/03/30/how-to-install-openofficeorg-in-sles-from-a-suse-linux-enterprise-desktop-iso-file/</link>
		<comments>http://www.susetips.com/2009/03/30/how-to-install-openofficeorg-in-sles-from-a-suse-linux-enterprise-desktop-iso-file/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 02:41:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[desktop]]></category>
		<category><![CDATA[openoffice]]></category>
		<category><![CDATA[SLES]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.susetips.com/2009/03/30/how-to-install-openofficeorg-in-sles-from-a-suse-linux-enterprise-desktop-iso-file/</guid>
		<description><![CDATA[After installing SuSE Linux Enterprise Server 11 (SLES 11), there are some packages that may be required that’s not on the SLES 11 DVD but is available from the SuSE Linux Enterprise Desktop 11 (SLED 11) DVD. One such example is OpenOffice.org. If you already have the SLED DVD, you can install from it by [...]<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /></p>
<p><a href="http://www.susetips.com/2009/03/30/how-to-install-openofficeorg-in-sles-from-a-suse-linux-enterprise-desktop-iso-file/">How to install OpenOffice.org in SLES from a SuSE Linux Enterprise Desktop ISO file</a></p>
]]></description>
			<content:encoded><![CDATA[<p>After installing SuSE Linux Enterprise Server 11 (SLES 11), there are some packages that may be required that’s not on the SLES 11 DVD but is available from the SuSE Linux Enterprise Desktop 11 (SLED 11) DVD. One such example is OpenOffice.org.</p>
<p>If you already have the SLED DVD, you can install from it by adding the SLED DVD as a new repository.&#160; If you don’t, you can download the ISO image from Novell.</p>
<p>Once downloaded, you need to;</p>
<p> <span id="more-74"></span>
<ol>
<li>Start Yast –&gt; Software Manager </li>
<li>Ctrl-R or go to Configuration –&gt; Repositories<img title="software-manager" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin: 15px auto 0px; border-right-width: 0px" height="256" alt="software-manager" src="http://www.susetips.com/wp-content/uploads/2009/03/softwaremanager.png" width="380" border="0" /> </li>
<li>Click on “Add” and select “Local ISO image …”<img title="media-type" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin: 15px auto 0px; border-right-width: 0px" height="278" alt="media-type" src="http://www.susetips.com/wp-content/uploads/2009/03/mediatype.png" width="380" border="0" /> </li>
<li>Key in the location of the ISO image, agree to the license agreement and you will have it included in your repository<img title="local-iso-image" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin: 15px auto 0px; border-right-width: 0px" height="278" alt="local-iso-image" src="http://www.susetips.com/wp-content/uploads/2009/03/localisoimage.png" width="380" border="0" />&#160; <!--adsense#1--><img title="new-repository" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin: 5px auto 0px; border-right-width: 0px" height="278" alt="new-repository" src="http://www.susetips.com/wp-content/uploads/2009/03/newrepository.png" width="380" border="0" /> </li>
<li>Search for “openoffice” and select “OpenOffice_org”.&#160; Click on “Accept” and it will install accordingly.<img title="install-ooo" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin: 15px auto 0px; border-right-width: 0px" height="278" alt="install-ooo" src="http://www.susetips.com/wp-content/uploads/2009/03/installooo.png" width="380" border="0" /> </li>
<li>You will have it installed on your system.&#160; Go to your start menu, click on “Application”, you will find OpenOffice.org application icons.<img title="application-ooo" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin: 15px auto 0px; border-right-width: 0px" height="245" alt="application-ooo" src="http://www.susetips.com/wp-content/uploads/2009/03/applicationooo.png" width="380" border="0" /></li>
</ol>
<p>Good luck!</p>
<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /></p>
<p><a href="http://www.susetips.com/2009/03/30/how-to-install-openofficeorg-in-sles-from-a-suse-linux-enterprise-desktop-iso-file/">How to install OpenOffice.org in SLES from a SuSE Linux Enterprise Desktop ISO file</a></p>
<p>---<br />Related Articles at Suse &amp; OpenSuse Tips:<ul><li><a href="http://www.susetips.com/2009/03/23/novell-launches-suse-11/" rel="bookmark" title="Permanent Link: Novell Launches SuSE 11">Novell Launches SuSE 11</a></li><li><a href="http://www.susetips.com/2010/02/23/how-to-install-gnome-desktop-environment-theme-in-opensuse-11-1/" rel="bookmark" title="Permanent Link: How to install GNOME desktop environment theme in OpenSuse 11.1">How to install GNOME desktop environment theme in OpenSuse 11.1</a></li><li><a href="http://www.susetips.com/2009/07/20/installing-hp-laserjet-1020-printer-for-opensuse/" rel="bookmark" title="Permanent Link: Installing HP LaserJet 1020 Printer for OpenSuSE">Installing HP LaserJet 1020 Printer for OpenSuSE</a></li><li><a href="http://www.susetips.com/2009/04/19/using-redirections-part-1-of-2/" rel="bookmark" title="Permanent Link: Using redirections; <, >, >> (Part 1 of 2)">Using redirections; <, >, >> (Part 1 of 2)</a></li><li><a href="http://www.susetips.com/2009/04/06/suse-studio-create-your-own-customized-linux-os/" rel="bookmark" title="Permanent Link: SUSE Studio : Create your own customized Linux OS">SUSE Studio : Create your own customized Linux OS</a></li></ul></p><br />]]></content:encoded>
			<wfw:commentRss>http://www.susetips.com/2009/03/30/how-to-install-openofficeorg-in-sles-from-a-suse-linux-enterprise-desktop-iso-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to remove corrupted .gvfs directory</title>
		<link>http://www.susetips.com/2009/03/13/how-to-remove-corrupted-gvfs-directory/</link>
		<comments>http://www.susetips.com/2009/03/13/how-to-remove-corrupted-gvfs-directory/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 07:45:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[desktop]]></category>
		<category><![CDATA[nautilus]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.susetips.com/2009/03/13/how-to-remove-corrupted-gvfs-directory/</guid>
		<description><![CDATA[The .gvfs directory found in home directories of users is actually the GnomeVFS (Gnome Virtual File System).&#160; This provides seamless and uniform access for the Nautilus file manager to&#160; users data no matter where and how it is stored. Data can be stored on a remote mounted file system, the local disk, a USB drive [...]<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /></p>
<p><a href="http://www.susetips.com/2009/03/13/how-to-remove-corrupted-gvfs-directory/">How to remove corrupted .gvfs directory</a></p>
]]></description>
			<content:encoded><![CDATA[<p>The <font face="Courier New" size="2">.gvfs</font> directory found in home directories of users is actually the GnomeVFS (Gnome Virtual File System).&#160; This provides seamless and uniform access for the Nautilus file manager to&#160; users data no matter where and how it is stored. Data can be stored on a remote mounted file system, the local disk, a USB drive or a digital camera and from the user’s perspective, it is the same.</p>
<p> <span id="more-55"></span>
<p>However, you may get a permission denied when accessing this directory (this is a bug). And even as a superuser/root, you will not be able to enter, delete or change permissions of the directory.&#160; When listing the home directory, you will get</p>
<blockquote><p><font size="2"><font face="Courier New">d?????????<font color="#333333">&#160;&#160; ? ?&#160;&#160;&#160; ?&#160;&#160;&#160;&#160;&#160;&#160; ?&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ? .gvfs</font></font></font></p>
</blockquote>
<p>Some applications will fail to execute and you are stuck!&#160; Well, the <font face="Courier New" size="2">.gvfs</font> is a filesystem, so you can umount it!</p>
<p><font face="Courier New" size="2">umount /home/&lt;username&gt;/.gvfs      <br />rm –r /home/&lt;username&gt;/.gvfs</font></p>
<p>You may not want to remove it but once you un-mount it, this should be a safe thing to do (as long as you never had a directory by that name before) but you may want to just check on it.</p>
<p> <!--adsense#1--></p>
<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /></p>
<p><a href="http://www.susetips.com/2009/03/13/how-to-remove-corrupted-gvfs-directory/">How to remove corrupted .gvfs directory</a></p>
<p>---<br />Related Articles at Suse &amp; OpenSuse Tips:<ul><li><a href="http://www.susetips.com/2009/04/09/how-to-temporary-disable-users/" rel="bookmark" title="Permanent Link: How to temporary disable users">How to temporary disable users</a></li><li><a href="http://www.susetips.com/2009/04/08/how-to-remove-grub-from-mbr-of-hard-drive/" rel="bookmark" title="Permanent Link: How to remove GRUB from MBR of Hard Drive">How to remove GRUB from MBR of Hard Drive</a></li><li><a href="http://www.susetips.com/2009/04/05/how-to-reset-forgotten-root-password-in-suse-enterprise-server/" rel="bookmark" title="Permanent Link: How to reset forgotten root password in SuSE Enterprise Server">How to reset forgotten root password in SuSE Enterprise Server</a></li><li><a href="http://www.susetips.com/2009/05/05/automatically-dating-your-tar-backups/" rel="bookmark" title="Permanent Link: Automatically dating your tar backups">Automatically dating your tar backups</a></li><li><a href="http://www.susetips.com/2009/04/05/short-and-quick-tutorial-for-the-command-find/" rel="bookmark" title="Permanent Link: Short and quick tutorial for the command “find”">Short and quick tutorial for the command “find”</a></li></ul></p><br />]]></content:encoded>
			<wfw:commentRss>http://www.susetips.com/2009/03/13/how-to-remove-corrupted-gvfs-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What’s the difference between “su” and “su –”?</title>
		<link>http://www.susetips.com/2009/03/06/whats-the-difference-between-su-and-su/</link>
		<comments>http://www.susetips.com/2009/03/06/whats-the-difference-between-su-and-su/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 11:54:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://www.susetips.com/2009/03/06/whats-the-difference-between-su-and-su/</guid>
		<description><![CDATA[We get asked this question quite often and maybe it is good to give a simple explanation.  “su” by itself means that you would like to assume the super user identity.  You can also assume the identity of another user using “su &#60;userid&#62;”. Then, many people actually ask why do we usually type “su –” [...]<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /></p>
<p><a href="http://www.susetips.com/2009/03/06/whats-the-difference-between-su-and-su/">What’s the difference between “su” and “su –”?</a></p>
]]></description>
			<content:encoded><![CDATA[<div class="mceTemp mceIEcenter">
<dl id="attachment_50" class="wp-caption aligncenter" style="width: 310px;">
<dt class="wp-caption-dt"><img class="size-medium wp-image-50" title="suse-terminal" src="http://www.susetips.com/wp-content/uploads/2009/03/suse-terminal-300x225.jpg" alt="opensuse terminal" width="300" height="225" /></dt>
</dl>
</div>
<p>We get asked this question quite often and maybe it is good to give a simple explanation.  “<span style="font-family: Courier New;">su”</span> by itself means that you would like to assume the super user identity.  You can also assume the identity of another user using “<span style="font-family: Courier New;">su &lt;userid&gt;”</span>.<br />
<span id="more-48"></span><br />
Then, many people actually ask why do we usually type “<span style="font-family: Courier New;">su –</span>” instead of just “<span style="font-family: Courier New;">su</span>”?  The main difference is that the one with the “<span style="font-family: Courier New;">-</span>“ will run the to-be-assumed userid’s startup scripts which will basically mean that you will have the environment settings (such as $PATH) as though you are logged in as the new userid.  Without the “<span style="font-family: Courier New;">-</span>“, you will have the environment settings of the current userid (probably your userid).<br />
<!--adsense#1--></p>
<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /></p>
<p><a href="http://www.susetips.com/2009/03/06/whats-the-difference-between-su-and-su/">What’s the difference between “su” and “su –”?</a></p>
<p>---<br />Related Articles at Suse &amp; OpenSuse Tips:<ul><li><a href="http://www.susetips.com/2009/05/29/differential-backup-script-sample/" rel="bookmark" title="Permanent Link: Differential backup script sample">Differential backup script sample</a></li></ul></p><br />]]></content:encoded>
			<wfw:commentRss>http://www.susetips.com/2009/03/06/whats-the-difference-between-su-and-su/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open Special Locations in Nautilus with URI</title>
		<link>http://www.susetips.com/2009/02/25/open-special-locations-in-nautilus-with-uri/</link>
		<comments>http://www.susetips.com/2009/02/25/open-special-locations-in-nautilus-with-uri/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 02:51:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[desktop]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nautilus]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.susetips.com/2009/02/25/open-special-locations-in-nautilus-with-uri/</guid>
		<description><![CDATA[For Linux, the official file manager for the GNOME desktop is Nautilus. In case you wondering the origin for Nautilus, it is a play on words. By evoking the shell of a nautilus to represent an operating system shell. Nautilus replaced Midnight Commander in GNOME 1.4 and was the default from version 2.0 onwards. There [...]<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /></p>
<p><a href="http://www.susetips.com/2009/02/25/open-special-locations-in-nautilus-with-uri/">Open Special Locations in Nautilus with URI</a></p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.susetips.com/wp-content/uploads/2009/02/windowslivewriteropenspeciallocationsinnautiluswithuri-9830nautilus-gnome-2.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="328" alt="nautilus-gnome" src="http://www.susetips.com/wp-content/uploads/2009/02/windowslivewriteropenspeciallocationsinnautiluswithuri-9830nautilus-gnome-thumb.png" width="370" border="0"></a> </p>
<p>For Linux, the official file manager for the GNOME desktop is Nautilus. In case you wondering the origin for Nautilus, it is a play on words. By evoking the shell of a nautilus to represent an operating system shell. Nautilus replaced Midnight Commander in GNOME 1.4 and was the default from version 2.0 onwards.</p>
<p> <span id="more-20"></span>
<p><a href="http://www.susetips.com/wp-content/uploads/2009/02/windowslivewriteropenspeciallocationsinnautiluswithuri-9830nautilus-2.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="143" alt="nautilus" src="http://www.susetips.com/wp-content/uploads/2009/02/windowslivewriteropenspeciallocationsinnautiluswithuri-9830nautilus-thumb.png" width="420" border="0"></a> </p>
<p>There are many ways to open an application in Nautilus. However, here&#8217;s a simple tip that you might not know. You can open special locations in Nautilus by entering the URI in the location bar. An Uniform Resource Identifier (URI) is a string of characters used to identify or name a resource on the Internet. You can invoke the location bar by using the keyboard shortcut key Ctrl+L.</p>
<p>For example, if you would like to show Computer and lists the disk partitions, you can type in <strong>computer:///</strong>. Similarly, you can try the following special location URIs : </p>
<p><strong>network:/// </strong>to show the network locations<br /><strong>burn:///</strong> to see the inbuilt CD application<br /><strong>fonts:///&nbsp; </strong>to list the fonts installed on the system<br /><strong>burn:///</strong> to open the CD Writing Window.<br /><strong>themes:///</strong> to list the themes available for the Gnome Desktop<br /><strong>system-settings:///</strong> to give access to system settings.
<p>These URIs can be handy and it could be a time saver indeed.</p>
<p><!--adsense--></p>
<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /></p>
<p><a href="http://www.susetips.com/2009/02/25/open-special-locations-in-nautilus-with-uri/">Open Special Locations in Nautilus with URI</a></p>
<p>---<br />Related Articles at Suse &amp; OpenSuse Tips:<ul><li><a href="http://www.susetips.com/2009/02/28/manually-starting-and-stopping-services-in-suseopensuse/" rel="bookmark" title="Permanent Link: Manually Starting and Stopping Services in Suse/OpenSuse">Manually Starting and Stopping Services in Suse/OpenSuse</a></li><li><a href="http://www.susetips.com/2009/02/26/burning-iso-image-onto-cd-dvd/" rel="bookmark" title="Permanent Link: How to Burn ISO image onto CD / DVD">How to Burn ISO image onto CD / DVD</a></li><li><a href="http://www.susetips.com/2009/03/13/how-to-remove-corrupted-gvfs-directory/" rel="bookmark" title="Permanent Link: How to remove corrupted .gvfs directory">How to remove corrupted .gvfs directory</a></li><li><a href="http://www.susetips.com/2010/01/12/how-to-install-gnomekde-desktop-environment-on-opensuse-11/" rel="bookmark" title="Permanent Link: How to install Gnome/KDE Desktop Environment on OpenSuse 11">How to install Gnome/KDE Desktop Environment on OpenSuse 11</a></li><li><a href="http://www.susetips.com/2009/02/24/how-to-configure-yast-firewall-for-bittorrent/" rel="bookmark" title="Permanent Link: How to configure YaST firewall for BitTorrent">How to configure YaST firewall for BitTorrent</a></li></ul></p><br />]]></content:encoded>
			<wfw:commentRss>http://www.susetips.com/2009/02/25/open-special-locations-in-nautilus-with-uri/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to recover OpenSuse Lost Root Password</title>
		<link>http://www.susetips.com/2009/02/16/recover-opensuse-lost-root-password/</link>
		<comments>http://www.susetips.com/2009/02/16/recover-opensuse-lost-root-password/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 06:19:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[password]]></category>

		<guid isPermaLink="false">http://www.susetips.com/?p=5</guid>
		<description><![CDATA[Hopefully not but from time to time, we may somehow forgot what our root password is.  This can happen in the case where you are managing a teaching laboratory, CAD/CAM workstations or your grandmother’s OpenSuSE PC!  These are situations where once the machine is setup, you rarely need to have system administration access.  So, the [...]<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /></p>
<p><a href="http://www.susetips.com/2009/02/16/recover-opensuse-lost-root-password/">How to recover OpenSuse Lost Root Password</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Hopefully not but from time to time, we may somehow forgot what our root password is.  This can happen in the case where you are managing a teaching laboratory, CAD/CAM workstations or your grandmother’s OpenSuSE PC!  These are situations where once the machine is setup, you rarely need to have system administration access.  So, the first answer is … re-install!</p>
<p>Heck no, an easier way is to</p>
<ol>
<li>Boot into single user mode</li>
<li>Change password</li>
<li>Reboot</li>
</ol>
<p><span id="more-5"></span></p>
<h4>Booting into single user mode</h4>
<p>Assuming that you did not password protect  your GRUB boot loader (default boot loader for most Linux distribution), to boot into single user mode in most Linux distribution, you simply need to ask it to boot into single user mode (runlevel 1) but as rightly pointed out (<em>see comment</em>), in OpenSuSE, instead of simply pressing “1” when greeted with the following screen, you need to instead input &#8220;<span style="font-family: Courier New;">init=/bin/sh</span>&#8220;.  By pressing &#8220;1&#8243;, you will still be required to enter the root password.</p>
<p><a style="text-decoration: none;" href="http://www.susetips.com/wp-content/uploads/2009/02/blogpost.jpg"></a></p>
<div id="attachment_45" class="wp-caption aligncenter" style="width: 411px"><a style="text-decoration: none;" href="http://www.susetips.com/wp-content/uploads/2009/02/blogpost.jpg"><img class="size-full wp-image-45" title="blog-post1" src="http://www.susetips.com/wp-content/uploads/2009/02/blog-post1.jpg" alt="GRUB startup" width="401" height="249" /></a><p class="wp-caption-text">GRUB startup</p></div>
<p><em>(Note, not all GRUB screens are like that, if by pressing “1”, it boots immediately, then the next time, press ESC to go to the text based menu.  From there, select the entry and press “e” to edit and then go to the boot instruction line and press “e” again.  You can then add the “1” at the end of the command.  Press “b” after that to boot)</em></p>
<h4>Change password</h4>
<p>Once in single user mode, you should just get the following command line prompt.</p>
<div>
<table border="0" cellspacing="0" cellpadding="1" width="400" align="center">
<tbody>
<tr>
<td width="400" align="center">
<p align="left"><span style="font-family: Courier New;">your-hostname:~ #</span></p>
</td>
</tr>
</tbody>
</table>
</div>
<p>You are actually logged in as root (superuser) and you can change the password from there.</p>
<div>
<table border="0" cellspacing="0" cellpadding="1" width="400" align="center">
<tbody>
<tr>
<td width="400" valign="top">
<p align="left"><span style="font-family: Courier New;">your-hostname:~ # passwd<br />
</span><span style="font-family: Courier New;">Changing password for root.<br />
</span><span style="font-family: Courier New;">New Password:</span></td>
</tr>
</tbody>
</table>
</div>
<p>Enter your new password (and this time remember it!).  You should see the following to confirmed that the password has changed.</p>
<div>
<table border="0" cellspacing="0" cellpadding="1" width="400" align="center">
<tbody>
<tr>
<td width="400" align="center">
<p align="left"><span style="font-family: Courier New;">Reenter New Password:<br />
Password changed.</span></td>
</tr>
</tbody>
</table>
</div>
<h4>Reboot</h4>
<p>Simlpy type,</p>
<div>
<table border="0" cellspacing="0" cellpadding="1" width="400" align="center">
<tbody>
<tr>
<td width="400" align="center">
<p align="left"><span style="font-family: Courier New;">your-hostname:~ # reboot</span></p>
</td>
</tr>
</tbody>
</table>
</div>
<p>Your root password has been reset!<br />
<!--adsense#1--></p>
<p>Post from: <a href="http://www.susetips.com">Suse & OpenSuse Tips</a><br />
-----------------------------------------------------------------------<br /></p>
<p><a href="http://www.susetips.com/2009/02/16/recover-opensuse-lost-root-password/">How to recover OpenSuse Lost Root Password</a></p>
<p>---<br />Related Articles at Suse &amp; OpenSuse Tips:<ul><li><a href="http://www.susetips.com/2009/04/05/how-to-reset-forgotten-root-password-in-suse-enterprise-server/" rel="bookmark" title="Permanent Link: How to reset forgotten root password in SuSE Enterprise Server">How to reset forgotten root password in SuSE Enterprise Server</a></li><li><a href="http://www.susetips.com/2009/04/09/how-to-create-user-with-password-assigned/" rel="bookmark" title="Permanent Link: How to create user with password assigned">How to create user with password assigned</a></li><li><a href="http://www.susetips.com/2010/01/12/how-to-install-gnomekde-desktop-environment-on-opensuse-11/" rel="bookmark" title="Permanent Link: How to install Gnome/KDE Desktop Environment on OpenSuse 11">How to install Gnome/KDE Desktop Environment on OpenSuse 11</a></li><li><a href="http://www.susetips.com/2009/04/09/how-to-temporary-disable-users/" rel="bookmark" title="Permanent Link: How to temporary disable users">How to temporary disable users</a></li><li><a href="http://www.susetips.com/2010/02/28/how-to-install-virtualbox-guest-additions-in-opensuse-11-2/" rel="bookmark" title="Permanent Link: How to install VirtualBox Guest Additions in OpenSuse 11.2">How to install VirtualBox Guest Additions in OpenSuse 11.2</a></li></ul></p><br />]]></content:encoded>
			<wfw:commentRss>http://www.susetips.com/2009/02/16/recover-opensuse-lost-root-password/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
