<?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>OpenPeta &#187; Administration</title>
	<atom:link href="http://openpeta.com/index.php/category/administration/feed/" rel="self" type="application/rss+xml" />
	<link>http://openpeta.com</link>
	<description>Open Mind ....  Open Source ...</description>
	<lastBuildDate>Wed, 21 Jul 2010 03:20:44 +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>Gparted &#8211; Partition Log File for My 1TB Hard Disk</title>
		<link>http://openpeta.com/index.php/2010/05/gparted-log-file-for-my-1tb-hard-disk-partition/</link>
		<comments>http://openpeta.com/index.php/2010/05/gparted-log-file-for-my-1tb-hard-disk-partition/#comments</comments>
		<pubDate>Mon, 03 May 2010 22:43:23 +0000</pubDate>
		<dc:creator>ANTHONIRAJ</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Ubuntu Linux]]></category>

		<guid isPermaLink="false">http://www.openpeta.com/?p=862</guid>
		<description><![CDATA[I am using 1TB Seagate hard disk , last night i formated everything and newly installed Ubuntu 10.4 also i partitioned my disk like following Primary Partition (/)   &#8211; 200 GB Extended Partition -    800  [ 9 GB for Swap , 300 GB for Research and  470 GB for Entertainment ] Here is the log [...]]]></description>
			<content:encoded><![CDATA[<p>I am using 1TB Seagate hard disk , last night i formated everything and newly installed Ubuntu 10.4 also i partitioned my disk like following</p>
<ul>
<li>Primary Partition (/)   &#8211; 200 GB</li>
<li> Extended Partition -    800  [ 9 GB for Swap , 300 GB for Research and  470 GB for Entertainment ]</li>
</ul>
<p>Here is the log file details</p>
<p>GParted 0.5.1<br />
Libparted 2.2<br />
<strong>Delete Logical Partition (linux-swap, 7.45 GiB) from /dev/sda  00:00:01    ( SUCCESS )</strong><br />
calibrate /dev/sda5  00:00:00    ( SUCCESS )</p>
<blockquote><p>path: /dev/sda5<br />
start: 292970496<br />
end: 308592639<br />
size: 15622144 (7.45 GiB)<br />
delete partition  00:00:01    ( SUCCESS )</p></blockquote>
<p><strong>Delete /dev/sda2 (extended, 7.45 GiB) from /dev/sda  00:00:00    ( SUCCESS )</strong></p>
<p>calibrate /dev/sda2  00:00:00    ( SUCCESS )</p>
<blockquote><p>path: /dev/sda2<br />
start: 292970494<br />
end: 308592639<br />
size: 15622146 (7.45 GiB)<br />
delete partition  00:00:00    ( SUCCESS )</p></blockquote>
<p><strong>Create Extended Partition #1 (extended, 791.82 GiB) on /dev/sda  00:00:00    ( SUCCESS )</strong><br />
create empty partition  00:00:00    ( SUCCESS )</p>
<blockquote><p>path: /dev/sda2<br />
start: 292977405<br />
end: 1953520064<br />
size: 1660542660 (791.81 GiB)</p></blockquote>
<p><strong>Create Logical Partition #2 (linux-swap, 9.51 GiB) on /dev/sda  00:00:01    ( SUCCESS )</strong><br />
create empty partition  00:00:00    ( SUCCESS )</p>
<blockquote><p>path: /dev/sda5<br />
start: 292977468<br />
end: 312898004<br />
size: 19920537 (9.50 GiB)<br />
set partition type on /dev/sda5  00:00:01    ( SUCCESS )</p></blockquote>
<p><strong>new partition type: linux-swap(v1)</strong><br />
create new linux-swap file system  00:00:00    ( SUCCESS )</p>
<blockquote><p>mkswap -L &#8220;&#8221; /dev/sda5</p></blockquote>
<p>Setting up swapspace version 1, size = 9960264 KiB<br />
LABEL=, UUID=8bd5b838-fa01-4c12-b1f9-510faad4445b</p>
<p><strong>Create Logical Partition #3 (ext4, 305.10 GiB) on /dev/sda  00:01:05    ( SUCCESS )<br />
</strong> create empty partition  00:00:00    ( SUCCESS )</p>
<blockquote><p>path: /dev/sda6<br />
start: 312898068<br />
end: 952734824<br />
size: 639836757 (305.10 GiB)<br />
set partition type on /dev/sda6  00:00:00    ( SUCCESS )<strong><br />
</strong></p></blockquote>
<p><strong>new partition type: ext4</strong><br />
create new ext4 file system  00:01:05    ( SUCCESS )</p>
<blockquote><p><strong><br />
mkfs.ext4 -j -O extent -L &#8220;Research&#8221; /dev/sda6</strong></p>
<p>Filesystem label=Research<br />
OS type: Linux<br />
Block size=4096 (log=2)<br />
Fragment size=4096 (log=2)<br />
Stride=0 blocks, Stripe width=0 blocks<br />
19996672 inodes, 79979594 blocks<br />
3998979 blocks (5.00%) reserved for the super user<br />
First data block=0<br />
Maximum filesystem blocks=0<br />
2441 block groups<br />
32768 blocks per group, 32768 fragments per group<br />
8192 inodes per group<br />
Superblock backups stored on blocks:<br />
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,<br />
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968</p></blockquote>
<p>Writing inode tables: done<br />
Creating journal (32768 blocks): done<br />
Writing superblocks and filesystem accounting information: done</p>
<p>This filesystem will be automatically checked every 36 mounts or<br />
180 days, whichever comes first. Use tune2fs -c or -i to override.<br />
mke2fs 1.41.11 (14-Mar-2010)</p>
<p><strong>Create Logical Partition #4 (ext4, 477.21 GiB) on /dev/sda  00:02:51    ( SUCCESS )</strong><br />
create empty partition  00:00:00    ( SUCCESS )</p>
<blockquote><p>path: /dev/sda7<br />
start: 952734888<br />
end: 1953520064<br />
size: 1000785177 (477.21 GiB)<br />
set partition type on /dev/sda7  00:00:01    ( SUCCESS )</p>
<p>new partition type: ext4<br />
create new ext4 file system  00:02:50    ( SUCCESS )</p>
<p>mkfs.ext4 -j -O extent -L &#8220;Entertainment&#8221; /dev/sda7</p></blockquote>
<p>Filesystem label=Entertainment<br />
OS type: Linux<br />
Block size=4096 (log=2)<br />
Fragment size=4096 (log=2)<br />
Stride=0 blocks, Stripe width=0 blocks<br />
31277056 inodes, 125098147 blocks<br />
6254907 blocks (5.00%) reserved for the super user<br />
First data block=0<br />
Maximum filesystem blocks=0<br />
3818 block groups<br />
32768 blocks per group, 32768 fragments per group<br />
8192 inodes per group<br />
Superblock backups stored on blocks:<br />
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,<br />
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,<br />
102400000</p>
<p>Writing inode tables: done<br />
Creating journal (32768 blocks): done<br />
Writing superblocks and filesystem accounting information: done</p>
<p>This filesystem will be automatically checked every 27 mounts or<br />
180 days, whichever comes first. Use tune2fs -c or -i to override.<br />
mke2fs 1.41.11 (14-Mar-2010)</p>
]]></content:encoded>
			<wfw:commentRss>http://openpeta.com/index.php/2010/05/gparted-log-file-for-my-1tb-hard-disk-partition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Auto Shutdown Software for Linux</title>
		<link>http://openpeta.com/index.php/2010/03/auto-shutdown-software-for-linux/</link>
		<comments>http://openpeta.com/index.php/2010/03/auto-shutdown-software-for-linux/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 12:22:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Linux on NoteBook PCs]]></category>
		<category><![CDATA[Ubuntu Linux]]></category>

		<guid isPermaLink="false">http://www.openpeta.com/index.php/auto-shutdown-software-for-linux/</guid>
		<description><![CDATA[You are downloading softwares or movies in your desktop Linux , Your Internet connection is limited to GB usage. or only night hours internet is free. In that situation, If  you want to turn off or shutdown your computer after the free usage time. GShutdown software is doing that task for you. GShutdown is an [...]]]></description>
			<content:encoded><![CDATA[<p>You are downloading softwares or movies in your desktop Linux , Your Internet connection is limited to GB usage. or only night hours internet is free. In that situation, If  you want to turn off or shutdown your computer after the free usage time. GShutdown software is doing that task for you.</p>
<p><a href="http://openpeta.com/wp-content/uploads/2010/03/ScreenshotGShutdown1.png"><img style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" title="Screenshot-GShutdown" src="http://openpeta.com/wp-content/uploads/2010/03/ScreenshotGShutdown_thumb1.png" border="0" alt="Screenshot-GShutdown" width="149" height="244" /></a></p>
<p>GShutdown is an advanced shutdown utility which allows you to schedule the shutdown or the restart of your computer, or logout your actual session.</p>
<p><strong>Installing GShutdown In Ubuntu</strong></p>
<p>You can use Synaptic Package manager or Ubuntu Software center to install this software. or download the source code from <a title="http://gshutdown.tuxfamily.org" href="http://gshutdown.tuxfamily.org">http://gshutdown.tuxfamily.org</a> site and install manually in your system.</p>
<p><a href="http://www.openpeta.com/wp-content/uploads/2010/03/ScreenshotAppnrGetUbuntuApplicationsMozillaFirefox1.png"><img style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" title="Screenshot-Appnr - Get Ubuntu Applications! - Mozilla Firefox" src="http://openpeta.com/wp-content/uploads/2010/03/ScreenshotAppnrGetUbuntuApplicationsMozillaFirefox_thumb11.png" border="0" alt="Screenshot-Appnr - Get Ubuntu Applications! - Mozilla Firefox" width="244" height="126" /></a></p>
<p>GShutdown is a free software under the GPL license. The graphical user interface uses GTK+2.</p>
<p><strong>Features :</strong></p>
<ul>
<li>Compatible with GNOME, KDE and XFCE.</li>
<li>Compatible with GDM and KDM to shutdown, reboot or close the current session, without being root.</li>
<li>The ability to choose a command to stop the computer (like &#8220;sudo poweroff&#8221;, for example)</li>
<li>Systray icon</li>
<li>Visual notifications (to warn the user that his computer is going to be stopped in a few seconds !)</li>
<li>Three different ways to schedule the turn off time : « at time and date », « after a delay », « now ».</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://openpeta.com/index.php/2010/03/auto-shutdown-software-for-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Fonts in Linux</title>
		<link>http://openpeta.com/index.php/2008/07/installing-fonts-in-linux/</link>
		<comments>http://openpeta.com/index.php/2008/07/installing-fonts-in-linux/#comments</comments>
		<pubDate>Sun, 06 Jul 2008 10:28:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://www.openpeta.com/2008/07/06/installing-fonts-in-linux/</guid>
		<description><![CDATA[Some Websites (Except English and Unicode Sites ) need separate font software for viewing information.If the website has font download option then download the &#8220;.ttf&#8221; font and just follow the steps (You need root privileges for doing this) 1.Copy the (.ttf or .TTF fonts to fonts folder) # cp /home/user/senthami.ttf /usr/local/share/fonts/ 2.Update the fonts database [...]]]></description>
			<content:encoded><![CDATA[<p>Some Websites (Except English and Unicode Sites ) need separate font software for viewing information.If the website has font download option then download the &#8220;.ttf&#8221; font and just follow the steps<br />
(You need root privileges for doing this)</p>
<p>1.Copy the (.ttf or .TTF fonts to fonts folder)</p>
<p><strong># cp /home/user/senthami.ttf /usr/local/share/fonts/</strong></p>
<p>2.Update the fonts database</p>
<p><strong># fc-cache -f -v ~/.fonts</strong></p>
<p><strong>or</strong></p>
<p><strong>#fc-cache -f -v /usr/local/share/fonts/</strong></p>
<p>[fc-cache scans the font directories on the system and builds font information cache files for applications using fontconfig for their font handling]<br />
-f =&gt; force to update the font database<br />
-v =&gt; verbose &#8211; viewing information while updating<br />
(Source Linux Man Page)</p>
<p>3.Restart your Web Browser</p>
]]></content:encoded>
			<wfw:commentRss>http://openpeta.com/index.php/2008/07/installing-fonts-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change user name in Linux</title>
		<link>http://openpeta.com/index.php/2008/03/how-to-change-user-name-in-linux/</link>
		<comments>http://openpeta.com/index.php/2008/03/how-to-change-user-name-in-linux/#comments</comments>
		<pubDate>Mon, 10 Mar 2008 05:27:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[User and Group Management]]></category>

		<guid isPermaLink="false">http://www.openpeta.com/2008/03/10/how-to-change-user-name-in-linux/</guid>
		<description><![CDATA[Sometime you may want to change the user login name into different one,In that case you can use two options (Login or switch to root mode &#8211; su) Method 1: ( Using usermod command ) usermod -l newname oldname Example #usermod -l anthoniraj antony Here the user antony has been changed to anthoniraj Method 2 [...]]]></description>
			<content:encoded><![CDATA[<p>Sometime you may want to change the user login name into different one,<br />In that case you can use two options</p>
<p>(Login or switch to root mode &#8211; su)</p>
<p>Method 1: ( Using usermod command )<br />   <span style="font-weight: bold;">usermod -l newname oldname</span></p>
<p>Example<br />    <span style="font-weight: bold;">#usermod -l anthoniraj antony</span></p>
<p>Here the user antony has been changed to anthoniraj</p>
<p>Method 2 : ( Using chfn command )<br />   <span style="font-weight: bold;">chfn -f newname oldname</span></p>
<p>Example<br />    <span style="font-weight: bold;">#chfn -f thiraviam thiravi</span></p>
<p>Here the user thiravi has been changed to thiraviam</p>
<p>Note : The old user name should exists in /etc/passwd file .<br />       These above two commands will only change the user name, not user home directory.</p>
]]></content:encoded>
			<wfw:commentRss>http://openpeta.com/index.php/2008/03/how-to-change-user-name-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Run Level Commands</title>
		<link>http://openpeta.com/index.php/2008/02/run-level-commands/</link>
		<comments>http://openpeta.com/index.php/2008/02/run-level-commands/#comments</comments>
		<pubDate>Thu, 07 Feb 2008 06:12:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Basic Commands]]></category>

		<guid isPermaLink="false">http://www.openpeta.com/2008/02/07/run-level-commands/</guid>
		<description><![CDATA[1. Shutdown o init 0 o shutdown -h now + -a: Use file /etc/shutdown.allow + -c: Cancel scheduled shutdown. o halt -p + -p: Turn power off after shutdown. o poweroff 2.Reboot o init 6 o shutdown -r now o reboot 3.Enter single user mode: o init 1]]></description>
			<content:encoded><![CDATA[<div xmlns="http://www.w3.org/1999/xhtml"><b>1. </b><b>Shutdown</b><br />       o<i> init 0</i><br />       o <i>shutdown -h now                </i><br />             + -a: Use file /etc/shutdown.allow               <br />             + -c: Cancel scheduled shutdown.         <br />       o <i>halt -p                </i><br />             + -p: Turn power off after shutdown.<br />       o <i>poweroff    <big></p>
<p></big></i><b>2.Reboot</b><br />       o<i> init 6</i><br />       o <i>shutdown -r now          </i><br />       o <i>reboot   </p>
<p></i><b>3.Enter single user mode:          </b><br />       o <i>init 1</i></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://openpeta.com/index.php/2008/02/run-level-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to shutdown all linux clients from server in your network (LAN)</title>
		<link>http://openpeta.com/index.php/2007/10/how-to-shutdown-all-linux-clients-from-server-in-your-network-lan/</link>
		<comments>http://openpeta.com/index.php/2007/10/how-to-shutdown-all-linux-clients-from-server-in-your-network-lan/#comments</comments>
		<pubDate>Fri, 12 Oct 2007 05:31:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Remote Login Protocols]]></category>

		<guid isPermaLink="false">http://www.openpeta.com/2007/10/12/how-to-shutdown-all-linux-clients-from-server-in-your-network-lan/</guid>
		<description><![CDATA[Consider this scenario,This is the sample LAN. Now i am going to configure the server and 3 clients (for shutting down 3 clients from server) .Using Secure Shell (SSH) , we can execute any terminal commands like shutdown and halt on the remote system. but we need to enter the password for connecting remote system. [...]]]></description>
			<content:encoded><![CDATA[<p>Consider this scenario,<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_5EsXiRiSJS0/Rw8EZ6JNpXI/AAAAAAAAACs/RnYTFc8zbFI/s1600-h/ssh2.bmp"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_5EsXiRiSJS0/Rw8EZ6JNpXI/AAAAAAAAACs/RnYTFc8zbFI/s320/ssh2.bmp" alt="" id="BLOGGER_PHOTO_ID_5120316144494683506" border="0" /></a>This is the sample LAN. Now i am going to configure the server and 3 clients (for shutting down 3 clients from server) .Using  Secure Shell (SSH) , we can execute any terminal commands like shutdown and halt on the remote system. but we need to enter the password for connecting remote system. By configuring public key both server and client , we can easily logon to the remote system without using password and then we can execute the shutdown command</p>
<p>Server Side (192.168.3.100)<br />1) Generate public key</p>
<p><span style="font-weight: bold; font-style: italic;">    root@myserver#ssh-keygen -t dsa -f .ssh/id_dsa</span><br />Generating public/private dsa key pair.<br />.ssh/id_dsa already exists.<br />Overwrite (y/n)? y<br />Enter passphrase (empty for no passphrase):<br />Enter same passphrase again:<br />Your identification has been saved in .ssh/id_dsa.<br />Your public key has been saved in .ssh/id_dsa.pub.<br />The key fingerprint is:<br />a6:3e:4d:48:af:73:04:d0:53:82:7d:ba:98:b6:fb:dd root@myserver</p>
<p>(Leave passphrase &#8211; Simply press enter key]</p>
<p>2) copy the server (192.168.3.100) public key to remote system (192.168.3.101)</p>
<p><span style="font-weight: bold; font-style: italic;"> root@myserver#cd .ssh</span><br /><span style="font-weight: bold;font-size:100%;" >    root@myserver#scp id_dsa.pub root@192.168.3.101:~/.ssh/id_dsa.pub</span><br />The authenticity of host &#8217;192.168.3.101 (192.168.3.101)&#8217; can&#8217;t be established.<br />RSA key fingerprint is 5c:5b:84:54:a9:95:6b:64:85:74:9b:cc:ce:60:ed:1d.<br />Are you sure you want to continue connecting (yes/no)? yes<br />Warning: Permanently added &#8217;192.168.3.101&#8242; (RSA) to the list of known hosts.<br />root@192.168.3.101&#8242;s password:<br />id_dsa.pub                                    100%  603     0.6KB/s   00:00<br />root@myserver#</p>
<p>3) login to remote host(192.168.3.101) from local (192.168.3.100)</p>
<p><span style="font-weight: bold; font-style: italic;">root@myserver#ssh -X  root@192.168.3.101</span><br />root@192.168.3.101&#8242;s password:<br />Last login: Fri Oct  5 11:51:37 2007<br />Starting MySQL:                                            [  OK  ]<br />Starting httpd:<br />[root@client1 ~]#</p>
<p>4) In remote system append the public key to authorized_keys file</p>
<p><span style="font-weight: bold; font-style: italic;">    [root@client1 ~]# cd .ssh</span><br /><span style="font-weight: bold; font-style: italic;">    [root@client1 .ssh]# cat id_dsa.pub >> authorized_keys</span><br /><span style="font-weight: bold; font-style: italic;">    [root@client1 .ssh]# chmod 640 authorized_keys</span><br /><span style="font-weight: bold; font-style: italic;">    [root@client1 .ssh]# rm id_dsa.pub</span><br />rm: remove regular file `id_dsa.pub&#8217;? y<br />    [root@client1 .ssh]#exit</p>
<p>5) Now you can logon to the remote (192.168.3.101) system without password from your server (192.168.3.100)</p>
<p>6) Execute the shutdown command from server (for shutdown the client)</p>
<p><span style="font-weight: bold; font-style: italic;">     root@myserver#ssh -X 192.168.3.101 halt</span></p>
<p>The  same way you can configure the client 2, and client 3 systems .</p>
<p>If the network has more number of systems , then you can use the following shell script in server for shutting down all client machines  after configuring the public key on all machines</p>
<p>[root@myserver ~]# vi ssh-shutdown.sh<br /><span style="font-weight: bold; font-style: italic;">for (( $i=100 ; $i<=250 ; $i++ ))<br /></span><span style="font-weight: bold; font-style: italic;">do<br /></span><span style="font-weight: bold; font-style: italic;">ssh -X root@192.168.3.$i halt<br /></span><span style="font-weight: bold; font-style: italic;">done</span></p>
<p>(This program will shutdown the all network client system  from 100 to 250)</p>
]]></content:encoded>
			<wfw:commentRss>http://openpeta.com/index.php/2007/10/how-to-shutdown-all-linux-clients-from-server-in-your-network-lan/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Hiding Terminal Text (When typing)</title>
		<link>http://openpeta.com/index.php/2007/09/hiding-terminal-text-when-typing/</link>
		<comments>http://openpeta.com/index.php/2007/09/hiding-terminal-text-when-typing/#comments</comments>
		<pubDate>Thu, 06 Sep 2007 10:58:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Administration]]></category>

		<guid isPermaLink="false">http://www.openpeta.com/2007/09/06/hiding-terminal-text-when-typing/</guid>
		<description><![CDATA[If you want to hide the terminal text on the terminal (when you type password or some secret messages ) you can use the following command [root@MB327SCS068 ~]# stty -echo[root@MB327SCS068 ~]# After that no command will display on your terminal , If you want to enable text again on your terminal , type the command [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to hide the terminal text on the terminal (when you type password or some secret messages ) you can use the following command</p>
<p>[root@MB327SCS068 ~]# stty -echo<br />[root@MB327SCS068 ~]# </p>
<p>After that no command will display on your terminal , If you want to enable text again on your terminal , type the command</p>
<p>[root@MB327SCS068 ~]# stty echo (This command wont display in your terminal)</p>
]]></content:encoded>
			<wfw:commentRss>http://openpeta.com/index.php/2007/09/hiding-terminal-text-when-typing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>All about Daemons</title>
		<link>http://openpeta.com/index.php/2007/08/all-about-daemons/</link>
		<comments>http://openpeta.com/index.php/2007/08/all-about-daemons/#comments</comments>
		<pubDate>Fri, 31 Aug 2007 10:19:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Administration]]></category>

		<guid isPermaLink="false">http://www.openpeta.com/2007/08/31/all-about-daemons/</guid>
		<description><![CDATA[Daemon is used to execute every service in Linux OS . by default some daemons are running when you boot the system. We can also start /stop/restart the any daemon ,The basic syntax is service daemon_name start / stop / restart Eg : if you want to share the files among the network using Samba [...]]]></description>
			<content:encoded><![CDATA[<p><img src="file:///C:/DOCUME%7E1/AAJ%7E1.VIT/LOCALS%7E1/Temp/moz-screenshot.jpg" alt="" /><span style=";font-family:Arial;font-size:100%;"  >Daemon is used to execute every service in Linux OS . by default some daemons are running when you boot the system.<o:p></o:p></span>
<p class="MsoNormal" style=""><span style=";font-family:Arial;font-size:100%;"  >We can also start /stop/restart the any daemon ,The basic syntax is<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span style=";font-family:Arial;font-size:100%;"  ><span style="">              </span>service daemon_name start / stop / restart<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span style=";font-family:Arial;font-size:100%;"  ><o:p> </o:p>Eg : if you want to share the files among the network using Samba , you need to start the smbd daemon<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span style=";font-family:Arial;font-size:10;"  ><span style="font-size:100%;"><o:p> </o:p></span><span style="font-size:100%;">             </span><span style="font-size:100%;">service smbd start</span></span></p>
<p>Eg :</p>
<p>[root@MB327SCS068 ~]# service smb status<br />smbd is stopped<br />nmbd is stopped</p>
<p>[root@MB327SCS068 ~]# service smb start<br />Starting SMB services:                                     [  OK  ]<br />Starting NMB services:                                    [  OK  ]</p>
<p>[root@MB327SCS068 ~]# service smb stop<br />Shutting down SMB services:                          [  OK  ]<br />Shutting down NMB services:                         [  OK  ]</p>
<p>[root@MB327SCS068 ~]# service smb restart<br />Shutting down SMB services:                          [FAILED]<br />Shutting down NMB services:                         [FAILED]<br />Starting SMB services:                                     [  OK  ]<br />Starting NMB services:                                    [  OK  ]</p>
<p>[root@MB327SCS068 ~]# service smb status<br />smbd (pid 6429 6428) is running&#8230;<br />nmbd (pid 6433) is running&#8230;</p>
<p class="MsoNormal" style=""></p>
<p class="MsoNormal" style=""><span style=";font-family:Arial;font-size:10;"  ><o:p></o:p></span></p>
]]></content:encoded>
			<wfw:commentRss>http://openpeta.com/index.php/2007/08/all-about-daemons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Locking and Unlocking User Password</title>
		<link>http://openpeta.com/index.php/2007/08/locking-and-unlocking-user-password/</link>
		<comments>http://openpeta.com/index.php/2007/08/locking-and-unlocking-user-password/#comments</comments>
		<pubDate>Sat, 25 Aug 2007 05:23:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[User and Group Management]]></category>

		<guid isPermaLink="false">http://www.openpeta.com/2007/08/25/locking-and-unlocking-user-password/</guid>
		<description><![CDATA[Some times the administrator can lock or unlock the user passwordmeans , the user cannot change the password if administrator set the lock option.the syntax is passwd -l / -u username l &#8211; lock the password (user cannot change their password)u &#8211; unlock the password (user can change their password) Eg : [root@MB327SCS068 ~]# passwd [...]]]></description>
			<content:encoded><![CDATA[<p>Some times the administrator can lock or unlock the  user password<br />means , the user cannot change the password if administrator set the lock option.<br />the syntax is</p>
<p> passwd -l / -u  username</p>
<p>l &#8211; lock the password (user cannot change their password)<br />u &#8211; unlock the password (user can change their password)</p>
<p>Eg :</p>
<p>[root@MB327SCS068 ~]# passwd -l antony<br />Locking password for user antony.<br />passwd: Success</p>
<p>[root@MB327SCS068 ~]# passwd -u antony<br />Unlocking password for user antony.<br />passwd: Success.</p>
]]></content:encoded>
			<wfw:commentRss>http://openpeta.com/index.php/2007/08/locking-and-unlocking-user-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The cut command</title>
		<link>http://openpeta.com/index.php/2007/08/the-cut-command/</link>
		<comments>http://openpeta.com/index.php/2007/08/the-cut-command/#comments</comments>
		<pubDate>Sat, 25 Aug 2007 05:18:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Administration]]></category>

		<guid isPermaLink="false">http://www.openpeta.com/2007/08/25/the-cut-command/</guid>
		<description><![CDATA[The cut command is used to remove the word / line from the given input file Eg 1 : For Findind List of users available on your linux machine ( see the previous post) cut -d : -f 1 /etc/passwd /etc/passwd is the file about user information , the general format of this file is [...]]]></description>
			<content:encoded><![CDATA[<p>The cut command is used to remove the word / line from the given input file</p>
<p>   Eg 1 : For Findind List of users available on your linux machine<br />          ( see the previous post)</p>
<p>                 cut -d : -f 1 /etc/passwd</p>
<p>               /etc/passwd is the file about user information , the general format of this file is</p>
<p>               username:password:userid:groupid:userdirectory:usershell<br />                                             or<br />               antony:x:103:105:/home/antony:/bin/sh</p>
<p>             x means password is in /etc/shadow field</p>
<p>  now i want ot retrieve the all username and their userid from that file<br />  the command is</p>
<p>                 cut -d : -f 1 3 /etc/passwd</p>
<p>       cut  &#8211; command name<br />     -d   &#8211;  delimiter (:)<br />      -f   &#8211;  field numbers seperated by space (1 -username , 3 &#8211; userid)</p>
<p>Eg 2: the same like we can retrieve the groups details from /etc/groups</p>
<p>                 cut -d : -f 1 /etc/groups</p>
]]></content:encoded>
			<wfw:commentRss>http://openpeta.com/index.php/2007/08/the-cut-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
