<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://lea-linux.org/docs/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Nix818</id>
	<title>Lea Linux - Contributions [fr]</title>
	<link rel="self" type="application/atom+xml" href="https://lea-linux.org/docs/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Nix818"/>
	<link rel="alternate" type="text/html" href="https://lea-linux.org/documentations/Sp%C3%A9cial:Contributions/Nix818"/>
	<updated>2026-04-28T13:45:24Z</updated>
	<subtitle>Contributions</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://lea-linux.org/docs/index.php?title=Discussion:Chroot&amp;diff=13168</id>
		<title>Discussion:Chroot</title>
		<link rel="alternate" type="text/html" href="https://lea-linux.org/docs/index.php?title=Discussion:Chroot&amp;diff=13168"/>
		<updated>2006-07-30T10:39:06Z</updated>

		<summary type="html">&lt;p&gt;Nix818 : quotas, réseau?&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== marche pas ==&lt;br /&gt;
&lt;br /&gt;
j&#039;ai testé la procédure en manuel et le script&lt;br /&gt;
lors du logging j&#039;ai le message d&#039;erreur&lt;br /&gt;
/usr/sbin/chroot: cannot run command `/bin/bash&#039;: No such file or directory&lt;br /&gt;
méthode incompléte ?, erreur ?&lt;br /&gt;
qui as une solution ?&lt;br /&gt;
merci par avance&lt;br /&gt;
nota : ai testé sur mandriva 2006, suse 10.1, kubuntu breezy, fedora core  4&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== pb avec la commande LDD et AWK ==&lt;br /&gt;
&lt;br /&gt;
le code suivant ne fonctionne pas correctement (mandriva 2006) :&lt;br /&gt;
&lt;br /&gt;
ldd /bin/$I | awk -v &amp;quot;LOGIN=$LOGIN&amp;quot; &#039;{ print &amp;quot;cp &amp;quot;$3 $REP&amp;quot;/&amp;quot;LOGIN&amp;quot;/lib/&amp;quot; }&#039; | bash&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
$REP renvoit (dans le print) un des trois type d&#039;affichage &lt;br /&gt;
&lt;br /&gt;
        linux-gate.so.1 =&amp;gt;  (0xffffe000)&lt;br /&gt;
&lt;br /&gt;
        libc.so.6 =&amp;gt; /lib/tls/libc.so.6 (0xb7e56000)&lt;br /&gt;
&lt;br /&gt;
        /lib/ld-linux.so.2 (0xb7f9b000)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$3 renvoit en réponse :&lt;br /&gt;
&lt;br /&gt;
 (0xffffe000)&lt;br /&gt;
&lt;br /&gt;
/lib/tls/libc.so.6 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;vide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Création du script /bin/chroot par un &#039;document en ligne&#039; (here document) ==&lt;br /&gt;
&lt;br /&gt;
Est-ce que ces lignes du script final :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
cat &amp;lt; /bin/chroot&lt;br /&gt;
    #!/bin/bash&lt;br /&gt;
    exec -c /usr/sbin/chroot /home/chroot\$USER /bin/bash&lt;br /&gt;
    EOF&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ne devraient pas être remplacées par ceci :&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
cat&amp;lt;&amp;lt;&#039;EOF&#039;&lt;br /&gt;
    #!/bin/bash&lt;br /&gt;
    exec -c /usr/sbin/chroot /home/chroot/$USER   /bin/bash&lt;br /&gt;
    EOF&lt;br /&gt;
}&amp;gt;/bin/chroot&lt;br /&gt;
&lt;br /&gt;
== quotas, réseau? ==&lt;br /&gt;
&lt;br /&gt;
Hello!&lt;br /&gt;
J&#039;ai suivi en grande partie ton tuto. Mais j&#039;ai 2-3 soucis maintenant:&lt;br /&gt;
1- comment faire pour les quotas?&lt;br /&gt;
2- je n&#039;ai pas de réseau dans mon espace chrooté :/ plutôt génant...&lt;br /&gt;
&lt;br /&gt;
Merci d&#039;avance!&lt;br /&gt;
&lt;br /&gt;
@@++&lt;/div&gt;</summary>
		<author><name>Nix818</name></author>
	</entry>
	<entry>
		<id>https://lea-linux.org/docs/index.php?title=Discussion:Quotas_sur_les_syst%C3%A8me_de_fichiers&amp;diff=13167</id>
		<title>Discussion:Quotas sur les système de fichiers</title>
		<link rel="alternate" type="text/html" href="https://lea-linux.org/docs/index.php?title=Discussion:Quotas_sur_les_syst%C3%A8me_de_fichiers&amp;diff=13167"/>
		<updated>2006-07-30T10:36:19Z</updated>

		<summary type="html">&lt;p&gt;Nix818 : Chroot&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Chroot ==&lt;br /&gt;
&lt;br /&gt;
Hello!&lt;br /&gt;
serait-il possible d&#039;avoir une doc de ce genre pour un quota appliqué dans un espace chrooté?&lt;br /&gt;
&lt;br /&gt;
Merci d&#039;avance, ce tuto m&#039;a été utile pour les quotas &amp;quot;normaux&amp;quot; ;)&lt;/div&gt;</summary>
		<author><name>Nix818</name></author>
	</entry>
</feed>