<?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; Linux</title>
	<atom:link href="http://blog.vukomir.info/category/linux/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>hosts.allow hosts.deny</title>
		<link>http://blog.vukomir.info/2011/02/02/hosts-allow-hosts-deny/</link>
		<comments>http://blog.vukomir.info/2011/02/02/hosts-allow-hosts-deny/#comments</comments>
		<pubDate>Wed, 02 Feb 2011 17:34:54 +0000</pubDate>
		<dc:creator>Ianculov Vucomir</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.vukomir.info/?p=367</guid>
		<description><![CDATA[Hosts: /etc/hosts is used to resolve hostnames for machines behind the firewall, on the 192.168.1. LAN. If an entry is found in /etc/hosts, there is no need to go to the DNS to resolve either hostname or ip address. Here is an example # Do not remove the following line, or various programs # that [...]]]></description>
			<content:encoded><![CDATA[<p><span> <span style="font-size: xx-small;">Hosts:</span></p>
<p>/etc/hosts is used to resolve hostnames for machines behind the firewall, on the 192.168.1. LAN.  If an entry is found in /etc/hosts, there is no need to go to the DNS to resolve either hostname or ip address.  Here is an example</p>
<p></span></p>
<pre escaped="true"><span># Do not remove the following line, or various programs
# that require loopback on 127.0.0.1 or name resolved will fail.
127.0.0.1		localhost.localdomain localhost oururl oururl.net www.oururl.net
192.168.1.10		ourappserver
192.168.1.101		ibookg3
192.168.1.102		w95notebook
192.168.1.103		visiting machine</span></pre>
<p><span></p>
<p><span style="font-size: xx-small;">Hosts to allow &amp; those to deny:</span></p>
<p>Since about RedHat 7 xinted&#8217;s &#8216;TCP Wrappers&#8217; have been included in the OS, making it easier than ever to be selective about who gets to do what with the services your machine offers via the web.  I&#8217;ve been told that this software &amp; text-file-on-a-disk reading approach is not as efficient as a more hardware &amp; RAM approach used in hardware routers &amp; firewalls.  But I&#8217;ve also been told it can keep up with all that can be thrown at the server via a T1.</p>
<p>/etc/hosts.allow and hosts.deny work as a pair to control access to your server. If both files are empty there are no limits and anybody at any ip address can, for example, try guessing userids &amp; passwords all day long.   Hosts.allow is read first and if the packet just received matches one of its rules it is let to pass. If no &#8216;allow rule&#8217; is found the TCP Wrapper continues on to hosts.deny and looks there.  If the packet&#8217;s ip address, or other criterion, is found there the service is instantly denied.  Someone using putty to log into info465.net from  anywhere in 200. or another banned network will see their putty window blip out without have the opportunity to enter a password or userid.  Xinetd logs attempts, acceptances, and denials so this is easy to police.</p>
<p>Here are hosts.allow &amp; hosts.deny for info465.net.  It is an active mail server, hosts http &amp; https web pages, and needs to be relatively &#8216;open&#8217; for students using its ssh.  It must run telnet to provide connectivity for applications that run behind the firewall, but it restricts telnet access to the LAN 192.168.1. If I want to get to it from somewhere else via telnet for some reason I can uncomment the line in hosts.allow and edit it.</p>
<p>Hosts.allow:</p>
<p></span></p>
<pre escaped="true"><span># hosts.allow	This file describes the names of the hosts which are
#		allowed to use the local INET services, as decided
#		by the '/usr/sbin/tcpd' server.
#
#in.telnetd:	192.168.1., 128.172.188.201, 64.83.20.139, 64.83.20.138, \
#               128.172.189.
in.telnetd:	192.168.1.
sshd:		70.16., 207.228.
ipop3d:		ALL
sendmail:	ALL

</span></pre>
<p><span>Hosts.deny:</p>
<p></span></p>
<pre escaped="true"><span>#
# hosts.deny	This file describes the names of the hosts which are
#		*not* allowed to use the local INET services, as decided
#		by the '/usr/sbin/tcpd' server.
#
# The portmap line is redundant, but it is left to remind you that
# the new secure portmap uses hosts.deny and hosts.allow.  In particular
# you should know that NFS uses portmap!

in.telnetd: all

sshd: 61., 62., 64.179., 65., 67.18.,  69.198., 80.53., 81., 82., 83., 84., \
      128.171., 128.123., 128.146., 128.233., \
      130., 134., 137., 139., 140., 142., 143., 147., 148., 155., 168., 193., 195., 196., 199., \
      200., 201., 202., 203., 205., 206., 207., 209., 210., 211., 212., 213., 217., 218., 219., 220., 221., 222.
</span></pre>
<p><span></p>
<p>Here are hosts.allow &amp; hosts.deny for a more restrictive firewall/mailserver where nobody is expected to ssh in except its administrator, and that is only from a few places outside &amp; anywhere in the LAN.   The hosts.deny script says ALL: ALL, meaning that everybody not found in hosts.allow is denied services.</p>
<p>Hosts.allow:</p>
<p></span></p>
<pre escaped="true"><span># hosts.allow	

ipop3d: 192.168.1.
sendmail: ALL
sshd: 128.372.188.267, 67.679.1.379, 192.168.1.

</span></pre>
<p><span>Hosts.deny:</p>
<p></span></p>
<pre escaped="true"><span># hosts.deny	

ALL: ALL

</span></pre>
<p><span></p>
<p>Decide which way your server&#8217;s TCP needs to be wrappered, most likely to be restrictive&#8230; </span></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%2F2011%2F02%2F02%2Fhosts-allow-hosts-deny%2F&amp;title=hosts.allow%20hosts.deny" 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/2011/02/02/hosts-allow-hosts-deny/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ClamAV + samba</title>
		<link>http://blog.vukomir.info/2011/01/19/clamav-samba/</link>
		<comments>http://blog.vukomir.info/2011/01/19/clamav-samba/#comments</comments>
		<pubDate>Tue, 18 Jan 2011 22:18:34 +0000</pubDate>
		<dc:creator>Ianculov Vucomir</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[centOS]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu / Debian]]></category>
		<category><![CDATA[antivirus]]></category>
		<category><![CDATA[clamav]]></category>
		<category><![CDATA[samba]]></category>

		<guid isPermaLink="false">http://blog.vukomir.info/?p=353</guid>
		<description><![CDATA[This is a howto on getting samba + clamav  to work on a rpm system First thing first I need do install samba file server and clamav anti-virus, after configurating my samba share i have made 2 directory&#8217;s in /home virus logs the virus folder contains the infected files found during scanning and the logs [...]]]></description>
			<content:encoded><![CDATA[<p>This is a howto on getting samba + clamav  to work on a rpm system</p>
<p>First thing first I need do install samba file server and clamav anti-virus, after configurating my samba share i have made 2 directory&#8217;s in /home</p>
<ol>
<li>virus</li>
<li>logs</li>
</ol>
<p>the virus folder contains the infected files found during scanning and the logs folder contains the report of the scanning witch is send bu email to you.</p>
<p>and added a script in crontab in the root account.</p>
<pre class="brush: shell">

#!/bin/bash
TIME=$(date &#039;+%Y-%m-%d-%T&#039;)
/usr/bin/clamdscan --move /home/virus/quarantine -v /home/samba &amp;gt; /home/logs/samba/dailyscan.$TIME
virus=`cat /home/logs/samba/dailyscan.$TIME | grep &quot;Infected files&quot; | awk &#039;{print $3}&#039;`
virus=`cat /home/logs/samba/dailyscan.$TIME | grep &quot;Total errors:&quot; | awk &#039;{print $3}&#039;`
if [ &quot;$virus&quot; != &quot;0&quot; ]; then
mail -u root -s &quot;Virus on Samba File Server : Hostname `hostname`&quot; you@mail.com &amp;lt;/home/logs/samba/dailyscan.$TIME
else if [ &quot;$error&quot; != &quot;0&quot; ]; then
mail -u root -s &quot;Error on virus scan Interliner.eu: Hostname `hostname`&quot; you@mail.com &amp;lt;/home/logs/samba/dailyscan.$TIME
fi
fi
</pre>
<p>and set the script to run once a day, in my case in 11:00pm, because the businesses it is not in the hours <img src='http://blog.vukomir.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . The reson is that i made it run once a day because it task&#8217;s 2 hours to finish the scanning, You can change this <img src='http://blog.vukomir.info/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </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%2F2011%2F01%2F19%2Fclamav-samba%2F&amp;title=ClamAV%20%2B%20samba" 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/2011/01/19/clamav-samba/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating Multiple Users on Multiple servers</title>
		<link>http://blog.vukomir.info/2011/01/17/creating-multiple-users-on-multiple-servers/</link>
		<comments>http://blog.vukomir.info/2011/01/17/creating-multiple-users-on-multiple-servers/#comments</comments>
		<pubDate>Mon, 17 Jan 2011 18:37:42 +0000</pubDate>
		<dc:creator>Ianculov Vucomir</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.vukomir.info/?p=347</guid>
		<description><![CDATA[Hey wassup, I was locking for a method to create multiple users on multiple Linux/Unix machines with different user id group id&#8230;.. so i brows the internet back and forth and didnt found nothing what i was locking for . So i give up browsing and started scripting, shell scripting exactly because every Linux/Unix system [...]]]></description>
			<content:encoded><![CDATA[<p>Hey wassup,</p>
<p>I was locking for a method to create multiple users on multiple Linux/Unix machines with different user id group id&#8230;.. so i brows the internet back and forth and didnt found nothing what i was locking for <img src='http://blog.vukomir.info/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> .</p>
<p>So i give up browsing and started scripting, shell scripting exactly because every Linux/Unix system has a &#8220;fucking shell&#8221; <img src='http://blog.vukomir.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  to be able to execute the script.</p>
<p>the zip contains 3 files.</p>
<ol>
<li>READ-ME ( it is not finished&#8230;. )</li>
<li>userlist.txt (the file contains the user data, like a /etc/password file <img src='http://blog.vukomir.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</li>
<li>and the script to execute useradd.sh</li>
</ol>
<p>I also forgot the server list file where you add all you servers <img src='http://blog.vukomir.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I almost forgot about the most import en thing about the script, you need ssh keys on the root account <img src='http://blog.vukomir.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://download.os-ux.com/useradd.tar">download</a></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%2F2011%2F01%2F17%2Fcreating-multiple-users-on-multiple-servers%2F&amp;title=Creating%20Multiple%20Users%20on%20Multiple%20servers" 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/2011/01/17/creating-multiple-users-on-multiple-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HPUX Hardware Components</title>
		<link>http://blog.vukomir.info/2010/06/03/hpux-hardware-components/</link>
		<comments>http://blog.vukomir.info/2010/06/03/hpux-hardware-components/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 12:29:30 +0000</pubDate>
		<dc:creator>Ianculov Vucomir</dc:creator>
				<category><![CDATA[Hp-Ux]]></category>

		<guid isPermaLink="false">http://blog.vukomir.info/?p=327</guid>
		<description><![CDATA[Every recent HP-UX system has several hardware components: One or more PA-RISC or Itanium single- or dual-core CPUs for processing data One or more Cell Boards or an MIO Controller hosting CPU and memory One or more System/Local Bus Adapters that provide connectivity to expansion buses One or more PC11/0 expansion buses with slots for [...]]]></description>
			<content:encoded><![CDATA[<p>Every recent HP-UX system has several hardware components:</p>
<ul>
<li>One or more PA-RISC or Itanium single- or dual-core <span style="text-decoration: underline;">CPUs </span>for processing data</li>
<li>One or more <span style="text-decoration: underline;">Cell Boards </span>or an <span style="text-decoration: underline;">MIO Controller </span>hosting CPU and memory</li>
<li>One or more <span style="text-decoration: underline;">System/Local Bus Adapters </span>that provide connectivity to expansion buses</li>
<li>One or more <span style="text-decoration: underline;">PC11/0 expansion buses </span>with slots for add-on Host Bus Adapters</li>
<li>One or more <span style="text-decoration: underline;">Host Bus Adapter </span>cards for connecting peripheral devices</li>
<li>One or more <span style="text-decoration: underline;">Core 110 cards </span>with built-in LAN, console, and boot disk connectivity</li>
</ul>
<p>A <span style="text-decoration: underline;">Management Processor card </span>to provide local and remote console access</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%2F2010%2F06%2F03%2Fhpux-hardware-components%2F&amp;title=HPUX%20Hardware%20Components" id="wpa2a_8"><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/2010/06/03/hpux-hardware-components/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cute Penguin Porn</title>
		<link>http://blog.vukomir.info/2009/11/03/cute-penguin-porn/</link>
		<comments>http://blog.vukomir.info/2009/11/03/cute-penguin-porn/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 19:31:27 +0000</pubDate>
		<dc:creator>Ianculov Vucomir</dc:creator>
				<category><![CDATA[Diverse]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.vukomir.info/?p=273</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="320" height="240" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="name" value="efp" /><param name="bgcolor" value="000000" /><param name="align" value="middle" /><param name="flashvars" value="flvbaseclip=2687745" /><param name="src" value="http://www.spike.com/efp" /><param name="allowfullscreen" value="true" /><param name="quality" value="high" /><embed type="application/x-shockwave-flash" width="320" height="240" src="http://www.spike.com/efp" quality="high" allowfullscreen="true" flashvars="flvbaseclip=2687745" align="middle" bgcolor="000000" name="efp"></embed></object></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%2F11%2F03%2Fcute-penguin-porn%2F&amp;title=Cute%20Penguin%20Porn" id="wpa2a_10"><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/11/03/cute-penguin-porn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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_12"><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>Download Manager BASH</title>
		<link>http://blog.vukomir.info/2009/06/30/download-manager-bash/</link>
		<comments>http://blog.vukomir.info/2009/06/30/download-manager-bash/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 17:16:14 +0000</pubDate>
		<dc:creator>Ianculov Vucomir</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://blog.vukomir.info/?p=176</guid>
		<description><![CDATA[Anul trecut la faculta avem de facut un download manager in bash la SO(Sisteme de operare) printre altele, era un proiect destul de interesant dupa parerea mea, dar ar fi mult mai interesant sa fi avut si o interfata web un script php care sa apeleze comenzile de bash jumatate php jumatate bash nu ii [...]]]></description>
			<content:encoded><![CDATA[<p>Anul trecut la faculta avem de facut un download manager in bash la SO(Sisteme de operare) printre altele, era un proiect destul de interesant dupa parerea mea, dar ar fi mult mai interesant sa fi avut si o interfata web un script php care sa apeleze comenzile de bash jumatate <strong>php</strong> jumatate <strong>bash<br />
</strong>nu ii prea ok vi acasa din oras &#8220;obosit&#8221; si inainte sa te arunci la un somn verifici email-ul si vezi o chestie interesanta si o pui sa downlodeze pe un Network Storage pe care ruleaza linux si ai download manager in bash</p>
<p>deschizi putty te logezi pe ssh pe network storage si dai sa downlodeze &#8220;the thing&#8221; timpul acesta sar scurta daca ai aveo o interfata grafica pe network storage care sa faca downlodurile pe care le dai si nu ai fi nevoit sa iti belesti ochii in fereastra de putty in &#8220;noptile lungi&#8221; <img src='http://blog.vukomir.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Am uitat sa mentionez ca proiectul a fost facut cu 7 ore inainte de al prezenta deoarece ca deobicei am uitat prezentarea de proiect si asa ajungi sa lucrezi noaptea. <img src='http://blog.vukomir.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Download the <a href="http://blog.vukomir.info/wp-content/uploads/2009/06/project.tar">Download Manager BASH</a></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%2Fdownload-manager-bash%2F&amp;title=Download%20Manager%20BASH" id="wpa2a_14"><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/download-manager-bash/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_16"><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>Unix Nerd Seeks Love &#8211; Funny Craigslist Post</title>
		<link>http://blog.vukomir.info/2008/09/16/unix-nerd-seeks-love-funny-craigslist-post/</link>
		<comments>http://blog.vukomir.info/2008/09/16/unix-nerd-seeks-love-funny-craigslist-post/#comments</comments>
		<pubDate>Tue, 16 Sep 2008 11:38:14 +0000</pubDate>
		<dc:creator>Ianculov Vucomir</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://blog.vukomir.info/unix-nerd-seeks-love-funny-craigslist-post/</guid>
		<description><![CDATA[This is a real posting at craigslist classifieds: There is a sad truth to the world today. I am part of a dying breed of people known as “shell users.” We are an old-fashioned bunch, preferring the warm glow of a green screen full of text over the cold blockiness of a graphical interface. We [...]]]></description>
			<content:encoded><![CDATA[<p>This is a real posting at craigslist classifieds: There is a sad truth to the world today. I am part of a dying breed of people known as “<span class="st_tag internal_tag">shell</span> users.” We are an old-fashioned bunch, preferring the warm glow of a green screen full of text over the cold blockiness of a graphical interface. We use ssh, scp, and even occassionally ftp. Back in the days before high-speed connections (”broadband”), we would dial up during off-hours to avoid being slammed with huge phone bills. The whole “Microsoft Windows” fad will fade away sooner or later, but in the interim, our kind is facing extinction.</p>
<p>Because there are fewer and fewer of us, I must help keep our lineage alive. I am looking for someone to help me do this. I need a woman (obviously) who is willing to raise a child with me in the method of <span class="st_tag internal_tag">Unix</span>. Our child will be introduced to computers at a young age, and will be setting emacs mode before any other child can even read. I earn a sufficient income to support a family in modest comfort. Other than the fact our child will be bright, text-based and sarcastic, we will otherwise be a normal family. We will even go to Disney World and see Mickey Mouse.</p>
<p>So, if you are a woman between the ages of 23 and 43 who is ready to raise a child in the way of the <span class="st_tag internal_tag">shell</span>, let me know so we can begin the process. (If you are ready to raise more than one child, even better.)</p>
<p>PS &#8211; yes, this is for real. Given the right person, I would obviously propose before we … call fork().<br />
PPS &#8211; I only set emacs mode for my ksh session. I only edit files using vi. Just wanted to clear that up. And I’m looking to raise the child(ren) as a dedicated couple, so if you aren’t interested in being married, you may wish to select() a different posting.</p>
<p>N.B. &#8211; on the issue of relocation. I live in a place where my income/expense ratio is proper (i.e., greater than 2:1). I’m willing to live anywhere in the world where this remains true. I’ve been to much of the country as well as foreign nations. There are no limits to where I will live *so long as the job market for <span class="st_tag internal_tag">unix</span> admins is robust enough to be sustainable.* And yes, I am interested in a strictly monogamous situation. I’ve been known to actually turn down offers of “two chicks at the same time.”</p>
<p>By <a href="http://reversemonster.org/rmblog/unix-nerd-seeks-love-funny-craigslist-post"><font color="#0000ff">ReverseMonster</font></a></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%2F09%2F16%2Funix-nerd-seeks-love-funny-craigslist-post%2F&amp;title=Unix%20Nerd%20Seeks%20Love%20%26%238211%3B%20Funny%20Craigslist%20Post" id="wpa2a_18"><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/16/unix-nerd-seeks-love-funny-craigslist-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian pptpd HOWTO</title>
		<link>http://blog.vukomir.info/2008/06/13/debian-pptpd-howto/</link>
		<comments>http://blog.vukomir.info/2008/06/13/debian-pptpd-howto/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 07:43:22 +0000</pubDate>
		<dc:creator>Ianculov Vucomir</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu / Debian]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://blog.vukomir.info/debian-pptpd-howto/</guid>
		<description><![CDATA[Installing MPPE Support Most people want their tunnels encrypted. Check the version of your kernel; if it is below 2.6.15-rc1 then you do not have MPPE support. To check further, test like this: # modprobe ppp-compress-18 &#38;&#38; echo success If this fails, follow the Debian MPPE HOWTO, then return here. Installing the Server ProgramInstall the [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Installing MPPE Support</strong> Most people want their tunnels encrypted.  Check the version of your kernel; if it is below 2.6.15-rc1 then you do not have MPPE support. To check further, test like this:</p>
<table border="0" cellpadding="6" width="90%" bgcolor="#d8f8d8">
<tbody>
<tr>
<td><tt># modprobe ppp-compress-18 &amp;&amp; echo success </tt></td>
</tr>
</tbody>
</table>
<p>If this fails, follow the <a href="http://pptpclient.sourceforge.net/howto-debian-build.phtml">Debian MPPE HOWTO</a>, then return here.<a title="install" name="install"></a></p>
<hr noshade="noshade" /><strong>Installing the Server Program</strong>Install the <em>pptpd</em> package from the Debian Project:</p>
<table border="0" cellpadding="6" width="90%" bgcolor="#d8f8d8">
<tbody>
<tr>
<td><tt># apt-get install pptpd </tt></td>
</tr>
</tbody>
</table>
<p><a title="configure" name="configure"></a></p>
<hr noshade="noshade" /><strong>Configure IP Address Range</strong>Edit the file <tt>/etc/pptpd.conf</tt> for the IP address range, for example:</p>
<table border="0" cellpadding="6" width="90%" bgcolor="#d8f8d8">
<tbody>
<tr>
<td><tt>localip 192.168.0.1<br />
remoteip 192.168.0.234-238,192.168.0.245 </tt></td>
</tr>
</tbody>
</table>
<p>Note: see pptpd.conf(5) for more details on the other options.Note: you will need to restart <em>pptpd</em> to make changes to <tt>/etc/pptpd.conf</tt> effective:</p>
<table border="0" cellpadding="6" width="90%" bgcolor="#d8f8d8">
<tbody>
<tr>
<td><tt># /etc/init.d/pptpd restart </tt></td>
</tr>
</tbody>
</table>
<p><a title="users" name="users"></a></p>
<hr noshade="noshade" /><strong>Adding Users</strong>Configure <tt>/etc/ppp/chap-secrets</tt> for the accounts, for example:</p>
<table border="0" cellpadding="6" width="90%" bgcolor="#d8f8d8">
<tbody>
<tr>
<td><tt># echo "username pptpd password *" &gt;&gt; /etc/ppp/chap-secrets </tt></td>
</tr>
</tbody>
</table>
<p>Note: this method has all the usernames in one file.  There are other ways, including authentication using Radius, or using Samba.  Check the mailing list (<a href="https://lists.sourceforge.net/lists/listinfo/poptop-server">subscribe</a>, <a href="http://marc.theaimsgroup.com/?l=poptop-server&amp;r=1&amp;w=2">archives</a>).Note: you do not need to restart <em>pptpd</em>, a change to <tt>chap-secrets</tt> is effective for the next connection.<a title="testing" name="testing"></a></p>
<hr noshade="noshade" /><strong>Testing</strong>Attempt a connection from a client.  On successful connection, a new interface should be created (e.g. ppp0), and the remote IP address of the interface should be pingable.  If so, the rest of your problems are likely to be routing.Note: if you need to set up a Debian test client, see the <a href="http://pptpclient.sourceforge.net/howto-debian.phtml">PPTP Client Debian HOWTO</a>.  The test client cannot be on the same host, it doesn&#8217;t work.To diagnose faults, enable the options <em>debug dump</em> in <tt>/etc/ppp/pptpd-options</tt>.  The change is effective on the next connection.  The <em>debug</em> output goes to <tt>/var/log/debug</tt>, and the <em>dump</em> output and usual output to <tt>/var/log/messages</tt>.</p>
<p><a title="patching" name="patching"></a></p>
<hr noshade="noshade" /><strong>Patching</strong>If you need to adopt a source code change made in CVS after the version you are running, see our <a href="http://poptop.sourceforge.net/dox/debian-patching.phtml">Applying patches to Debian pptpd</a> page.<a title="performance" name="performance"></a></p>
<hr noshade="noshade" /><strong>Performance Notes</strong>On a Debian system there may be scripts run by <em>pppd</em> when a network interface is brought up.  These scripts are in the <tt>/etc/ppp/ip-up.d</tt> directory.Some of these scripts may run with incorrect assumptions &#8230; in particular the Debian Sarge <em>exim4</em> package includes a script <tt>/etc/ppp/ip-up.d/exim4</tt> that restarts <em>exim4</em> or runs the queue.  The assumption in this script is that the system has just connected to the internet through the PPP link.You may wish to customise this script.  If your server has a default route via an ethernet interface, then either remove the script or add an <em>exit</em> command near the top.</p>
<hr noshade="noshade" />
<h3><a title="comments" name="comments"></a>Comments</h3>
<p>If you have <em>comments</em> on this document, please send them to the author at james.cameron at hp.com.  But if you <em>need help</em>, use the mailing list  (<a href="https://lists.sourceforge.net/lists/listinfo/poptop-server">subscribe</a>, <a href="http://marc.theaimsgroup.com/?l=poptop-server&amp;r=1&amp;w=2">archives</a>) so that we can share the load.</p>
<p><a href="http://poptop.sourceforge.net/dox/debian-howto.phtml">Sursa</a></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%2F06%2F13%2Fdebian-pptpd-howto%2F&amp;title=Debian%20pptpd%20HOWTO" id="wpa2a_20"><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/06/13/debian-pptpd-howto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

