<?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>Vuko&#039;s Blog &#187; debina</title>
	<atom:link href="http://blog.vukomir.info/tag/debina/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.vukomir.info</link>
	<description># echo &#34;Is your home directory $HOME?&#34;</description>
	<lastBuildDate>Tue, 15 Feb 2011 10:10:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Script pentru afisare utilizatori linux, bash login, home directory</title>
		<link>http://blog.vukomir.info/2009/06/30/script-pentru-afisare-utilizatori-linux-bash-login-home-directory/</link>
		<comments>http://blog.vukomir.info/2009/06/30/script-pentru-afisare-utilizatori-linux-bash-login-home-directory/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 17:36:27 +0000</pubDate>
		<dc:creator>Ianculov Vucomir</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[debina]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.vukomir.info/?p=185</guid>
		<description><![CDATA[[code] #!/bin/bash case $1 in ( list-users ) reset echo "Listing users..... " cat /etc/passwd &#124;cut -d ':' -f1 ;; ( list-valid-users ) reset echo "Listing valid users for god &#62;:)" cat test&#124;grep -w  "/bin/sh"$&#124;cut -f1 -d':' cat test&#124;grep -w  "/bin/bash"$&#124;cut -f1 -d':' ;; ( get-user-home ) reset echo "Listing the users home...and username" echo [...]]]></description>
			<content:encoded><![CDATA[<p>[code]<br />
#!/bin/bash</p>
<p>case $1 in<br />
( list-users )<br />
reset<br />
echo "Listing users..... <img src='http://blog.vukomir.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> "<br />
cat /etc/passwd |cut -d ':' -f1<br />
;;</p>
<p>( list-valid-users )<br />
reset<br />
echo "Listing valid users for god &gt;:)"<br />
cat test|grep -w   "/bin/sh"$|cut -f1 -d':'<br />
cat test|grep -w  "/bin/bash"$|cut -f1 -d':'<br />
;;<br />
( get-user-home )<br />
reset<br />
echo "Listing the users home...and username"<br />
echo "home directori for:" $2<br />
cat /etc/passwd|grep  $2|cut -f6 -d':'<br />
;;<br />
( *  )<br />
reset<br />
echo "Utilizati una din urmatoarele comenzi..."<br />
echo "list-users | list-valid-users | get-user-home &lt;nume utilizator&gt;"</p>
<p>;;</p>
<p>esac<br />
[code]</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.vukomir.info%2F2009%2F06%2F30%2Fscript-pentru-afisare-utilizatori-linux-bash-login-home-directory%2F&amp;title=Script%20pentru%20afisare%20utilizatori%20linux%2C%20bash%20login%2C%20home%20directory" id="wpa2a_2"><img src="http://blog.vukomir.info/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.vukomir.info/2009/06/30/script-pentru-afisare-utilizatori-linux-bash-login-home-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>how to run a script at boot time?</title>
		<link>http://blog.vukomir.info/2008/09/28/how-to-run-a-script-at-boot-time-centos/</link>
		<comments>http://blog.vukomir.info/2008/09/28/how-to-run-a-script-at-boot-time-centos/#comments</comments>
		<pubDate>Sun, 28 Sep 2008 12:23:26 +0000</pubDate>
		<dc:creator>Ianculov Vucomir</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[debina]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.vukomir.info/how-to-run-a-script-at-boot-time-2/</guid>
		<description><![CDATA[Your script should be in /etc/init.d/ directory. Then you have to make a symlink from your run-level directory. I.e you&#8217;re in run-level 5 (multiuser with X) chmod +x cp /etc/init.d ln -s /etc/init.d/ /etc/rc.d/rc5.d/S50 ln -s /etc/init.d/ /etc/rc.d/rc5.d/K50]]></description>
			<content:encoded><![CDATA[<p>Your script should be in <strong>/etc/init.d/</strong> directory.<br />
Then you have to make a symlink from your run-level directory.<br />
I.e you&#8217;re in run-level 5 (multiuser with X)</p>
<h5>chmod +x</h5>
<h5>cp  /etc/init.d<br />
ln -s /etc/init.d/ /etc/rc.d/rc5.d/S50<br />
ln -s /etc/init.d/ /etc/rc.d/rc5.d/K50</h5>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.vukomir.info%2F2008%2F09%2F28%2Fhow-to-run-a-script-at-boot-time-centos%2F&amp;title=how%20to%20run%20a%20script%20at%20boot%20time%3F" id="wpa2a_4"><img src="http://blog.vukomir.info/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.vukomir.info/2008/09/28/how-to-run-a-script-at-boot-time-centos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install DHCP on Ubuntu/Debian</title>
		<link>http://blog.vukomir.info/2008/04/16/how-to-install-dhcp-on-ubuntudebian/</link>
		<comments>http://blog.vukomir.info/2008/04/16/how-to-install-dhcp-on-ubuntudebian/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 14:03:52 +0000</pubDate>
		<dc:creator>Ianculov Vucomir</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu / Debian]]></category>
		<category><![CDATA[debina]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.vukomir.info/2008/04/16/how-to-install-dhcp-on-ubuntudebian/</guid>
		<description><![CDATA[Assumed that “eth0″ is the interface for network card IP Address 10.0.0.1 Range: 10.0.0.1 to 10.0.0.30 Subnet Mask: 255.255.255.224 DNS Servers: 193.226.98.1, 193.226.98.2 Domains:r2d2.dositei.ro Gateway Address: 10.0.0.1 sudo apt-get install dhcp3-server sudo cp /etc/default/dhcp3-server /etc/default/dhcp3-server_backup nano /etc/default/dhcp3-server Find this line INTERFACES=&#8221;" Replace with the following line INTERFACES=&#8221;eth0&#8243; Save the edited file sudo cp /etc/dhcp3/dhcpd.conf /etc/dhcp3/dhcpd.conf_backup [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal">Assumed that “eth0″ is the interface for network card</p>
<p class="MsoNormal"><em>IP Address 10.0.0.1</em></p>
<p class="MsoNormal"><em>Range: 10.0.0.1 to 10.0.0.30</em></p>
<p class="MsoNormal"><em>Subnet Mask: 255.255.255.224</em></p>
<p class="MsoNormal"><em>DNS Servers: 193.226.98.1, 193.226.98.2</em></p>
<p class="MsoNormal"><em>Domains:r2d2.dositei.ro</em></p>
<p class="MsoNormal"><em>Gateway Address: 10.0.0.1</em></p>
<p class="MsoNormal"><span id="more-88"></span></p>
<p class="MsoNormal">
<p class="command">sudo apt-get install dhcp3-server</p>
<p class="command">sudo cp /etc/default/dhcp3-server /etc/default/dhcp3-server_backup</p>
<p class="command">nano /etc/default/dhcp3-server</p>
<p class="MsoNormal">
<p class="MsoNormal"><strong>Find this line</strong></p>
<p class="MsoNormal" style="text-indent: 0.5in">INTERFACES=&#8221;"</p>
<p class="MsoNormal"><strong>Replace with the following line</strong></p>
<p class="MsoNormal" style="text-indent: 0.5in">INTERFACES=&#8221;eth0&#8243;</p>
<p class="MsoNormal"><strong>Save the edited file</strong></p>
<p class="MsoNormal">
<p class="command">sudo cp /etc/dhcp3/dhcpd.conf /etc/dhcp3/dhcpd.conf_backup</p>
<p class="command">rm /etc/dhcpd.conf</p>
<p class="command">nano /etc/dhcp3/dhcpd.conf</p>
<p class="MsoNormal"><strong><span style="text-decoration: underline;">copy and paste the code</span></strong></p>
<p class="MsoNormal">
<p class="MsoNormal">ddns-update-style none;</p>
<p class="MsoNormal">log-facility local7;</p>
<p class="MsoNormal">subnet 10.0.0.0 netmask 255.255.255.224 {<br />
range 10.0.0.1 10.0.0.30;<br />
option domain-name-servers 193.226.98.1, 193.226.98.2;<br />
option domain-name &#8220;r2d2.dositei.ro&#8221;;<br />
option routers 10.5.0.1;<br />
option broadcast-address 10.0.0.31;<br />
default-lease-time 600;<br />
max-lease-time 7200;<br />
}</p>
<p class="command">sudo /etc/init.d/dhcp3-server restart</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.vukomir.info%2F2008%2F04%2F16%2Fhow-to-install-dhcp-on-ubuntudebian%2F&amp;title=How%20to%20install%20DHCP%20on%20Ubuntu%2FDebian" id="wpa2a_6"><img src="http://blog.vukomir.info/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.vukomir.info/2008/04/16/how-to-install-dhcp-on-ubuntudebian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

