<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>sambismo</title>
	<atom:link href="http://sambismo.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sambismo.wordpress.com</link>
	<description>communia et impera!</description>
	<lastBuildDate>Mon, 30 Jan 2012 18:36:37 +0000</lastBuildDate>
	<language>it</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='sambismo.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>sambismo</title>
		<link>http://sambismo.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sambismo.wordpress.com/osd.xml" title="sambismo" />
	<atom:link rel='hub' href='http://sambismo.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Errore apt</title>
		<link>http://sambismo.wordpress.com/2012/01/30/errore-apt/</link>
		<comments>http://sambismo.wordpress.com/2012/01/30/errore-apt/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 18:19:39 +0000</pubDate>
		<dc:creator>samba</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[aggiornamenti]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://sambismo.wordpress.com/2012/01/30/errore-apt/</guid>
		<description><![CDATA[Errore di APT durante gli aggiornamenti di sistema: mi da quest&#8217;errore: BADSIG 40976EAF437D05B5 Soluzione : sudo apt-get clean sudo cd /var/lib/apt sudo mv lists lists.old sudo mkdir -p lists/partial sudo apt-get clean apt-get update<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sambismo.wordpress.com&amp;blog=5337243&amp;post=628&amp;subd=sambismo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h4>Errore di APT durante gli aggiornamenti di sistema:</h4>
<p>mi da quest&#8217;errore:</p>
<blockquote><p>BADSIG 40976EAF437D05B5</p></blockquote>
<h4>S<strong>oluzione :</strong></h4>
<blockquote><p>sudo apt-get clean<br />
sudo cd /var/lib/apt<br />
sudo mv lists lists.old<br />
sudo mkdir -p lists/partial<br />
sudo apt-get clean apt-get update</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sambismo.wordpress.com/628/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sambismo.wordpress.com/628/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sambismo.wordpress.com/628/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sambismo.wordpress.com/628/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sambismo.wordpress.com/628/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sambismo.wordpress.com/628/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sambismo.wordpress.com/628/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sambismo.wordpress.com/628/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sambismo.wordpress.com/628/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sambismo.wordpress.com/628/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sambismo.wordpress.com/628/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sambismo.wordpress.com/628/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sambismo.wordpress.com/628/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sambismo.wordpress.com/628/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sambismo.wordpress.com&amp;blog=5337243&amp;post=628&amp;subd=sambismo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sambismo.wordpress.com/2012/01/30/errore-apt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7d35b90fe021379ed2008d81103f4c2f?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">samba</media:title>
		</media:content>
	</item>
		<item>
		<title>IM password</title>
		<link>http://sambismo.wordpress.com/2012/01/26/im-password/</link>
		<comments>http://sambismo.wordpress.com/2012/01/26/im-password/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 17:40:24 +0000</pubDate>
		<dc:creator>samba</dc:creator>
				<category><![CDATA[varie]]></category>
		<category><![CDATA[im]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://sambismo.wordpress.com/2012/01/26/im-password/</guid>
		<description><![CDATA[Oggi ho scoperto che tutti (o quasi) i programmi IM ( programmi usati per chattare ), salvano le password direttamente in chiaro o le cifrano in maniera totalmente insicura. Il primo step è stato dare un occhiata al file account.xml nella propria home. Dopo aver visto le mie password in chiaro, mi sono detto &#8211; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sambismo.wordpress.com&amp;blog=5337243&amp;post=625&amp;subd=sambismo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Oggi ho scoperto che tutti (o quasi) i programmi IM ( programmi usati per chattare ), salvano le password direttamente in chiaro o le cifrano in maniera <strong>totalmente insicura</strong>.</p>
<p>Il primo step è stato dare un occhiata al file account.xml nella propria home.</p>
<p>Dopo aver visto le mie password in chiaro, mi sono detto &#8211; &#8220;Hey, ma questo è proprio una merda!&#8221; &#8211; quindi sono andato sul sito di pidgin per capirne di più ed ho seguito questo link.</p>
<p><a href="http://developer.pidgin.im/wiki/PlainTextPasswords">http://developer.pidgin.im/wiki/PlainTextPasswords</a></p>
<p>Da qui viene ben spiegato che la sicurezza in queste cose non esiste.<br />
Persino google talk , msn messenger , ICQ e altri famosissimi strumenti per la chat salvano le password effettuando una finta cifratura.</p>
<p>Questa finta cifratura non fa vedere la password ad occhio nudo, ma con un qualsiasi tool è possibile subito che password è, quindi si genera una sensazione di <strong>finta sicurezza</strong> nel non vedere la propria password in chiaro.</p>
<p>Questo gli sviluppatori di pidgin lo odiano ancora di più del tenere la password in chiaro.</p>
<p>Il loro ragionamento è semplice:<br />
<strong>Nel momento in cui vedi la tua password in chiaro, lì che ti guarda allora capisci che quel file ha dati sensibili e lo tratti di conseguenza.</strong></p>
<p>Piccolo dettaglio : lo devi sapere.<br />
ecco il motivo di questo post.</p>
<p>Consiglio quindi di non salvare le password direttamente su pidgin, così come è già di default.<br />
Poi magari appena ho tempo, proverò a scrivere un plugin che utilizzi una <em>master password </em>così come fa già firefox,</p>
<p>Bye</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sambismo.wordpress.com/625/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sambismo.wordpress.com/625/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sambismo.wordpress.com/625/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sambismo.wordpress.com/625/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sambismo.wordpress.com/625/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sambismo.wordpress.com/625/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sambismo.wordpress.com/625/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sambismo.wordpress.com/625/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sambismo.wordpress.com/625/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sambismo.wordpress.com/625/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sambismo.wordpress.com/625/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sambismo.wordpress.com/625/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sambismo.wordpress.com/625/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sambismo.wordpress.com/625/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sambismo.wordpress.com&amp;blog=5337243&amp;post=625&amp;subd=sambismo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sambismo.wordpress.com/2012/01/26/im-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7d35b90fe021379ed2008d81103f4c2f?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">samba</media:title>
		</media:content>
	</item>
		<item>
		<title>Lezione al Poli: Installazione Ubuntu</title>
		<link>http://sambismo.wordpress.com/2012/01/24/lezione-al-poli-installazione-ubuntu/</link>
		<comments>http://sambismo.wordpress.com/2012/01/24/lezione-al-poli-installazione-ubuntu/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 18:34:30 +0000</pubDate>
		<dc:creator>samba</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[pensieri]]></category>

		<guid isPermaLink="false">http://sambismo.wordpress.com/?p=620</guid>
		<description><![CDATA[Anche quest&#8217;anno parteciperò con il gruppo Netstudent per portare  Linux sui banchi del Politecnico. Le lezioni si svogono da diversi studenti e neo-laureati del Politecnico di Torino che hanno in comune una passione per linux ed una voglia di diffondere quelle che sono le basi dell&#8217;opensource, il pensiero e la filosofia prima del codice. Ubuntu [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sambismo.wordpress.com&amp;blog=5337243&amp;post=620&amp;subd=sambismo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Anche quest&#8217;anno parteciperò con il gruppo Netstudent per portare  Linux sui banchi del Politecnico.</p>
<p>Le lezioni si svogono da diversi studenti e neo-laureati del Politecnico di Torino che hanno in comune una passione per linux ed una voglia di diffondere quelle che sono le basi dell&#8217;opensource, il pensiero e la filosofia prima del codice.</p>
<p><em>Ubuntu non è solo un sistema operativo, ubuntu è Linux e questa parola significa condivisione, significa rispetto e significa libertà..</em></p>
<h4>Come ogni anno le lezioni sono divise in due sezioni:</h4>
<p><strong>La prima la parte</strong> comprenderà un introduzione al mondo Linux ed un utilizzo base di quello che può diventare un alternativa a Windows.</p>
<p>Anche se è una parte base, non ci si limita all&#8217;aspetto grafico, ma già dalla seconda lezione si inizierà a utilizzare il <strong>terminale</strong>, lo facciamo per diversi motivi.</p>
<p>Prima di tutto perchè non vogliamo proporre all&#8217;utente base solo un modo per utilizzare una similitudine windows o mac gratis., ma vogliamo che l&#8217;utente capisca veramente le differenze tra Linux e tutto il resto, che capisca cosa può fare se mette il naso dentro alle cose.</p>
<p>Il secondo motivo è molto più tecnico: anche se ormai Ubuntu è abbastanza matura da poter essere usata anche da chi informatico non è e non lo vuole diventare, è possibile che in alcune situazioni sia necessario e importante utilizzare solo il terminale, magari per ripristinare l&#8217;interfaccia grafica.</p>
<p>&nbsp;</p>
<p><strong>La seconda parte</strong> è la parte per me più divertente: Il corso avanzato.</p>
<p>Nel corso avanzato si conoscono spesso delle persone interessanti e sono nati dei bei rapporti tra alcune persone che si sono appassionate a Linux a tal punto di gestire la rete di un collegio solo per divertimento, cosa che un sysadmin qualunque farebbe pagare tantissimo. Altri che per la passione di insegnare hanno sfogato tutto il loro sapere in un aula grandissima da poter contenere anche più di cento studenti.</p>
<p>Nei corsi base ho spesso parlato di cose che a me sembrano semplici ma mi rendo conto che possono essere anche molto complicate per chi è alle prime armi.</p>
<p>Per fare alcuni esempi degli anni passati:</p>
<p><strong>NAGIOS</strong> &#8211; Un potentissimo sistema di monitoraggio aziendale, controlla che il pc è acceso e manda notifiche (mail/sms) se qualcosa non va</p>
<p><strong>VIM -</strong> Il più potente editor mai inventato. Un editor testuale vecchio quanto unix che è preinstallato su qualsiasi sistema unix e che può solo tirarsela davanti  agli altri editor testuali.</p>
<p>Quest&#8217;anno poi mi piacerebbe provare anche ad insegnare un po&#8217; di <strong>python</strong>.</p>
<p>Mi sono messo a studiarlo è l&#8217;ho trovato estremamente semplice e intuitivo, ottimo per chi deve imparare a programmare e non sa da dove iniziare, ma anche per chi programmare sa già e vuole utilizzare qualcosa si flessibile, portabile su ogni sistema e sopratutto veloce.</p>
<p>Vedremo come sarà <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&nbsp;</p>
<p>Per adesso beccatevi questi corsi e poi vedremo, anche in base ai vostri commenti che cosa sì può fare</p>
<p>&nbsp;</p>
<p>bye!</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Il sito Netstudent spiega già praticamente tutto:</p>
<p><a href="http://netstudent.polito.it/wiki/index.php/Corso">http://netstudent.polito.it/wiki/index.php/Corso</a></p>
<p>Qui ci sono le mie slide</p>
<p>&gt;&gt;  <a href="http://sambismo.files.wordpress.com/2012/01/corso_gnulinux_base_lezione_51.pdf">Corso_GNULinux_base_lezione_5</a> &lt;&lt;</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sambismo.wordpress.com/620/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sambismo.wordpress.com/620/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sambismo.wordpress.com/620/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sambismo.wordpress.com/620/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sambismo.wordpress.com/620/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sambismo.wordpress.com/620/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sambismo.wordpress.com/620/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sambismo.wordpress.com/620/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sambismo.wordpress.com/620/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sambismo.wordpress.com/620/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sambismo.wordpress.com/620/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sambismo.wordpress.com/620/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sambismo.wordpress.com/620/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sambismo.wordpress.com/620/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sambismo.wordpress.com&amp;blog=5337243&amp;post=620&amp;subd=sambismo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sambismo.wordpress.com/2012/01/24/lezione-al-poli-installazione-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7d35b90fe021379ed2008d81103f4c2f?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">samba</media:title>
		</media:content>
	</item>
		<item>
		<title>clogin / ciscocmd</title>
		<link>http://sambismo.wordpress.com/2011/12/19/clogin-ciscocmd/</link>
		<comments>http://sambismo.wordpress.com/2011/12/19/clogin-ciscocmd/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 23:01:33 +0000</pubDate>
		<dc:creator>samba</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://sambismo.wordpress.com/?p=614</guid>
		<description><![CDATA[Spesso nello scrivere degli script mi sono imbattuto nella difficolta&#8217; di dovermi collegare via telnet o ssh su un device di rete oppure una macchina che non supportava lo scambio di chiavi ssh. Cercando in rete ho trovato uno script fatto da CISCO che usa il linguaggio expect. Ci sono due script che uso spesso, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sambismo.wordpress.com&amp;blog=5337243&amp;post=614&amp;subd=sambismo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://sambismo.files.wordpress.com/2011/12/termclogins.jpeg"><img class="alignright size-full wp-image-616" title="termclogins" src="http://sambismo.files.wordpress.com/2011/12/termclogins.jpeg?w=600" alt=""   /></a>Spesso nello scrivere degli script mi sono imbattuto nella difficolta&#8217; di dovermi collegare via telnet o ssh su un device di rete oppure una macchina che non supportava lo scambio di chiavi ssh.</p>
<p>Cercando in rete ho trovato uno script fatto da CISCO che usa il linguaggio expect.</p>
<p>Ci sono due script che uso spesso, il primo</p>
<p>si chiama : <a href="http://hotfile.com/dl/137955317/751f7df/clogin.html" target="_blank">CLOGIN</a>  e lo uso spesso per collegarmi ad apparati di rete (router/firewall / switch/ &#8230; )</p>
<p>Il secondo si chiamaa   <a href="http://sourceforge.net/projects/cosi-nms/files/ciscocmd/" target="_blank">CISCOCMD</a> e lo uso più spesso per collegarmi a vecchi server con solo più telnet o a solaris poco recenti.</p>
<p>Come funzionano ? Sia il CISCOCMD come il CLOGIN sono molto utili già sfogliando l&#8217;help</p>
<p>L&#8217;help infatti da&#8217; già un grande aiuto:</p>
<pre>$./clogin --help
Usage: ./clogin [-dSV] [-autoenable] [-noenable] [-c command] 
[-Evar=x] [-e enable-password] [-f cloginrc-file] [-p user-password]  [-s script-file]
[-t timeout] [-u username]  [-v vty-password] [-w enable-username] [-x command-file] 
[-y ssh_cypher_type] router [router...]
<strong>
<em>Di seguito invece un Esempio:</em></strong>
<strong>$./clogin -u "pippo" -p"pluto" -t 5 -c "whoami &amp;&amp; hostname" myrouter.lan</strong>
  spawn ssh -c 3des -x -l pippo myrouter.lan
  pippo@myserver.lan ~ $  whoami &amp;&amp; hostname
  pippo
  myrouter.lan
  exit
  Connection to myrouter.lan closed.

<strong>Come vedete il comando ./clogin prevede una serie di parametri tra cui</strong>
-u : utente
-p : la password (meglio se non mettete spazi e mettete la passwd tra virgolette) -p"così"
-t : il timeout in secondi
-c : il comando oppure i comandi da dare sul server
     ricorosamente separati da &amp;&amp; (AND LOGICO) oppure da ";" se basta un OR
<strong>l'argomento finale sara' il nome del vostro server o device di rete</strong> 

<span style="text-decoration:underline;"><em><strong>enjoy</strong></em></span>
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sambismo.wordpress.com/614/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sambismo.wordpress.com/614/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sambismo.wordpress.com/614/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sambismo.wordpress.com/614/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sambismo.wordpress.com/614/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sambismo.wordpress.com/614/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sambismo.wordpress.com/614/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sambismo.wordpress.com/614/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sambismo.wordpress.com/614/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sambismo.wordpress.com/614/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sambismo.wordpress.com/614/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sambismo.wordpress.com/614/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sambismo.wordpress.com/614/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sambismo.wordpress.com/614/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sambismo.wordpress.com&amp;blog=5337243&amp;post=614&amp;subd=sambismo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sambismo.wordpress.com/2011/12/19/clogin-ciscocmd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7d35b90fe021379ed2008d81103f4c2f?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">samba</media:title>
		</media:content>

		<media:content url="http://sambismo.files.wordpress.com/2011/12/termclogins.jpeg" medium="image">
			<media:title type="html">termclogins</media:title>
		</media:content>
	</item>
		<item>
		<title>nexus s rooted on ubuntu</title>
		<link>http://sambismo.wordpress.com/2011/09/01/nexus-s-rooted-on-ubuntu/</link>
		<comments>http://sambismo.wordpress.com/2011/09/01/nexus-s-rooted-on-ubuntu/#comments</comments>
		<pubDate>Thu, 01 Sep 2011 03:52:29 +0000</pubDate>
		<dc:creator>samba</dc:creator>
				<category><![CDATA[varie]]></category>

		<guid isPermaLink="false">http://sambismo.wordpress.com/2011/09/01/nexus-s-rooted-on-ubuntu/</guid>
		<description><![CDATA[1. Premetto che non è stato facile. ho sudato freddo e tutto per una mia curiosita&#8217;. 2. Premetto questo e anche che questo tizio (http://sites.google.com/site/zeta/nexus-s/update-rooted-nexus-s-to-2-3-4-build-grj22) mi ha salvato la vita. Per rootare il Nexus S ci sono milioni di guide ognuna aggiornata al momento dell&#8217;upgrade. Ogni guida ha le sue app e il suo modo [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sambismo.wordpress.com&amp;blog=5337243&amp;post=613&amp;subd=sambismo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>1. Premetto che non è stato facile. ho sudato freddo e tutto per una mia curiosita&#8217;.<br />
2. Premetto questo e anche che questo tizio (<a href="http://sites.google.com/site/zeta/nexus-s/update-rooted-nexus-s-to-2-3-4-build-grj22">http://sites.google.com/site/zeta/nexus-s/update-rooted-nexus-s-to-2-3-4-build-grj22</a>) mi ha salvato la vita.</p>
<p>Per rootare il Nexus S ci sono milioni di guide ognuna aggiornata al momento dell&#8217;upgrade.<br />
Ogni guida ha le sue app e il suo modo per inserire un app che si chiama SuperUser .</p>
<p><strong>superboot</strong><br />
prima cosa bisogna avere il superboot, un file ZIP che al suo interno ha delle utility per sbloccare il bootloader di Android.</p>
<p>il file lo trovate qui : &#8212;&gt; <a href="http://loadbalancing.modaco.com/download.php?url=mf/?pxwanof2st8mlzf">1.0-GRJ22-nexuss-superboot.zip</a></p>
<p>scaricato il file basta estrarlo e posizionarsi dentro.</p>
<p><strong>udev</p>
<p></strong>seconda cosa bisogno istruire udev che android è un device usb, per istruirlo basta creare un file</p>
<blockquote><p> echo &#8216;SUBSYSTEMS==&quot;usb&quot;, SYSFS{idVendor}==&quot;18d1&quot;, MODE=&quot;0666&quot;&#8217; | sudo tee /etc/udev/rules.d/51-android.rules</p>
</blockquote>
<p><strong>clockwork</p>
<p></strong>poi un tool finale è il mitico clockwork, che mi ha salvato la vita nel momento di maggior bisogno.</p>
<p>clockwork è un tool completamente testuale da usare come menu in caso di problemi tipo il mio (ho cancellato tutto , anche il file boot.img !)<br />
per poterlo usare basta entrare in recovery mode (VolUP + power ) e lanciare da PC questo comando:</p>
<blockquote><blockquote>./fastboot-linux boot recovery-clockwork-5.0.0.0-crespo.img
</p></blockquote>
</blockquote>
<p>Ovviamente il Nexus deve essere attaccato via USB.<br />
il file lo potete trovare qui: <a href="http://download.clockworkmod.com/recoveries/recovery-clockwork-5.0.0.0-crespo.img">recovery-clockwork-5.0.0.0-crespo.img</a></p>
<p>La situazione è questa.<br />
Io faccio il mio shutdown normale&#8230;<br />
Attacco la chiavetta usb al cell e al PC&#8230;<br />
Poi premendo il tasto <strong>volumeUP e Spegni</strong> parte il mio bootloader lockato, ok?</p>
<p><strong>unlock bootloader</strong></p>
<p>per sbloccare il bootloader è una cazzata, basta andare nella cartella superboot che abbiamo spacchettato prima e lanciare il comando</p>
<blockquote><p> ./fastboot-linux oem unlock</p>
</blockquote>
<p>andare avanti dicendo che sei sicuro e via hai sbloccato il bootloader.</p>
<p>Il problema per me,, è arrivato con la merda di script definitivo della madonna in calore, il comando &quot;install-superboot-linux.sh&quot; che mi ha sputtanato tutto il FS android.</p>
<p>Lanciando il comando in teoria tutto doveva succedere da solo, montare un immagine copiare un file e riavviare.<br />
Invece mi ha rimosso la root , cancellato i file di boot e fatto una pernacchia.</p>
<p><em>lo sapevo che non dovevo usare roba troppo nuova.</em></p>
<p>ho iniziato quindi a cercare un po&#8217; di gente che si era fatta dei backup del nexus s e li aveva postati in giro.<br />
roba incredibile, riuscivo a fare il restore di backup provenienti da device diversi. .. alcuni andavano , ma poi il touch si staccava non rispondeva e ancora peggio lo schermo si spegneva.</p>
<p>Disperazioine.. non trovavo nulla.<br />
non avevo un immagine e non potevo ripristinare nulla perchè nemmeno l&#8217;utility di restore funzionava..</p>
<p>alla fine il tipo cercando disperatamente un backup per l&#8217;ultima build grj22 ho trovato questo tipo:</p>
<p><a href="http://sites.google.com/site/zeta/nexus-s/update-rooted-nexus-s-to-2-3-4-build-grj22">http://sites.google.com/site/zeta/nexus-s/update-rooted-nexus-s-to-2-3-4-build-grj22</a></p>
<p>che anche se non lo sa ha postato 3 file che mi hanno permesso di</p>
<p>1. inserire un firmware vecchio ma funzionante del nexus s ( <a href="http://android.clients.google.com/packages/ota/google_crespo/f182cf141e6a.signed-soju-ota-102588.f182cf14.zip">FILE 1 </a>)<br />
2. aggiornareil firmware all&#8217;ultima build &#8212;&gt; ( <a href="http://android.clients.google.com/packages/ota/google_crespo/f182cf141e6a.signed-soju-ota-102588.f182cf14.zip"> FILE 2</a> )</p>
<p>3. Inserire la cazzo di app SuperUser.apk per poter finalmente rootare il mio device android senza cazzi per la testa &#8212;-&gt; (<a href="http://bit.ly/su2361ef">SU.zip</a>)</p>
<p>per farlo non ho fatto altro che :</p>
<p>1. avviare il nexus in recovery mode: VolUp + power<br />
2. lanciare da pc il comando</p>
<blockquote><p>  ./fastboot-linux boot recovery-clockwork-5.0.0.0-crespo.img</p>
</blockquote>
<p>Installare &quot;from zip sdcard&quot; prima il FILE 1, riavviare , installare il FILE 2<br />
quindi arrivare nella situazione iniziale, prima della distruzione di tutto il cell</p>
<p>quindi andare ancora una volta in recovery mode e installare lo zip finale : SU.zip</p>
<p>al riavvio sarete felici.<br />
sicuro.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sambismo.wordpress.com/613/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sambismo.wordpress.com/613/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sambismo.wordpress.com/613/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sambismo.wordpress.com/613/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sambismo.wordpress.com/613/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sambismo.wordpress.com/613/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sambismo.wordpress.com/613/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sambismo.wordpress.com/613/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sambismo.wordpress.com/613/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sambismo.wordpress.com/613/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sambismo.wordpress.com/613/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sambismo.wordpress.com/613/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sambismo.wordpress.com/613/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sambismo.wordpress.com/613/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sambismo.wordpress.com&amp;blog=5337243&amp;post=613&amp;subd=sambismo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sambismo.wordpress.com/2011/09/01/nexus-s-rooted-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7d35b90fe021379ed2008d81103f4c2f?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">samba</media:title>
		</media:content>
	</item>
		<item>
		<title>delete the ^C on ubuntu</title>
		<link>http://sambismo.wordpress.com/2011/08/24/delete-the-c-on-ubuntu/</link>
		<comments>http://sambismo.wordpress.com/2011/08/24/delete-the-c-on-ubuntu/#comments</comments>
		<pubDate>Wed, 24 Aug 2011 23:18:29 +0000</pubDate>
		<dc:creator>samba</dc:creator>
				<category><![CDATA[varie]]></category>

		<guid isPermaLink="false">http://sambismo.wordpress.com/2011/08/24/delete-the-c-on-ubuntu/</guid>
		<description><![CDATA[Ho trovato il comando definitivo per non avere più quel fastidioso ^C ogni volta che premo Control + c samba@anacreon:~$ ^C samba@anacreon:~$ ^C samba@anacreon:~$ ^C samba@anacreon:~$ ^C samba@anacreon:~$ ^C samba@anacreon:~$ ^C samba@anacreon:~$ ^C samba@anacreon:~$ stty -echoctl samba@anacreon:~$ samba@anacreon:~$ samba@anacreon:~$ samba@anacreon:~$ samba@anacreon:~$ Dando il comando: stty -echoctl funziona tutto alla grande. Se invece non si vuole [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sambismo.wordpress.com&amp;blog=5337243&amp;post=612&amp;subd=sambismo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ho trovato il comando definitivo per non avere più quel fastidioso ^C ogni volta che premo <em>Control + c</em></p>
<p>samba@anacreon:~$ ^C<br />
samba@anacreon:~$ ^C<br />
samba@anacreon:~$ ^C<br />
samba@anacreon:~$ ^C<br />
samba@anacreon:~$ ^C</p>
<p>samba@anacreon:~$ ^C<br />
samba@anacreon:~$ ^C<br />
<strong>samba@anacreon:~$ stty -echoctl</strong><br />
samba@anacreon:~$<br />
samba@anacreon:~$<br />
samba@anacreon:~$<br />
samba@anacreon:~$<br />
samba@anacreon:~$</p>
<p>Dando il comando:</p>
<blockquote><p><strong>stty -echoctl</strong>
</p></blockquote>
<p> funziona tutto alla grande.</p>
<p>Se invece non si vuole lanciare il comando ad ogni sessione bisogna modificare il file: ~/.bashrc</p>
<p>inserendo il comando o dando questo direttamente:</p>
<p>echo &quot;stty -echoctl&quot; &gt;&gt; ~/.bashrc<br />
 <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sambismo.wordpress.com/612/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sambismo.wordpress.com/612/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sambismo.wordpress.com/612/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sambismo.wordpress.com/612/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sambismo.wordpress.com/612/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sambismo.wordpress.com/612/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sambismo.wordpress.com/612/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sambismo.wordpress.com/612/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sambismo.wordpress.com/612/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sambismo.wordpress.com/612/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sambismo.wordpress.com/612/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sambismo.wordpress.com/612/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sambismo.wordpress.com/612/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sambismo.wordpress.com/612/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sambismo.wordpress.com&amp;blog=5337243&amp;post=612&amp;subd=sambismo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sambismo.wordpress.com/2011/08/24/delete-the-c-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7d35b90fe021379ed2008d81103f4c2f?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">samba</media:title>
		</media:content>
	</item>
		<item>
		<title>Ubuntu: Vodafone Mobile Broadband</title>
		<link>http://sambismo.wordpress.com/2011/07/15/ubuntu-vodafone-mobile-broadband/</link>
		<comments>http://sambismo.wordpress.com/2011/07/15/ubuntu-vodafone-mobile-broadband/#comments</comments>
		<pubDate>Fri, 15 Jul 2011 10:59:46 +0000</pubDate>
		<dc:creator>samba</dc:creator>
				<category><![CDATA[varie]]></category>

		<guid isPermaLink="false">http://sambismo.wordpress.com/2011/07/15/ubuntu-vodafone-mobile-broadband/</guid>
		<description><![CDATA[chiavetta vodafone mobile broadband Model: k4505-z HSPA+ USB Stik root@n:~# uname -a Linux n 2.6.32-33-generic #69-Ubuntu SMP Mon Jun 27 15:33:16 UTC 2011 x86_64 GNU/Linux Quindi sistema operativo: Ubuntu 10.04 LTS Per far funzionare la chiavetta dobbiamo individuare i due codici all&#8217;interno del comando lsusb $ lsusb Bus 002 Device 009: ID 19d2:0104 ONDA Communication [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sambismo.wordpress.com&amp;blog=5337243&amp;post=611&amp;subd=sambismo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>chiavetta vodafone mobile broadband<br />
Model: k4505-z<br />
HSPA+ USB Stik</p>
<blockquote><p>
root@n:~# uname -a<br />
Linux n 2.6.32-33-generic #69-Ubuntu SMP Mon Jun 27 15:33:16 UTC 2011 x86_64 GNU/Linux
</p></blockquote>
<p>Quindi sistema operativo: Ubuntu 10.04 LTS</p>
<p>Per far funzionare la chiavetta dobbiamo individuare i due codici all&#8217;interno del comando lsusb</p>
<blockquote><p>$ lsusb<br />
Bus 002 Device 009: ID <strong>19d2:0104</strong> ONDA Communication S.p.A.
</p></blockquote>
<p>Quindi dobbiamo andare nelle regole di udev ed aggiungere una linea di questo tipo</p>
<blockquote><p> vim /etc/udev/rules.d/70-persistent-usb.rules</p>
<p>#Bus 002 Device 004: ID 19d2:0101 ONDA Communication S.p.A.<br />
ATTRS{idVendor}==&quot;19d2&quot;, ATTRS{idProduct}==&quot;0101&quot;, RUN+=&quot;usb_modeswitch &#8216;%b/%k&#8217;&quot;</p>
</blockquote>
<p>riavvia e funziona!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sambismo.wordpress.com/611/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sambismo.wordpress.com/611/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sambismo.wordpress.com/611/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sambismo.wordpress.com/611/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sambismo.wordpress.com/611/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sambismo.wordpress.com/611/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sambismo.wordpress.com/611/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sambismo.wordpress.com/611/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sambismo.wordpress.com/611/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sambismo.wordpress.com/611/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sambismo.wordpress.com/611/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sambismo.wordpress.com/611/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sambismo.wordpress.com/611/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sambismo.wordpress.com/611/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sambismo.wordpress.com&amp;blog=5337243&amp;post=611&amp;subd=sambismo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sambismo.wordpress.com/2011/07/15/ubuntu-vodafone-mobile-broadband/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7d35b90fe021379ed2008d81103f4c2f?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">samba</media:title>
		</media:content>
	</item>
		<item>
		<title>How to install python26 in Centos 5.5 Final</title>
		<link>http://sambismo.wordpress.com/2011/06/02/how-to-install-python26-in-centos-5-5-final/</link>
		<comments>http://sambismo.wordpress.com/2011/06/02/how-to-install-python26-in-centos-5-5-final/#comments</comments>
		<pubDate>Thu, 02 Jun 2011 09:45:30 +0000</pubDate>
		<dc:creator>samba</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://sambismo.wordpress.com/2011/06/02/how-to-install-python26-in-centos-5-5-final/</guid>
		<description><![CDATA[How to install python26 on Centos 5.5 Final? Like this: sudo rpm -Uvh http://yum.chrislea.com/centos/5/i386/chl-release-5-3.noarch.rpm sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CHL sudo yum install python26 $ python26 installing python in this way you can use the stable version of pythoon (2.4) and use also the last version of python (2.6) take a look: $ python -V Python 2.4.3 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sambismo.wordpress.com&amp;blog=5337243&amp;post=606&amp;subd=sambismo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>How to install python26 on Centos 5.5 Final?</p>
<p>Like this:</p>
<pre></pre>
<blockquote>
<pre><code>sudo rpm -Uvh <a href="http://yum.chrislea.com/centos/5/i386/chl-release-5-3.noarch.rpm">http://yum.chrislea.com/centos/5/i386/chl-release-5-3.noarch.rpm</a>
sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CHL
sudo yum install python26 $ python26</code>
<code>
</code></pre>
</blockquote>
<p>installing python in this way you can use the stable version of pythoon (2.4) and use also the last version of python (2.6)</p>
<p>take a look:</p>
<blockquote><p>$ python -V<br />
Python 2.4.3<br />
$ python26 -V<br />
Python 2.6.2</p></blockquote>
<p>bye</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sambismo.wordpress.com/606/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sambismo.wordpress.com/606/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sambismo.wordpress.com/606/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sambismo.wordpress.com/606/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sambismo.wordpress.com/606/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sambismo.wordpress.com/606/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sambismo.wordpress.com/606/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sambismo.wordpress.com/606/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sambismo.wordpress.com/606/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sambismo.wordpress.com/606/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sambismo.wordpress.com/606/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sambismo.wordpress.com/606/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sambismo.wordpress.com/606/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sambismo.wordpress.com/606/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sambismo.wordpress.com&amp;blog=5337243&amp;post=606&amp;subd=sambismo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sambismo.wordpress.com/2011/06/02/how-to-install-python26-in-centos-5-5-final/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7d35b90fe021379ed2008d81103f4c2f?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">samba</media:title>
		</media:content>
	</item>
		<item>
		<title>limitare il sudo in un certo path</title>
		<link>http://sambismo.wordpress.com/2011/04/11/limitare-il-sudo-in-un-certo-path/</link>
		<comments>http://sambismo.wordpress.com/2011/04/11/limitare-il-sudo-in-un-certo-path/#comments</comments>
		<pubDate>Mon, 11 Apr 2011 15:41:52 +0000</pubDate>
		<dc:creator>samba</dc:creator>
				<category><![CDATA[varie]]></category>

		<guid isPermaLink="false">http://sambismo.wordpress.com/2011/04/11/limitare-il-sudo-in-un-certo-path/</guid>
		<description><![CDATA[Ho un problema. devo limitare sudo in un certo path ovvero devo poter lanciare un pool di comandi solo in un certo dominio ad esempio : /home Come faccio a configurare sudo per fare questo ? questi due link possono dare una mano: http://linsec.ca/Using_Sudo_to_Limit_Access http://www.sudo.ws/pipermail/sudo-users/2006-August/002927.html In pratica basta configurare /etc/sudoers in questo modo : 1. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sambismo.wordpress.com&amp;blog=5337243&amp;post=605&amp;subd=sambismo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ho un problema.<br />
devo limitare sudo in un certo path</p>
<p>ovvero devo poter lanciare un pool di comandi solo in un certo dominio ad esempio : /home</p>
<p>Come faccio a configurare sudo per fare questo ?</p>
<p>questi due link possono dare una mano:<br />
<a href="http://linsec.ca/Using_Sudo_to_Limit_Access">http://linsec.ca/Using_Sudo_to_Limit_Access</a><br />
<a href="http://www.sudo.ws/pipermail/sudo-users/2006-August/002927.html">http://www.sudo.ws/pipermail/sudo-users/2006-August/002927.html</a></p>
<p>In pratica basta configurare /etc/sudoers in questo modo :</p>
<p>1. Definisco i command_alias che il mio utente potra usare<br />
2. Allego subito dopo il comando specificato il dominio di esistenza (il path limite) con un bell&#8217;asterisco finale (se voglio che il dominio comprenda le sottodirectory)</p>
<p>3. Configuro il sudo il mio utente con poche capacità</p>
<p>in pratica:</p>
<blockquote><p> # visudo</p>
</blockquote>
<p>aggiungo la linea:</p>
<blockquote><p> ## Custom<br />
Cmnd_Alias CUSTOM = /bin/ls /home/*, /bin/rm /home/*, /bin/mkdir /home/*, /bin/touch /home/*, /bin/cat /home/*
</p></blockquote>
<p>e infine aggiungo la definizione del mio piccolo e limitato utente che potra lanciare i comandi diventanto utente oracle</p>
<blockquote><p>  user ALL=(oracle) CUSTOM</p>
</blockquote>
<p>per completare il gioco, bisogna inserire gli utente nel gruppo wheels (altrimenti non saranno abilitati al sudo )<br />
e Ovviamente gli utenti devono esistere &#8230; <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Dopodiche per provare che tutto funzioni possiamo lanciare il comando :</p>
<blockquote><p> sudo -u oracle ls /home/</p>
<p>sudo -u oracle mkdir /home/prova<br />
sudo -u oracle rm -rf /home/prova</p>
</blockquote>
<p>Se tutto funziona non avremo strani output, ma se proviamo a muoverci fuori dal dominio:</p>
<p>[user@myserver~]$ sudo -u oracle ls /home/<br />
Password:<br />
Sorry, user user is not allowed to execute &#8216;/bin/ls /home/&#8217; as oracle on <a href="http://myserver.example.com">myserver.example.com</a></p>
<p>figo eh ? <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sambismo.wordpress.com/605/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sambismo.wordpress.com/605/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sambismo.wordpress.com/605/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sambismo.wordpress.com/605/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sambismo.wordpress.com/605/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sambismo.wordpress.com/605/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sambismo.wordpress.com/605/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sambismo.wordpress.com/605/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sambismo.wordpress.com/605/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sambismo.wordpress.com/605/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sambismo.wordpress.com/605/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sambismo.wordpress.com/605/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sambismo.wordpress.com/605/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sambismo.wordpress.com/605/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sambismo.wordpress.com&amp;blog=5337243&amp;post=605&amp;subd=sambismo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sambismo.wordpress.com/2011/04/11/limitare-il-sudo-in-un-certo-path/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7d35b90fe021379ed2008d81103f4c2f?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">samba</media:title>
		</media:content>
	</item>
		<item>
		<title>import rhythmbox banshee</title>
		<link>http://sambismo.wordpress.com/2011/04/10/import-rhythmbox-banshee/</link>
		<comments>http://sambismo.wordpress.com/2011/04/10/import-rhythmbox-banshee/#comments</comments>
		<pubDate>Sun, 10 Apr 2011 23:21:34 +0000</pubDate>
		<dc:creator>samba</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[banhsee]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[rhythmbox]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://sambismo.wordpress.com/?p=580</guid>
		<description><![CDATA[Banshee prevede l&#8217;import di tutti i file appartenenti a rhythmbox. Ma non si può dire il contrario. Il player musicale di Gnome non prevede nessun tipo di sincronizzazione con banshee quindi se abbiamo settato delle preferenze musicali nel nuovo mono player scopriamo di doverle risettare per rhythmbox. Fino a quando non ho scoperto questo simpatico [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sambismo.wordpress.com&amp;blog=5337243&amp;post=580&amp;subd=sambismo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Banshee prevede l&#8217;import di tutti i file appartenenti a rhythmbox.<br />
Ma non si può dire il contrario.</p>
<p>Il player musicale di Gnome non prevede nessun tipo di sincronizzazione con banshee quindi se abbiamo settato delle preferenze musicali nel nuovo mono player scopriamo di doverle risettare per rhythmbox.</p>
<p>Fino a quando non ho scoperto questo simpatico tool  di importazione scritto da Wolfgang Steitz:<br />
<a href="http://code.google.com/p/rhythmbox-banshee-import/source/browse/trunk/import.py?spec=svn4&amp;r=4"> http://code.google.com/p/rhythmbox-banshee-import/source/browse/trunk/import.py?spec=svn4&amp;r=4</a></p>
<p>&nbsp;</p>
<p>Per usarlo è sufficiente dare i seguenti comandi</p>
<blockquote><p>wget -c http://rhythmbox-banshee-import.googlecode.com/files/import-0.2.py</p>
<p>ln -s $HOME/.config/banshee-1/banshee.db .</p>
<p>ln -s $HOME/.local/share/rhythmbox/rhythmdb.xml .</p>
<p>python import-0.2.py</p>
<p>&nbsp;</p></blockquote>
<p>enjoy!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sambismo.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sambismo.wordpress.com/580/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sambismo.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sambismo.wordpress.com/580/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sambismo.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sambismo.wordpress.com/580/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sambismo.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sambismo.wordpress.com/580/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sambismo.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sambismo.wordpress.com/580/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sambismo.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sambismo.wordpress.com/580/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sambismo.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sambismo.wordpress.com/580/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sambismo.wordpress.com&amp;blog=5337243&amp;post=580&amp;subd=sambismo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sambismo.wordpress.com/2011/04/10/import-rhythmbox-banshee/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7d35b90fe021379ed2008d81103f4c2f?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">samba</media:title>
		</media:content>
	</item>
	</channel>
</rss>
