<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://forum.ubuntu-fr.org/extern.php?action=feed&amp;tid=1165241&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Forum Ubuntu-fr.org / $HOME trop sweet]]></title>
		<link>http://forum.ubuntu-fr.org/viewtopic.php?id=1165241</link>
		<description><![CDATA[Les sujets les plus récents dans $HOME trop sweet.]]></description>
		<lastBuildDate>Sat, 12 Jan 2013 17:56:31 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Réponse à&#160;:  $HOME trop sweet]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12183381#p12183381</link>
			<description><![CDATA[<p>Je suis aussi sur Debian (wheezy) et J&#039;ADORE ...</p><p>mais je n&#039;y suis pas né.</p><p>C&#039;est pour cela que j&#039;écrivais je ne suis pas sûr et Je pense que.<br />Merci d&#039;avoir éclairé ma lanterne.</p><p>En revanche c&#039;est qui est quasi certain c&#039;est que ce n&#039;est pas le cas avec sudo (surtout sur Ubuntu).</p>]]></description>
			<author><![CDATA[dummy@example.com (f.x0)]]></author>
			<pubDate>Sat, 12 Jan 2013 17:56:31 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12183381#p12183381</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  $HOME trop sweet]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12180251#p12180251</link>
			<description><![CDATA[<p>Sous Debian, c&#039;est exactement la même chose. Je suis désolé, mais c&#039;est là ou je suis né. J&#039;ai bien noté et je vais vivre avec, ce n&#039;est pas un problème. Le problème c&#039;est de l&#039;ignorer. Grand merci de m&#039;avoir informé.</p>]]></description>
			<author><![CDATA[dummy@example.com (gigiair)]]></author>
			<pubDate>Sat, 12 Jan 2013 13:44:32 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12180251#p12180251</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  $HOME trop sweet]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12180051#p12180051</link>
			<description><![CDATA[<p>je ne suis pas sûr que cela soit la même chose<br />de déclarer le USER dans les sudoers<br />et de passer en root avec su.</p><p>Je pense que :<br />- déclarer le USER dans les sudoers → ami administrateur<br />- passer en root avec su → super administrateur</p>]]></description>
			<author><![CDATA[dummy@example.com (f.x0)]]></author>
			<pubDate>Sat, 12 Jan 2013 13:26:01 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12180051#p12180051</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  $HOME trop sweet]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12179641#p12179641</link>
			<description><![CDATA[<p>Sous Debian il suffit de déclarer le USER dans les sudoers.<br />Sous Ubuntu, il faut passer par sudo., sauf si on a attribué un mot de passe à root, ce qui n&#039;est pas encouragé, je crois.<br />J&#039;avoue ne pas avoir trop lu le man sudo.</p>]]></description>
			<author><![CDATA[dummy@example.com (gigiair)]]></author>
			<pubDate>Sat, 12 Jan 2013 12:27:19 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12179641#p12179641</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  $HOME trop sweet]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12179341#p12179341</link>
			<description><![CDATA[<p>En usage normal, sous debian le sudo n&#039;est pas activé il me semble.</p><p>Le passage root se fait avec</p><div class="codebox"><pre><code>su</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (f.x0)]]></author>
			<pubDate>Sat, 12 Jan 2013 11:58:23 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12179341#p12179341</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  $HOME trop sweet]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12179131#p12179131</link>
			<description><![CDATA[<p>Il me semble que sudo fait ce qu&#039;il y a dans le man.<br />C&#039;est l&#039;option -i qu&#039;il te faut :</p><div class="codebox"><pre><code> -i [command]
                   The -i (simulate initial login) option runs the shell
                   specified in the passwd(5) entry of the target user as a
                   login shell.  This means that login-specific resource
                   files such as .profile or .login will be read by the
                   shell.  If a command is specified, it is passed to the
                   shell for execution.  Otherwise, an interactive shell is
                   executed.  sudo attempts to change to that user&#039;s home
                   directory before running the shell.  It also initializes
                   the environment, leaving DISPLAY and TERM unchanged,
                   setting HOME, SHELL, USER, LOGNAME, and PATH, as well as
                   the contents of /etc/environment on Linux and AIX systems.
                   All other environment variables are removed.</code></pre></div><p>Cordialement,<br />Guy</p>]]></description>
			<author><![CDATA[dummy@example.com (gl38)]]></author>
			<pubDate>Sat, 12 Jan 2013 11:38:00 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12179131#p12179131</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  $HOME trop sweet]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12178941#p12178941</link>
			<description><![CDATA[<p>Réponse aux deux :<br />Sous Debian quand $USERi= root, j&#039;ai toujours $HOME=/root, quelque soit la manière de se connecter.<br />Sous Ubuntu, c&#039;est seulement quand je me connecte au boot.<br />Vous trouvez ça normal ? Comment je peux savoir dans mes scripts comment $HOME va s&#039;expanser ?<br />Quel test faut-il faire&#160; ?</p>]]></description>
			<author><![CDATA[dummy@example.com (gigiair)]]></author>
			<pubDate>Sat, 12 Jan 2013 11:13:18 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12178941#p12178941</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  $HOME trop sweet]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12178811#p12178811</link>
			<description><![CDATA[<p>Ça m&#039;a l&#039;air normal, pour être vraiment root il y a sudo -i ou su.<br />Cordialement,<br />Guy</p>]]></description>
			<author><![CDATA[dummy@example.com (gl38)]]></author>
			<pubDate>Sat, 12 Jan 2013 10:57:31 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12178811#p12178811</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  $HOME trop sweet]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12178761#p12178761</link>
			<description><![CDATA[<p>Bonjour gigiair,</p><p>je ne pense pas que $HOME ne s&#039;expanse pas correctement.<br />je crois que cela provient plutôt de sudo -s.</p><p>Testes ces commandes</p><div class="codebox"><pre><code>ubntjjr@lise:~$ whoami
ubntjjr
ubntjjr@lise:~$ echo $HOME
/home/ubntjjr
ubntjjr@lise:~$ sudo -s
[sudo] password for ubntjjr: 
root@lise:~# whoami
root
root@lise:~# echo $HOME
/home/ubntjjr
ubntjjr@lise:~$ sudo -i
[sudo] password for ubntjjr: 
root@lise:~# whoami
root
root@lise:~# echo $HOME
/root
ubntjjr@lise:~$ sudo su
[sudo] password for ubntjjr: 
root@lise:~# whoami
root
root@lise:~# echo $HOME
/root</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (f.x0)]]></author>
			<pubDate>Sat, 12 Jan 2013 10:51:23 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12178761#p12178761</guid>
		</item>
		<item>
			<title><![CDATA[$HOME trop sweet]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12178701#p12178701</link>
			<description><![CDATA[<p>Sous root, $HOME ne s&#039;expanse pas correctement. (Ubuntu 12.04)</p><div class="codebox"><pre><code>ubntjjr@lise:~$ whoami
ubntjjr
ubntjjr@lise:~$ echo $HOME
/home/ubntjjr
ubntjjr@lise:~$ sudo -s
[sudo] password for ubntjjr: 
root@lise:~# echo $HOME
/home/ubntjjr
root@lise:~# whoami
root</code></pre></div><p> Ça peut être très embêtant . J&#039;ai manqué quelque chose, ou il faut faire un rapport de bug ?</p><p>Si j&#039;initialise une session root depuis le menu grub, je n&#039;ai pas ce souci. $HOME s&#039;expanse en /root.</p>]]></description>
			<author><![CDATA[dummy@example.com (gigiair)]]></author>
			<pubDate>Sat, 12 Jan 2013 10:41:06 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12178701#p12178701</guid>
		</item>
	</channel>
</rss>
