<?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>Technowine &#187; Linux</title>
	<atom:link href="http://www.technowine.com/category/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://www.technowine.com</link>
	<description>The Search Ends Here</description>
	<lastBuildDate>Tue, 15 Jun 2010 08:49:37 +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>Restricting FTP Users in a chroot-ed Jail</title>
		<link>http://www.technowine.com/restricting-ftp-users-in-a-chroot-ed-jail</link>
		<comments>http://www.technowine.com/restricting-ftp-users-in-a-chroot-ed-jail#comments</comments>
		<pubDate>Thu, 08 Apr 2010 15:49:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.technowine.com/?p=403</guid>
		<description><![CDATA[Restricting FTP Users in a chroot-ed Jail: &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- We can specify an explicit list of local users to chroot to their home directories by specifying, chroot_list_enable=YES in /etc/vsftpd/vsftpd.conf more over we need to specify the list of users which are to be chroot-ed, in a file specified by chroot_list_file. If chroot_list_file=/etc/vsftpd/chroot_users then we need to [...]]]></description>
			<content:encoded><![CDATA[<p>Restricting FTP Users in a chroot-ed Jail:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
We can specify an explicit list of local users to<br />
chroot to their home directories by specifying,<br />
<span id="more-403"></span><br />
chroot_list_enable=YES</p>
<p>in /etc/vsftpd/vsftpd.conf<br />
more over we need to specify the list of<br />
users which are to be chroot-ed,<br />
in a file specified by</p>
<p>chroot_list_file.</p>
<p>If chroot_list_file=/etc/vsftpd/chroot_users</p>
<p>then we need to enter the users&#8217; names in /etc/vsftpd/chroot_users.<br />
Restart the ftp server and login as those users.<br />
Check whether they CD to other<br />
directories. Theres an additional syntax in vsftpd.conf<br />
which just reverse the default configuration just like<br />
userlist_deny=NO does for access rights.<br />
If, chroot_local_user=YES,<br />
then users who are NOT listed in /etc/vsftpd/chroot_users would only be chrooted.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.technowine.com/restricting-ftp-users-in-a-chroot-ed-jail/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Contributing to Open Source Projects</title>
		<link>http://www.technowine.com/contributing-to-open-source-projects</link>
		<comments>http://www.technowine.com/contributing-to-open-source-projects#comments</comments>
		<pubDate>Thu, 04 Feb 2010 15:25:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[IT Enterprise]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.technowine.com/?p=369</guid>
		<description><![CDATA[This page is aimed at programmers new to the Open Source / Free Software world, who want to make a contribution, but aren&#8217;t sure where to start. Open source is a development method for software that harnesses the power of distributed peer review and transparency of process. The promise of open source is better quality, [...]]]></description>
			<content:encoded><![CDATA[<p>This page is aimed at programmers new to the Open Source / Free Software world, who want to make a contribution, but aren&#8217;t sure where to start.<br />
Open source is a development method for software that harnesses the power of distributed peer review and transparency of process. The promise of open source is better quality, higher reliability, more flexibility, lower cost, and an end to predatory vendor lock-in.<br />
<span id="more-369"></span></p>
<p>1. Use different open source projects like Linux, Solaris, Firefox, Filezilla, Apache HTTP Server, Gaim, and others.</p>
<p>2. Look for a place to contribute. This means not only programming, but also documentation, theme design, art work, or architectural design.</p>
<p>3. Note that each project has its own distinct methods for communication and submitting contributions.</p>
<p>4. Join the mailing list. This is highly recommended because you will never feel that you are left behind. You can also get feedback on patches and   contributions.</p>
<p>5. Respect and maintain discussions.</p>
<p>6. Encourage contributions.</p>
<p>7. Start small by reporting and fixing bugs.</p>
<p>8. Submitting small patches containing bug fixes.</p>
<p>9. Respond and send feedback.</p>
<p>10. If you really want to help but don&#8217;t have the experience or the know-how, DONATE! By giving a few dollars to help out open source developers, you can help them get the tools they need to build better programs.</p>
<p>Also read, <a href="http://www.kegel.com/academy/opensource.html">http://www.kegel.com/academy/opensource.html</a></p>
<p><script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_US" type="text/javascript"></script><script type="text/javascript">FB.init("25883f18121ab242ae701d6427887612");</script></p>
<p><fb:login-button v="2" size="medium" onlogin="window.location.reload(true);">Connect to me on Facebook</fb:login-button></p>
]]></content:encoded>
			<wfw:commentRss>http://www.technowine.com/contributing-to-open-source-projects/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is SELinux?</title>
		<link>http://www.technowine.com/what-is-selinux</link>
		<comments>http://www.technowine.com/what-is-selinux#comments</comments>
		<pubDate>Fri, 15 Jan 2010 08:45:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[What Is]]></category>

		<guid isPermaLink="false">http://www.technowine.com/?p=294</guid>
		<description><![CDATA[Security-enhanced Linux (SELinux) is an implementation of a mandatory access control mechanism. This mechanism is in the Linux kernel, checking for allowed operations after standard Linux discretionary access controls are checked. To understand the benefit of mandatory access control (MAC) over traditional discretionary access control (DAC), you need to first understand the limitations of DAC. Under DAC, [...]]]></description>
			<content:encoded><![CDATA[<p><em>Security-enhanced Linux</em><em> </em> (<abbr><em>SELinux</em></abbr><em></em><em></em>) is an implementation of a <em>mandatory access control</em> mechanism. This mechanism is in the Linux kernel, checking for allowed operations after standard Linux <em>discretionary access controls</em> are checked.</p>
<p>To understand the benefit of mandatory access control (<abbr>MAC</abbr>) over traditional discretionary access control (<abbr>DAC</abbr>), you need to first understand the limitations of DAC.<br />
<span id="more-294"></span><br />
Under DAC, ownership of a file object provides potentially crippling or risky control over the object. A user can expose a file or directory to a security or confidentiality breach with a misconfigured <tt>chmod</tt> command and an unexpected propagation of access rights. A process started by that user, such as a CGI script, can do anything it wants to the files owned by the user. A compromised Apache HTTP server can perform any operation on files in the Web group. Malicious or broken software can have root-level access to the entire system, either by running as a root process or using <tt>setuid</tt> or <tt>setgid</tt>.</p>
<p>Under DAC, there are really only two major categories of users, administrators and non-administrators. In order for services and programs to run with any level of elevated privilege, the choices are few and course grained, and typically resolve to just giving full administrator access. Solutions such as <abbr>ACL</abbr>s (<em>access control lists</em>) can provide some additional security for allowing non-administrators expanded privileges, but for the most part a root account has complete discretion over the file system.</p>
<p>A MAC or <em>non-discretionary access control</em> framework allows you to define permissions for how all processes (called <em>subjects</em>) interact with other parts of the system such as files, devices, sockets, ports, and other processes (called <em>objects</em> in SELinux). This is done through an administratively-defined security policy over all processes and objects. These processes and objects are controlled through the kernel, and security decisions are made on all available information rather than just user identity. With this model, a process can be granted just the permissions it needs to be functional. This follows the principle of <em>least privilege</em>. Under MAC, for example, users who have exposed their data using <tt>chmod</tt> are protected by the fact that their data is a kind only associated with user home directories, and confined processes cannot touch those files without permission and purpose written into the policy.</p>
<p>SELinux is implemented in the Linux kernel using the <abbr>LSM</abbr> (<em>Linux Security Modules</em>) framework.</p>
<p>Type Enforcement involves defining a <em>type</em> for every subject, that is, process, and object on the system. These types are defined by the SELinux <em>policy</em> and are contained in security labels on the files themselves, stored in the <em>extended attributes</em> (<abbr><em>xattrs</em></abbr><em></em><em></em>) of the file. When a type is associated with a processes, the type is called a <em>domain</em>, as in, &#8220;<tt>httpd</tt> is in the domain of <samp>httpd_t</samp>.&#8221; This is a terminology difference leftover from other models when domains and types were handled separately.</p>
<p>All interactions between subjects and objects are disallowed by default on an SELinux system. The policy specifically allows certain operations. To know what to allow, TE uses a matrix of domains and object types derived from the policy. The matrix is derived from the policy rules. For example, <samp>allow httpd_t net_conf_t:file { read getattr lock ioctl };</samp> gives the domain associated with <tt>httpd</tt> the permissions to read data out of specific network configuration files such as<tt>/etc/resolv.conf</tt>. The matrix clearly defines all the interactions of processes and the targets of their operations.</p>
<p><script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_US" type="text/javascript"></script><script type="text/javascript">FB.init("25883f18121ab242ae701d6427887612");</script></p>
<p><fb:login-button v="2" size="medium" onlogin="window.location.reload(true);">Connect to me on Facebook</fb:login-button></p>
]]></content:encoded>
			<wfw:commentRss>http://www.technowine.com/what-is-selinux/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>What is a zombie process?</title>
		<link>http://www.technowine.com/what-is-a-zombie-process</link>
		<comments>http://www.technowine.com/what-is-a-zombie-process#comments</comments>
		<pubDate>Sun, 04 Oct 2009 16:18:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[What Is]]></category>

		<guid isPermaLink="false">http://www.technowine.com/?p=252</guid>
		<description><![CDATA[Zombie process is a process observed in Unix/Linux operating system. Zombie process are those process which has finished execution but still have an entry in the process table. This entry for the zombie process is used by the parent to know about the exit status of its child . After the zombie is removed, its [...]]]></description>
			<content:encoded><![CDATA[<p><strong><img class="alignleft size-thumbnail wp-image-253" title="zombie" src="http://www.technowine.com/wp-content/uploads/2009/10/zombie-150x150.jpg" alt="zombie" width="150" height="150" />Zombie</strong> process is a process observed in Unix/Linux operating system. Zombie process are those process which has finished execution but  still have an entry in the process table. This entry for the zombie process is used by the parent  to know about the exit status of its child .<br />
<span id="more-252"></span></p>
<p>After the zombie is removed, its process id and entry in the process table can then be reused  but until its entry is in the process table that value cannot be used for other process in case the parent spawns the new process. It will allocate a new pid different from that of  zombie process  to the new process created.</p>
<p>Zombies can be identified in the output from the ps command in Linux by the presence of a <strong>“Z”</strong> in the <strong>“STAT”</strong> column.</p>
<p>To remove zombies from a system, the <strong>SIGCHLD</strong> signal can be sent to the parent manually, using the kill command. If the parent process still refuses to reap the zombie, the next step would be to remove the parent process. When a process loses its parent, init becomes its new parent. Init periodically executes the wait system call to reap any zombies with init as parent.</p>
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
<p><script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_US" type="text/javascript"></script><script type="text/javascript">FB.init("25883f18121ab242ae701d6427887612");</script></p>
<p><fb:login-button v="2" size="medium" onlogin="window.location.reload(true);">Connect to me on Facebook</fb:login-button></p>
]]></content:encoded>
			<wfw:commentRss>http://www.technowine.com/what-is-a-zombie-process/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How does SSH(Secure Shell) works?</title>
		<link>http://www.technowine.com/how-does-sshsecure-shell-works</link>
		<comments>http://www.technowine.com/how-does-sshsecure-shell-works#comments</comments>
		<pubDate>Sat, 19 Sep 2009 16:30:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.technowine.com/?p=222</guid>
		<description><![CDATA[You must have done remote file sharing and remote logins. Have you ever thought that whether your communication over the channel  is   secure or not. If you are using tools/utilities like ftp , telnet then you are not secure. SSH acronym for Secure Shell enables you to have transfer over the network in the encrypted [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-thumbnail wp-image-224" title="ssh-logo" src="http://www.technowine.com/wp-content/uploads/2009/09/ssh-logo-150x150.png" alt="ssh-logo" width="150" height="150" />You must have done remote file sharing and remote logins. Have you ever thought that whether your communication over the channel  is   secure or not. If you are using tools/utilities  like ftp , telnet  then you are not secure. <strong>SSH</strong> acronym for Secure Shell enables you to have transfer over the network in the encrypted manner.</p>
<p>This is how<strong> SSH</strong> works:<br />
When a user attempts for a remote login using SSH  ,for the first time  it prompts for the generation of keys. SSH uses asymmetric Encryption. <strong>Asymmetric encryption</strong> also allows for digital certificates.<br />
<span id="more-222"></span></p>
<p>Two types of key are generated:</p>
<p><strong>Private key </strong>:  This key is kept only with the user who generated the key and is used for encrypting the messages before sending them over the network.</p>
<p><strong>Public key </strong>: This key is distributed to all the users with which you want to encrypt your communication .Remote system uses this key to decrypt the encrypted messsages which is sent by the user to the remote  machines.</p>
<p><strong>This is how SSH actually works:</strong></p>
<p><strong>SENDER:</strong></p>
<p>generate  public/private key pair : P and S<br />
 publish  public key P .guard private key S<br />
encrypt message M with private key S<br />
 send recipient S(M)</p>
<p><strong>RECIPIENT:</strong></p>
<p>decrypt with sender’s public key to recover M=P(S(M))</p>
<p>For making remote login through ssh :<br />
At the hash prompt:</p>
<p>#ssh 192.168.1.1</p>
<p>then type yes for the generation of the keys and then enter the password for the remote system and you are logged into the system</p>
<p>Enjoy the encrypted communication and stay away from network hacks.</p>
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
<p><script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_US" type="text/javascript"></script><script type="text/javascript">FB.init("25883f18121ab242ae701d6427887612");</script></p>
<p><fb:login-button v="2" size="medium" onlogin="window.location.reload(true);">Connect to me on Facebook</fb:login-button></p>
]]></content:encoded>
			<wfw:commentRss>http://www.technowine.com/how-does-sshsecure-shell-works/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Break root password in redhat/linux?</title>
		<link>http://www.technowine.com/how-to-break-root-password-in-redhatlinux</link>
		<comments>http://www.technowine.com/how-to-break-root-password-in-redhatlinux#comments</comments>
		<pubDate>Sun, 28 Jun 2009 09:21:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.technowine.com/?p=180</guid>
		<description><![CDATA[Root account in linux is the supreme account holding all the privildges to manage and configure  your system. Sometimes non-root users wish to login into the root account but doesn&#8217;t have the password or in times some bad users change the root password which disables root-user to login ,hence he need to change the password [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-thumbnail wp-image-194" title="system-root-password" src="http://www.technowine.com/wp-content/uploads/2009/06/system-root-password1-150x150.png" alt="system-root-password" width="150" height="150" /><strong>Root</strong> account in linux is the supreme account holding all the privildges to manage and configure  your system.</p>
<p>Sometimes non-root users wish to login into the root account but doesn&#8217;t have the password or in times some bad users change the root password which disables root-user to login ,hence he need to change the password for his account  and setup a new password</p>
<p><strong>Here are the all steps to change/break  password for root in linux even if previous password is not known:</strong><span id="more-180"></span></p>
<p><!--read here more--><strong>Step 1:)</strong></p>
<p>When the first  grub screen like the below snapshot appears  press ‘e’ on linux line entry:</p>
<p><img class="aligncenter size-medium wp-image-182" title="linux grub screen" src="http://www.technowine.com/wp-content/uploads/2009/06/SnapShot12-300x223.jpg" alt="linux grub screen" width="300" height="223" /></p>
<p><strong>Step2)</strong></p>
<p>After preesing &#8220;e&#8221; in the previous step the snapshot similar to the below snapshot appears. Move to the line which contains the word ‘kernel’ and  press  ‘e’</p>
<p><img class="aligncenter size-medium wp-image-183" title="kernel screen" src="http://www.technowine.com/wp-content/uploads/2009/06/SnapShot21-300x225.jpg" alt="kernel screen" width="300" height="225" /></p>
<p><strong>Step3)</strong></p>
<p>Go to end of that line and after rhgb quiet write  1 as in the snapshot below&#8230;this means that you are setting your kernel to boot into single user mode also known as the maintenance mode.</p>
<p><img class="aligncenter size-medium wp-image-184" title="third screen" src="http://www.technowine.com/wp-content/uploads/2009/06/SnapShot31-300x224.jpg" alt="third screen" width="300" height="224" /></p>
<p><strong>Step4)</strong></p>
<p>Then press &#8220;enter &#8221; and then  ‘b’ to boot the system into run level 1:<br />
<strong>Step5)</strong></p>
<p>Now wait for the prompt and  write the following command :<br />
#<strong>passwd root</strong></p>
<p><img class="aligncenter size-full wp-image-185" title="maintenance mode" src="http://www.technowine.com/wp-content/uploads/2009/06/SnapShot41.jpg" alt="maintenance mode" width="560" height="300" /></p>
<p>Now the password for root account has been changed and try login with the new account:<br />
<!-- AddThis Button BEGIN --><br />
<a onclick="return addthis_sendto()" onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" href="http://www.addthis.com/bookmark.php?v=250&amp;pub=xa-4a43bb5a1bb717fb"><img style="border:0" src="http://s7.addthis.com/static/btn/lg-share-en.gif" alt="Bookmark and Share" width="125" height="16" /></a><script src="http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a43bb5a1bb717fb" type="text/javascript"></script><br />
<!-- AddThis Button END --></p>
<p><strong>Related articles</strong><br />
<a href="http://www.technowine.com/how-to-set-a-password-for-grub-at-boot-time-in-linux"> How to set password for grub in linux</a><br />
<a href="http://www.technowine.com/error-message-device-or-resource-busy>Error message:device or resource busy</a></p>
<p><script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_US" type="text/javascript"></script><script type="text/javascript">FB.init("25883f18121ab242ae701d6427887612");</script></p>
<p><fb:login-button v="2" size="medium" onlogin="window.location.reload(true);">Connect to me on Facebook</fb:login-button></p>
]]></content:encoded>
			<wfw:commentRss>http://www.technowine.com/how-to-break-root-password-in-redhatlinux/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Set A Password For Grub At Boot Time in linux?</title>
		<link>http://www.technowine.com/how-to-set-a-password-for-grub-at-boot-time-in-linux</link>
		<comments>http://www.technowine.com/how-to-set-a-password-for-grub-at-boot-time-in-linux#comments</comments>
		<pubDate>Sat, 27 Jun 2009 19:23:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.technowine.com/?p=158</guid>
		<description><![CDATA[Grub is the linux default bootloader. Setting up a password in grub is quite an easy task.you can set the password just at boot time to prevent anyone from logging into the system in any mode. here is how to do it. Enter the command line and type #grub-md5-crypt you will be prompted to enter [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-thumbnail wp-image-161" title="1" src="http://www.technowine.com/wp-content/uploads/2009/06/13-150x150.jpg" alt="1" width="150" height="150" />Grub is the linux default bootloader.</p>
<p>Setting up a password in grub is quite an easy task.you can set the password just at boot time to prevent anyone from logging into the system in any mode.</p>
<p>here is how to do it.</p>
<p>Enter the command line and type</p>
<p><span id="more-158"></span><br />
<strong>#grub-md5-crypt</strong></p>
<p>you will be prompted to enter the password..after entering the password twice you will be provided with a encrypted value as shown below..</p>
<p><img class="alignleft size-full wp-image-164" title="grub pass" src="http://www.technowine.com/wp-content/uploads/2009/06/grub-pass2.JPG" alt="grub pass" width="503" height="53" /></p>
<p>copy this encrypted value.</p>
<p>now open the grub.conf file.</p>
<p><strong>#vi /boot/grub/grub.conf</strong></p>
<p>and enter the line</p>
<p>passwd   &#8211;md5    $1$Tqro5/$pkEbG8f4igg0oZRCoWznb1</p>
<p>where the above encrpted value is the one generated at the time when you entered the password.</p>
<p>also enter</p>
<p><strong>lock</strong></p>
<p>at the end of the red hat container as shown in the figure below.</p>
<p><img class="alignleft size-full wp-image-169" title="dca" src="http://www.technowine.com/wp-content/uploads/2009/06/dca.JPG" alt="dca" width="550" height="351" /></p>
<p>come out of the editor and then reboot.</p>
<p><strong>#init 6</strong></p>
<p>now at startup you will be asked for the password.</p>
<p><img class="alignleft size-full wp-image-170" title="rh" src="http://www.technowine.com/wp-content/uploads/2009/06/rh.JPG" alt="rh" width="513" height="386" /></p>
<p>press &#8216;p&#8217; for password.</p>
<p>and enter the password.<!--more--></p>
<p><!-- AddThis Button BEGIN --><br />
<a onclick="return addthis_sendto()" onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" href="http://www.addthis.com/bookmark.php?v=250&amp;pub=xa-4a43bb5a1bb717fb"><img style="border:0" src="http://s7.addthis.com/static/btn/lg-share-en.gif" alt="Bookmark and Share" width="125" height="16" /></a><script src="http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a43bb5a1bb717fb" type="text/javascript"></script><br />
<!-- AddThis Button END --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.technowine.com/how-to-set-a-password-for-grub-at-boot-time-in-linux/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Error message : device or resource busy</title>
		<link>http://www.technowine.com/error-message-device-or-resource-busy</link>
		<comments>http://www.technowine.com/error-message-device-or-resource-busy#comments</comments>
		<pubDate>Wed, 24 Jun 2009 10:25:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.technowine.com/?p=81</guid>
		<description><![CDATA[You may have encountered the error message: Cannot open /dev/hda9 : device or resource busy in linux many times..where /dev/hda9 is one of your partitions of your hard drive /dev/hda..and 9 is the partition number. This can happen due to one of the following reasons:- 1.The device could be mounted somewhere.To fix this Check /etc/fstab [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-80" title="dorb" src="http://www.technowine.com/wp-content/uploads/2009/06/dorb.png" alt="dorb" width="150" height="147" /></p>
<p>You may have encountered the error message:</p>
<p><strong>Cannot open /dev/hda9 : device or resource busy</strong></p>
<p>in linux many times..where /dev/hda9 is one of your partitions of your hard drive /dev/hda..and 9 is the partition number.</p>
<p>This can happen due to one of the following reasons:-</p>
<p>1.The device could be mounted somewhere.To fix this<br />
<span id="more-81"></span></p>
<p>Check /etc/fstab file.</p>
<p><strong>#cat /etc/fstab</strong></p>
<p><img class="aligncenter size-medium wp-image-97" title="56" src="http://www.technowine.com/wp-content/uploads/2009/06/56-300x68.jpg" alt="56" width="300" height="68" /></p>
<p>We can see that the last line contains /dev/hda9 mounted on /quota folder.</p>
<p>Comment out this line</p>
<p>Open /etc/fstab file with your favourite editor..we will use vi editor here.</p>
<p><strong>#vi /etc/fstab</strong></p>
<p>Go in insert mode by pressing ‘i’ and comment out the line.</p>
<p><img class="aligncenter size-medium wp-image-94" title="111" src="http://www.technowine.com/wp-content/uploads/2009/06/1112-300x90.jpg" alt="111" width="300" height="90" /></p>
<p>Move out of the editor with [esc] and then :wq</p>
<p>Then,</p>
<p><strong>#umount /dev/hda9</strong></p>
<p><strong>#mount –a</strong></p>
<p>Now check with,</p>
<p><strong>#mount</strong></p>
<p>You will not see /dev/hda9 mounted.</p>
<p>2.Another reason may be that the device you are trying to access (or use) is supposedly busy (in use) or that a resource it needs (such as an IRQ) is supposedly being used by another device and can&#8217;t be shared. This message is easy to understand if it only means that the device is busy (in use). But it sometimes means that a needed resource is already in use (busy). What makes it even more confusing is that in some cases neither the device nor the resources that it needs are actually &#8220;busy&#8221;.</p>
<p>To read more on this.Read <a href="http://linux.about.com/od/srl_howto/a/hwtsrl18t15.htm">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.technowine.com/error-message-device-or-resource-busy/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Access And Control A Remote Linux System Using Vncviewer?</title>
		<link>http://www.technowine.com/how-to-access-and-control-of-a-remote-linux-system-using-vncviewer</link>
		<comments>http://www.technowine.com/how-to-access-and-control-of-a-remote-linux-system-using-vncviewer#comments</comments>
		<pubDate>Tue, 23 Jun 2009 11:27:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.technowine.com/?p=53</guid>
		<description><![CDATA[Now one can easily enjoy the desktop terminal services of a remote linux  machine easily on its own linux/Windows desktop.Vncviewer is    the answer to this. So what is a vncviewer? Vncviewer is a viewer(client) for virtual network computing.Vncviewer is an Xt-based client application for the VNC (Virtual Network  Computing) system. It can connect to any [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-thumbnail wp-image-57" title="o609ox" src="http://www.technowine.com/wp-content/uploads/2009/06/o609ox1-150x150.jpg" alt="o609ox" width="150" height="150" /> Now one can easily enjoy the desktop terminal services of a remote linux  machine easily on its own linux/Windows desktop.<strong>Vncviewer</strong> is    the answer to this.</p>
<p><strong> So what is a vncviewer?</strong></p>
<p><strong> Vncviewer</strong> is a viewer(client) for virtual network computing.<strong>Vncviewer</strong> is an Xt-based client application for the VNC (Virtual Network  Computing) system. It can connect to any VNC-compatible server such as <strong>Xvnc</strong> or WinVNC, allowing you to control desktop environment  of a different machine.</p>
<p>It is relatively straightforward to display and access a Linux desktop from a system anywhere else on a network or the internet by using Virtual Network Computing (VNC). This can be achieved regardless of whether that system is running Linux, Windows or Mac OS X.. The more impressive thing about this is that it can be set up for free with only a little time and knowledge.<span id="more-53"></span></p>
<p>For enabling vnc settings three things are required:</p>
<p>1. A VNC services enabled on the  Linux system whose desktop needs to be accessed.</p>
<p>2. A VNC viewer client installed on the system on which you want to display your Linux desktop.</p>
<p>3. A connection between the two systems.</p>
<p>Here are some  simple steps that will help you in setting the vncserver and allowing others to have  access to your desktop.</p>
<p><strong>Step:1)</strong>Firstly you need to install vnc-server rpm on your server system.</p>
<p>Give the following command to install vnc packages:</p>
<p>#rpm –ivh  vnc-server-4.1.2-14.el5</p>
<p>#rpm –ivh  vnc-4.1.2-14.el5</p>
<p><strong>Step:2</strong>)On your Linux system desktop whose desktop need to be accessed, go at the top and click on the System&#8212;&gt;Preferences&#8212;&gt;Remote desktop</p>
<p>Similar to thepicture below</p>
<p><img class="aligncenter size-full wp-image-61" title="SnapShot3" src="http://www.technowine.com/wp-content/uploads/2009/06/SnapShot3.jpg" alt="SnapShot3" width="816" height="617" /></p>
<p>After clicking on remote desktop a dialog box similar to below one will get  displayed:</p>
<p><img class="aligncenter size-full wp-image-60" title="SnapShot1" src="http://www.technowine.com/wp-content/uploads/2009/06/SnapShot1.jpg" alt="SnapShot1" width="831" height="604" /></p>
<p>Here check the first box i.e Allow other users to view your desktop.</p>
<p>There are other options also available like do you want to have password authentication and want to allows the remote system to control your desktop or not.</p>
<p><strong>Step 3:)</strong>On the client side install the vnc packages:</p>
<p>To install the vnc package, at the prompt type:</p>
<p>#rpm –ivh  #rpm –ivh  vnc-4.1.2-14.el5</p>
<p><strong>Step 4:)</strong>At the command prompt,just type the following command</p>
<p>#vncviewer</p>
<p>The following dialog box will get appeared.</p>
<p><img class="aligncenter size-full wp-image-59" title="SnapShot2" src="http://www.technowine.com/wp-content/uploads/2009/06/SnapShot2.jpg" alt="SnapShot2" width="341" height="154" /></p>
<p>Enter the ip of the remote machine and enjoy the services</p>
<p>It worked for me like this:</p>
<p><img class="aligncenter size-full wp-image-62" title="SnapShot4" src="http://www.technowine.com/wp-content/uploads/2009/06/SnapShot4.jpg" alt="SnapShot4" width="817" height="608" /></p>
<p><!-- AddThis Button BEGIN --><br />
<a onclick="return addthis_sendto()" onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" href="http://www.addthis.com/bookmark.php?v=250"><img style="border:0" src="http://s7.addthis.com/static/btn/lg-share-en.gif" alt="Bookmark and Share" width="125" height="16" /></a><script src="http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a2d2861082906f8" type="text/javascript"></script><br />
<!-- AddThis Button END --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.technowine.com/how-to-access-and-control-of-a-remote-linux-system-using-vncviewer/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How To Configure YUM Server/Yum Repository?</title>
		<link>http://www.technowine.com/how-to-configure-yum-server</link>
		<comments>http://www.technowine.com/how-to-configure-yum-server#comments</comments>
		<pubDate>Fri, 19 Jun 2009 10:07:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.technowine.com/?p=14</guid>
		<description><![CDATA[Sometimes one may find himself in dependcy resolution problem while installing rpm packages on linux. Yum(Yellowdog update manager) server is a viable solution to it which holds the repository of linux packages and allows users to take packages .Client can easily install packages with simple commands using the yum installer .Which protocol does yum uses [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-thumbnail wp-image-44" title="linux-logo-250x300" src="http://www.technowine.com/wp-content/uploads/2009/06/linux-logo-250x300-150x150.jpg" alt="linux-logo-250x300" width="150" height="150" />Sometimes one may find himself in dependcy resolution problem while installing rpm  packages on linux. Yum(Yellowdog update manager) server is  a viable solution to it which holds the repository of linux packages and allows users to take packages .Client can easily install packages with simple commands using the yum installer .<span id="more-14"></span>Which protocol does yum uses for the tranfer of packages from client to server side?</p>
<p>yum uses ftp protocol for the transfer of packages from client to server side.</p>
<p>Configuring the yum server:</p>
<p><strong>Step1:)</strong>Mount the linux dvd/iso to some preexisting directory.</p>
<p>#mount /dev/cdrom  /mnt/</p>
<p><strong>Step2:)</strong> Intsall the vsftpd package and createrepo package:</p>
<p>#rpm –ivh   vsftpd-2.0.5-12.el5<br />
#rpm –ivh   createrepo-0.4.11-3.el5</p>
<p><strong>Step3:)</strong>Copy the entire DVD to /var/ftp/pub directory:</p>
<p># cp -rvf /mnt/*  /var/ftp/pub/</p>
<p><strong>Step4:)</strong>Move to the pub direcorty:</p>
<p># cd /var/ftp/pub/<br />
#cp Server/repodata/comps-rhel5-server-core.xml   Server<br />
# cd Server/<br />
#createrepo -vg  comps-rhel5-server-core.xml    /var ftp/pub/Server</p>
<p><strong>Step5:)</strong>Restart vsftpd service</p>
<p>#service vsftpd restart</p>
<p><strong>Step6:)</strong>To enable service start at the boot time type the following command:</p>
<p>#chkconfig vsftpd on<br />
yum server has been established and can be used for downloading the packages.</p>
<p><strong>Configuring the yum client:</strong></p>
<p><strong>Step1:)</strong>Create the yum repository file.</p>
<p>#vi /etc/yum.repos.d/ser.repo<br />
enter the following configuration lines.<br />
[Server]<br />
name=any meaningful name<br />
baseurl=ftp://192.168.1.1/pub/Server        #enter the ip adress of the yum server<br />
baseurl=file:///var/ftp/pub/Server              #if both client and server are same machine<br />
gpgcheck=0<br />
save and exit.<br />
Now you can easily download packages using the yum command:<br />
For more options go to man yum.conf</p>
<p><!-- AddThis Button BEGIN --><br />
<a onclick="return addthis_sendto()" onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" href="http://www.addthis.com/bookmark.php?v=250"><img style="border:0" src="http://s7.addthis.com/static/btn/lg-share-en.gif" alt="Bookmark and Share" width="125" height="16" /></a><script src="http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a2d2861082906f8" type="text/javascript"></script><br />
<!-- AddThis Button END --></p>
<p><strong>Related articles</strong><br />
<a href="http://www.technowine.com/how-to-configure-dhcp-server-on-redhatlinux">How to configure dhcp server on redhat/linux</a></p>
<p><a href="http://www.technowine.com/how-to-make-a-nfs-share">How to make a nfs  server</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.technowine.com/how-to-configure-yum-server/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
