<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://lea-linux.org/docs/index.php?action=history&amp;feed=atom&amp;title=Sudo</id>
	<title>Sudo - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://lea-linux.org/docs/index.php?action=history&amp;feed=atom&amp;title=Sudo"/>
	<link rel="alternate" type="text/html" href="https://lea-linux.org/docs/index.php?title=Sudo&amp;action=history"/>
	<updated>2026-04-18T02:54:12Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://lea-linux.org/docs/index.php?title=Sudo&amp;diff=44812&amp;oldid=prev</id>
		<title>Lea : Lea a déplacé la page Admin-admin env-sudo vers Sudo par-dessus une redirection</title>
		<link rel="alternate" type="text/html" href="https://lea-linux.org/docs/index.php?title=Sudo&amp;diff=44812&amp;oldid=prev"/>
		<updated>2023-12-03T20:28:08Z</updated>

		<summary type="html">&lt;p&gt;Lea a déplacé la page &lt;a href=&quot;/documentations/Admin-admin_env-sudo&quot; class=&quot;mw-redirect&quot; title=&quot;Admin-admin env-sudo&quot;&gt;Admin-admin env-sudo&lt;/a&gt; vers &lt;a href=&quot;/documentations/Sudo&quot; title=&quot;Sudo&quot;&gt;Sudo&lt;/a&gt; par-dessus une redirection&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 3 décembre 2023 à 20:28&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;fr&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Aucune différence)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Lea</name></author>
	</entry>
	<entry>
		<id>https://lea-linux.org/docs/index.php?title=Sudo&amp;diff=27785&amp;oldid=prev</id>
		<title>Jiel : licence ; cf page de discussion</title>
		<link rel="alternate" type="text/html" href="https://lea-linux.org/docs/index.php?title=Sudo&amp;diff=27785&amp;oldid=prev"/>
		<updated>2013-06-26T13:42:21Z</updated>

		<summary type="html">&lt;p&gt;licence ; cf page de discussion&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 26 juin 2013 à 13:42&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot;&gt;Ligne 3 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 3 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Lancer des commandes avec les droits de root =&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Lancer des commandes avec les droits de root =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;div class=&quot;leatitre&quot;&amp;gt;Lancer des commandes avec les droits de root&amp;lt;/div&amp;gt;&amp;lt;div class=&quot;leapar&quot;&amp;gt;&lt;/del&gt;par Fred&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/div&amp;gt;&amp;lt;div class=&quot;leadesc&quot;&amp;gt;&lt;/del&gt;Comment exécuter une commande avec les droits de root sans utiliser le suid-bit.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/div&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;par &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Utilisateur:&lt;/ins&gt;Fred&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|Fred]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;----&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Comment exécuter une commande avec les droits de root sans utiliser le suid-bit.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Introduction ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Introduction ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l143&quot;&gt;Ligne 143 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 144 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Copy|Frédéric Bonnaud|16/05/2001|CC-BY&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-NC&lt;/del&gt;-SA}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Copy&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|[[Utilisateur:Fred&lt;/ins&gt;|Frédéric Bonnaud&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/ins&gt;|16/05/2001|CC-BY-SA}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jiel</name></author>
	</entry>
	<entry>
		<id>https://lea-linux.org/docs/index.php?title=Sudo&amp;diff=21965&amp;oldid=prev</id>
		<title>Jiel : balises code</title>
		<link rel="alternate" type="text/html" href="https://lea-linux.org/docs/index.php?title=Sudo&amp;diff=21965&amp;oldid=prev"/>
		<updated>2012-05-21T20:14:09Z</updated>

		<summary type="html">&lt;p&gt;balises code&lt;/p&gt;
&lt;a href=&quot;https://lea-linux.org/docs/index.php?title=Sudo&amp;amp;diff=21965&amp;amp;oldid=19367&quot;&gt;Voir les modifications&lt;/a&gt;</summary>
		<author><name>Jiel</name></author>
	</entry>
	<entry>
		<id>https://lea-linux.org/docs/index.php?title=Sudo&amp;diff=19367&amp;oldid=prev</id>
		<title>Jiel le 27 avril 2011 à 12:23</title>
		<link rel="alternate" type="text/html" href="https://lea-linux.org/docs/index.php?title=Sudo&amp;diff=19367&amp;oldid=prev"/>
		<updated>2011-04-27T12:23:43Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 27 avril 2011 à 12:23&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Ligne 1 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 1 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Category&lt;/del&gt;:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Environnement &lt;/del&gt;système]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Catégorie&lt;/ins&gt;:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Administration &lt;/ins&gt;système]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Lancer des commandes avec les droits de root =&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Lancer des commandes avec les droits de root =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l133&quot;&gt;Ligne 133 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 134 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Voilà, vous savez tout, enfin presque. ;-)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Voilà, vous savez tout, enfin presque. ;-)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;br/&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;br/&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&amp;lt;b&gt;[[Admin-index|@ Retour à la rubrique Administration système]]&amp;lt;/b&gt;&#039;&#039;&#039;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;br/&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&amp;quot;merci&amp;quot;&amp;gt;Cette page est issue de la documentation &amp;#039;pré-wiki&amp;#039; de Léa a été convertie avec HTML::WikiConverter. Elle fut créée par Frédércic Bonnaud le 16/05/2001.&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&amp;quot;merci&amp;quot;&amp;gt;Cette page est issue de la documentation &amp;#039;pré-wiki&amp;#039; de Léa a été convertie avec HTML::WikiConverter. Elle fut créée par Frédércic Bonnaud le 16/05/2001.&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jiel</name></author>
	</entry>
	<entry>
		<id>https://lea-linux.org/docs/index.php?title=Sudo&amp;diff=14539&amp;oldid=prev</id>
		<title>LeaJice : /* Introduction */ typo &amp;lt; remplaçait &lt;</title>
		<link rel="alternate" type="text/html" href="https://lea-linux.org/docs/index.php?title=Sudo&amp;diff=14539&amp;oldid=prev"/>
		<updated>2007-04-29T16:26:58Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Introduction : &lt;/span&gt; typo &amp;lt; remplaçait &amp;lt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 29 avril 2007 à 16:26&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l13&quot;&gt;Ligne 13 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 13 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;qui vous demande le mot de passe root, on peut utiliser l&amp;#039;astuce suivante pour s&amp;#039;en affranchir :&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;qui vous demande le mot de passe root, on peut utiliser l&amp;#039;astuce suivante pour s&amp;#039;en affranchir :&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;su -c /sbin/halt &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;lt; &lt;/del&gt;root.pw&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;su -c /sbin/halt &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt; &lt;/ins&gt;root.pw&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;où &amp;lt;code&amp;gt;root.pw&amp;lt;/code&amp;gt; contient le mot de passe du root, mais cela n&amp;#039;est pas très sûr (si quelqu&amp;#039;un de mal intentionné réussit à lire ce fichier la sécurité de votre système est compromise)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;où &amp;lt;code&amp;gt;root.pw&amp;lt;/code&amp;gt; contient le mot de passe du root, mais cela n&amp;#039;est pas très sûr (si quelqu&amp;#039;un de mal intentionné réussit à lire ce fichier la sécurité de votre système est compromise)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>LeaJice</name></author>
	</entry>
	<entry>
		<id>https://lea-linux.org/docs/index.php?title=Sudo&amp;diff=10260&amp;oldid=prev</id>
		<title>Mike-m : /* Introduction */  lien, &lt;code&gt;, remplacement des listes numérotées</title>
		<link rel="alternate" type="text/html" href="https://lea-linux.org/docs/index.php?title=Sudo&amp;diff=10260&amp;oldid=prev"/>
		<updated>2005-10-30T03:03:51Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Introduction : &lt;/span&gt;  lien, &amp;lt;code&amp;gt;, remplacement des listes numérotées&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 30 octobre 2005 à 03:03&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l9&quot;&gt;Ligne 9 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 9 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Supposons que vous souhaitiez lancer la commande &amp;lt;code&amp;gt;/sbin/halt&amp;lt;/code&amp;gt;, dans ce cas vous avez plusieurs possibilités :&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Supposons que vous souhaitiez lancer la commande &amp;lt;code&amp;gt;/sbin/halt&amp;lt;/code&amp;gt;, dans ce cas vous avez plusieurs possibilités :&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# &lt;/del&gt;vous lancez la commande :&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &lt;/ins&gt;vous lancez la commande :&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;div class=&quot;&lt;/del&gt;code&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot;&lt;/del&gt;&amp;gt;su -c /sbin/halt&amp;lt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;div&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;su -c /sbin/halt&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;code&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;qui vous demande le mot de passe root, on peut utiliser l&amp;#039;astuce suivante pour s&amp;#039;en affranchir :&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;qui vous demande le mot de passe root, on peut utiliser l&amp;#039;astuce suivante pour s&amp;#039;en affranchir :&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;div class=&quot;&lt;/del&gt;code&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot;&lt;/del&gt;&amp;gt;su -c /sbin/halt &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt; &lt;/del&gt;root.pw&amp;lt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;div&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;su -c /sbin/halt &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;lt; &lt;/ins&gt;root.pw&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;où &amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;span class=&quot;&lt;/del&gt;code&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot;&lt;/del&gt;&amp;gt;root.pw&amp;lt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;span&lt;/del&gt;&amp;gt; contient le mot de passe du root, mais cela n&#039;est pas très sûr (si quelqu&#039;un de mal intentionné réussit à lire ce fichier la sécurité de votre système est compromise)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;code&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# &lt;/del&gt;vous pouvez activer le suid-bit (voir : [&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;../dev/&lt;/del&gt;suid_scripts&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.php3 &lt;/del&gt;SUID Scripts]):&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;où &amp;lt;code&amp;gt;root.pw&amp;lt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;code&lt;/ins&gt;&amp;gt; contient le mot de passe du root, mais cela n&#039;est pas très sûr (si quelqu&#039;un de mal intentionné réussit à lire ce fichier la sécurité de votre système est compromise)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;div class=&quot;&lt;/del&gt;code&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot;&lt;/del&gt;&amp;gt;chmod +s /sbin/halt&amp;lt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;div&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &lt;/ins&gt;vous pouvez activer le suid-bit (voir : [&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[Dev-&lt;/ins&gt;suid_scripts&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/ins&gt;SUID Scripts&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/ins&gt;]):&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;(il faut être root pour pouvoir faire cela) &amp;lt;br /&amp;gt; et ensuite, n&#039;importe quelle personne ayant les droits d&#039;exécutions sur &amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;span class=&quot;&lt;/del&gt;code&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot;&lt;/del&gt;&amp;gt;/sbin/halt&amp;lt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;span&lt;/del&gt;&amp;gt; peut lancer cette commande, mais ce n&#039;est pas très pratique (la création de groupe de personne ayant de tels droits va être fastidieuse et, activer des suid-bit pour de multiples fichiers risque d&#039;être encore plus pénible).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;chmod +s /sbin/halt&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# &lt;/del&gt;vous pouvez utiliser sudo, c&#039;est ce que nous allons voir dans la suite de ce document.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;code&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;(il faut être root pour pouvoir faire cela) &amp;lt;br /&amp;gt; et ensuite, n&#039;importe quelle personne ayant les droits d&#039;exécutions sur &amp;lt;code&amp;gt;/sbin/halt&amp;lt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;code&lt;/ins&gt;&amp;gt; peut lancer cette commande, mais ce n&#039;est pas très pratique (la création de groupe de personne ayant de tels droits va être fastidieuse et, activer des suid-bit pour de multiples fichiers risque d&#039;être encore plus pénible).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &lt;/ins&gt;vous pouvez utiliser sudo, c&#039;est ce que nous allons voir dans la suite de ce document.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;La commande &amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;span class=&quot;&lt;/del&gt;code&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot;&lt;/del&gt;&amp;gt;sudo&amp;lt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;span&lt;/del&gt;&amp;gt; est presque toujours fournie avec votre distribution, mais n&#039;est parfois pas installée automatiquement. Le paquetage doit s&#039;appeler &amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;span class=&quot;&lt;/del&gt;code&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot;&lt;/del&gt;&amp;gt;sudo-xxxxxx&amp;lt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;span&lt;/del&gt;&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;La commande &amp;lt;code&amp;gt;sudo&amp;lt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;code&lt;/ins&gt;&amp;gt; est presque toujours fournie avec votre distribution, mais n&#039;est parfois pas installée automatiquement. Le paquetage doit s&#039;appeler &amp;lt;code&amp;gt;sudo-xxxxxx&amp;lt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;code&lt;/ins&gt;&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Exemples d&amp;#039;utilisation ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Exemples d&amp;#039;utilisation ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Mike-m</name></author>
	</entry>
	<entry>
		<id>https://lea-linux.org/docs/index.php?title=Sudo&amp;diff=10016&amp;oldid=prev</id>
		<title>Nicola : /* Copyright */</title>
		<link rel="alternate" type="text/html" href="https://lea-linux.org/docs/index.php?title=Sudo&amp;diff=10016&amp;oldid=prev"/>
		<updated>2005-10-26T12:29:26Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Copyright&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 26 octobre 2005 à 12:29&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l133&quot;&gt;Ligne 133 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 133 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&amp;quot;merci&amp;quot;&amp;gt;Cette page est issue de la documentation &amp;#039;pré-wiki&amp;#039; de Léa a été convertie avec HTML::WikiConverter. Elle fut créée par Frédércic Bonnaud le 16/05/2001.&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&amp;quot;merci&amp;quot;&amp;gt;Cette page est issue de la documentation &amp;#039;pré-wiki&amp;#039; de Léa a été convertie avec HTML::WikiConverter. Elle fut créée par Frédércic Bonnaud le 16/05/2001.&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;= Copyright =&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Copy|Frédéric Bonnaud|16/05/2001|CC-BY-NC-SA}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Copy|Frédéric Bonnaud|16/05/2001|CC-BY-NC-SA}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nicola</name></author>
	</entry>
	<entry>
		<id>https://lea-linux.org/docs/index.php?title=Sudo&amp;diff=10015&amp;oldid=prev</id>
		<title>Nicola : /* Copyright */ modèle + ortho</title>
		<link rel="alternate" type="text/html" href="https://lea-linux.org/docs/index.php?title=Sudo&amp;diff=10015&amp;oldid=prev"/>
		<updated>2005-10-26T12:28:40Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Copyright : &lt;/span&gt; modèle + ortho&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 26 octobre 2005 à 12:28&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l134&quot;&gt;Ligne 134 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 134 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Copyright =&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Copyright =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Copyright &amp;amp;copy; &lt;/del&gt;16/05/2001&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, Fr&amp;amp;eacute;d&amp;amp;eacute;rcic Bonnaud&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Copy|Frédéric Bonnaud|&lt;/ins&gt;16/05/2001&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/ins&gt;CC-BY-NC-SA}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{&lt;/del&gt;CC-BY-NC-SA}}&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nicola</name></author>
	</entry>
	<entry>
		<id>https://lea-linux.org/docs/index.php?title=Sudo&amp;diff=3218&amp;oldid=prev</id>
		<title>PingouinMigrateur : conversion de la documentation originale de Léa par HTML::WikiConverter</title>
		<link rel="alternate" type="text/html" href="https://lea-linux.org/docs/index.php?title=Sudo&amp;diff=3218&amp;oldid=prev"/>
		<updated>2005-09-07T11:09:26Z</updated>

		<summary type="html">&lt;p&gt;conversion de la documentation originale de Léa par HTML::WikiConverter&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 7 septembre 2005 à 11:09&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l132&quot;&gt;Ligne 132 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 132 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&amp;quot;merci&amp;quot;&amp;gt;Cette page est issue de la documentation &amp;#039;pré-wiki&amp;#039; de Léa a été convertie avec HTML::WikiConverter. Elle fut créée par Frédércic Bonnaud le 16/05/2001.&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&amp;quot;merci&amp;quot;&amp;gt;Cette page est issue de la documentation &amp;#039;pré-wiki&amp;#039; de Léa a été convertie avec HTML::WikiConverter. Elle fut créée par Frédércic Bonnaud le 16/05/2001.&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;= Copyright =&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Copyright &amp;amp;copy; 16/05/2001, Fr&amp;amp;eacute;d&amp;amp;eacute;rcic Bonnaud&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{CC-BY-NC-SA}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>PingouinMigrateur</name></author>
	</entry>
	<entry>
		<id>https://lea-linux.org/docs/index.php?title=Sudo&amp;diff=2494&amp;oldid=prev</id>
		<title>PingouinMigrateur : conversion de la documentation originale de Léa par HTML::WikiConverter</title>
		<link rel="alternate" type="text/html" href="https://lea-linux.org/docs/index.php?title=Sudo&amp;diff=2494&amp;oldid=prev"/>
		<updated>2005-09-02T17:06:32Z</updated>

		<summary type="html">&lt;p&gt;conversion de la documentation originale de Léa par HTML::WikiConverter&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Environnement système]]&lt;br /&gt;
= Lancer des commandes avec les droits de root =&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;leatitre&amp;quot;&amp;gt;Lancer des commandes avec les droits de root&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;leapar&amp;quot;&amp;gt;par Fred&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;leadesc&amp;quot;&amp;gt;Comment exécuter une commande avec les droits de root sans utiliser le suid-bit.&amp;lt;/div&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Supposons que vous souhaitiez lancer la commande &amp;lt;code&amp;gt;/sbin/halt&amp;lt;/code&amp;gt;, dans ce cas vous avez plusieurs possibilités :&lt;br /&gt;
&lt;br /&gt;
# vous lancez la commande :&lt;br /&gt;
&amp;lt;div class=&amp;quot;code&amp;quot;&amp;gt;su -c /sbin/halt&amp;lt;/div&amp;gt;&lt;br /&gt;
qui vous demande le mot de passe root, on peut utiliser l&amp;#039;astuce suivante pour s&amp;#039;en affranchir :&lt;br /&gt;
&amp;lt;div class=&amp;quot;code&amp;quot;&amp;gt;su -c /sbin/halt &amp;lt; root.pw&amp;lt;/div&amp;gt;&lt;br /&gt;
où &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;root.pw&amp;lt;/span&amp;gt; contient le mot de passe du root, mais cela n&amp;#039;est pas très sûr (si quelqu&amp;#039;un de mal intentionné réussit à lire ce fichier la sécurité de votre système est compromise)&lt;br /&gt;
# vous pouvez activer le suid-bit (voir : [../dev/suid_scripts.php3 SUID Scripts]):&lt;br /&gt;
&amp;lt;div class=&amp;quot;code&amp;quot;&amp;gt;chmod +s /sbin/halt&amp;lt;/div&amp;gt;&lt;br /&gt;
(il faut être root pour pouvoir faire cela) &amp;lt;br /&amp;gt; et ensuite, n&amp;#039;importe quelle personne ayant les droits d&amp;#039;exécutions sur &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;/sbin/halt&amp;lt;/span&amp;gt; peut lancer cette commande, mais ce n&amp;#039;est pas très pratique (la création de groupe de personne ayant de tels droits va être fastidieuse et, activer des suid-bit pour de multiples fichiers risque d&amp;#039;être encore plus pénible).&lt;br /&gt;
# vous pouvez utiliser sudo, c&amp;#039;est ce que nous allons voir dans la suite de ce document.&lt;br /&gt;
&lt;br /&gt;
La commande &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;sudo&amp;lt;/span&amp;gt; est presque toujours fournie avec votre distribution, mais n&amp;#039;est parfois pas installée automatiquement. Le paquetage doit s&amp;#039;appeler &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;sudo-xxxxxx&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Exemples d&amp;#039;utilisation ==&lt;br /&gt;
&lt;br /&gt;
Si sudo est correctement configuré, vous serez en mesure de taper des commandes de ce type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;code&amp;quot;&amp;gt;sudo /sbin/halt&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
qui lance la commande &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;/sbin/halt&amp;lt;/span&amp;gt; en tant que root (si l&amp;#039;utilisateur qui tape cette commande est autorisé à la lancer par sudo).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;code&amp;quot;&amp;gt;sudo -u fred /etc/ppp/scripts/pppconnect&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
qui lance la commande &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;/etc/ppp/scripts/pppdisconnect&amp;lt;/span&amp;gt; en tant qu&amp;#039;utilisateur &amp;#039;&amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;fred&amp;lt;/span&amp;gt;&amp;#039;. &amp;lt;br /&amp;gt; Il faut savoir que chacune de ces commandes peut (ou peut ne pas) nous demander le mot de passe de l&amp;#039;utilisateur pour lequel nous voulons nous faire passer. Comme vous pouvez le constater c&amp;#039;est très simple à utiliser. &amp;lt;br /&amp;gt; La commande sudo est beaucoup plus sophistiquée que cela, cette commande :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;code&amp;quot;&amp;gt;sudo su fred&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
peut être autorisée, alors que :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;code&amp;quot;&amp;gt;sudo su root&amp;lt;br /&amp;gt; sudo su fred -c ls&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ne le sont pas : c&amp;#039;est très souple à configurer.&lt;br /&gt;
&lt;br /&gt;
== Comment ça marche ? ==&lt;br /&gt;
&lt;br /&gt;
Le plus complexe est de configurer correctement &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;sudo&amp;lt;/span&amp;gt;. La configuration passe par l&amp;#039;édition du fichier &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;/etc/sudoers&amp;lt;/span&amp;gt; (voir &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;man sudoers&amp;lt;/span&amp;gt;). La syntaxe est relativement simple, mais la page de man n&amp;#039;est pas très claire pour un non anglophone. Normalement l&amp;#039;édition de ce fichier passe par l&amp;#039;utilitaire &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;visudo&amp;lt;/span&amp;gt; qui vérifie la syntaxe de ce fichier. On peut (normalement, mais pas avec la Mandrake 8.0) utiliser l&amp;#039;éditeur que l&amp;#039;on veut en conjonction avec &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;visudo&amp;lt;/span&amp;gt; en tapant :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;code&amp;quot;&amp;gt;EDITOR=&amp;quot;/usr/bin/monediteur&amp;quot; visudo&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mais, contrairement à ce que prétend la documentation de sudo, il n&amp;#039;est pas obligatoire de passer par &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;visudo&amp;lt;/span&amp;gt; pour éditer ce fichier, n&amp;#039;importe quel éditeur fera l&amp;#039;affaire, en tous cas avec la Mandrake 8.0. &amp;lt;br /&amp;gt; Ces préliminaires étant dits, passons à :&lt;br /&gt;
&lt;br /&gt;
=== La syntaxe. ===&lt;br /&gt;
&lt;br /&gt;
Dans un premier temps nous devons définir des groupes d&amp;#039;utilisateurs qui auront tous les mêmes droits (cela n&amp;#039;est pas obligatoire, mais simplifie l&amp;#039;administration d&amp;#039;un système ayant beaucoup d&amp;#039;utilisateurs potentiels). Pour cela il suffit de mettre dans /etc/sudoers une ligne du type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;code&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: bold;&amp;quot;&amp;gt;User_Alias&amp;lt;/span&amp;gt;    NOM_DU_GROUP = user1, user2, ... , usern&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;text-decoration: underline;&amp;quot;&amp;gt;Exemples :&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;code&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: bold;&amp;quot;&amp;gt;User_Alias&amp;lt;/span&amp;gt;    PPPUSERS = fred, bibi, jice, serge &amp;lt;br /&amp;gt;&amp;lt;span style=&amp;quot;font-weight: bold;&amp;quot;&amp;gt;User_Alias&amp;lt;/span&amp;gt;    HALTUSERS = fred, bibi &amp;lt;br /&amp;gt;&amp;lt;span style=&amp;quot;font-weight: bold;&amp;quot;&amp;gt;User_Alias&amp;lt;/span&amp;gt;    ROOT_FRIENDS = jice, serge, fred&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ensuite, nous allons avoir besoin de groupe de machines (dans le cas où vous comptez donner des droits à des utilisateurs qui sont connectés depuis divers endroits). La syntaxe est :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;code&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: bold;&amp;quot;&amp;gt;Host_Alias&amp;lt;/span&amp;gt;    NOM_DU_GROUP = host1, host2, ... , hostn&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;text-decoration: underline;&amp;quot;&amp;gt;Exemples :&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;code&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: bold;&amp;quot;&amp;gt;Host_Alias&amp;lt;/span&amp;gt;    ICI = localhost, 192.168.1.1, ma.machine.fr &amp;lt;br /&amp;gt;&amp;lt;span style=&amp;quot;font-weight: bold;&amp;quot;&amp;gt;Host_Alias&amp;lt;/span&amp;gt;    LABAS = www.tuxfamily.org, talk.revolink.com, 233.12.66.4 &amp;lt;br /&amp;gt;&amp;lt;span style=&amp;quot;font-weight: bold;&amp;quot;&amp;gt;Host_Alias&amp;lt;/span&amp;gt;    WWW = www*, mail*, pop*, *fr&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Le groupe WWW contient toutes les machines dont les noms commencent par www, mail et pop ou finissent par fr).&lt;br /&gt;
&lt;br /&gt;
Puis, il faut créer un groupe contenant les utilisateurs pour lesquels on souhaite se faire passer :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;code&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: bold;&amp;quot;&amp;gt;Runas_Alias&amp;lt;/span&amp;gt;    NOM_DU_GROUP = user1, ... , usern&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;text-decoration: underline;&amp;quot;&amp;gt;Exemple :&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;code&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: bold;&amp;quot;&amp;gt;Runsas_Alias&amp;lt;/span&amp;gt;    USERPPP = pppuser, serialuser&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Enfin, on peut grouper les commandes que l&amp;#039;on va autoriser à exécuter pour le compte de quelqu&amp;#039;un d&amp;#039;autre :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;code&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: bold;&amp;quot;&amp;gt;Cmnd_Alias&amp;lt;/span&amp;gt;    NOM_DU_GROUP = cmd1, ... , cmdn&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;text-decoration: underline;&amp;quot;&amp;gt;Exemples :&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;code&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-weight: bold;&amp;quot;&amp;gt;Cmnd_Alias&amp;lt;/span&amp;gt;    STOPPC = /sbin/halt, /sbin/reboot,  !/sbin/shutdown -*, /sbin/shutdown -r, /sbin/shutdown -h &amp;lt;br /&amp;gt;&amp;lt;span style=&amp;quot;font-weight: bold;&amp;quot;&amp;gt;Cmnd_Alias&amp;lt;/span&amp;gt;    PPPCMD = /etc/ppp/scripts/pppconnect, /etc/ppp/scripts/pppdisconnect&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cela regroupe les commandes &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;/sbin/halt&amp;lt;/span&amp;gt;, &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;/sbin/reboot&amp;lt;/span&amp;gt; et &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;/sbin/shutdown&amp;lt;/span&amp;gt; mais uniquement si celui-ci est suivi de &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;-r&amp;lt;/span&amp;gt; ou &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;-h&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;halt&amp;lt;/span&amp;gt; ou &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;reboot&amp;lt;/span&amp;gt; tout de suite) aucune autre option ne sera acceptée (c&amp;#039;est le &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;!&amp;lt;/span&amp;gt; qui veut dire &amp;#039;pas&amp;#039; la commande décrite par &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;/sbin/shutdown -*&amp;lt;/span&amp;gt; , ie: toute commande &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;shutdown&amp;lt;/span&amp;gt; ayant une option).&lt;br /&gt;
&lt;br /&gt;
Maintenant, donnons des droits par :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;code&amp;quot;&amp;gt;GROUPE_DE_USER    GROUPE_D_HOST = &amp;lt;span style=&amp;quot;text-decoration: underline;&amp;quot;&amp;gt;(GROUPE_DE_RUNAS)NOPASSWD:&amp;lt;/span&amp;gt; GROUPE_DE_COMMANDES&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Le &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;NOPASSWD:&amp;lt;/span&amp;gt; est facultatif : il signifie que le mot de passe de l&amp;#039;utilisateur pour lequel on veut se faire passer ne sera pas demandé ; si &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;(GROUP_DE_RUNAS)&amp;lt;/span&amp;gt; est omis c&amp;#039;est que l&amp;#039;on n&amp;#039;autorise qu&amp;#039;à se faire passer pour root). &amp;lt;br /&amp;gt;&amp;lt;span style=&amp;quot;text-decoration: underline;&amp;quot;&amp;gt;Exemples :&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;code&amp;quot;&amp;gt;fred    localhost = (&amp;lt;span style=&amp;quot;font-weight: bold;&amp;quot;&amp;gt;ALL&amp;lt;/span&amp;gt;) &amp;lt;span style=&amp;quot;font-weight: bold;&amp;quot;&amp;gt;ALL&amp;lt;/span&amp;gt;, (root) !&amp;lt;span style=&amp;quot;font-weight: bold;&amp;quot;&amp;gt;ALL&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
signifie que fred peut lancer pour le compte de n&amp;#039;importe qui (premier &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;ALL&amp;lt;/span&amp;gt;) n&amp;#039;importe quelle commande (second &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;ALL&amp;lt;/span&amp;gt;), sauf qu&amp;#039;il ne peut lancer aucune commande pour le compte de &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;root&amp;lt;/span&amp;gt; (&amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;!ALL&amp;lt;/span&amp;gt;). Mais cela n&amp;#039;est qu&amp;#039;un exemple n&amp;#039;utilisant pas les groupes; réparons cet oubli :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;code&amp;quot;&amp;gt;PPPUSERS    MONRESEAU = (USERPPP) &amp;lt;span style=&amp;quot;font-weight: bold;&amp;quot;&amp;gt;NOPASSWD&amp;lt;/span&amp;gt;&amp;lt;nowiki&amp;gt;: /sbin/pppd, PPPCMD&amp;lt;/nowiki&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
tous les utilisateurs listés dans &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;PPPUSERS&amp;lt;/span&amp;gt;, s&amp;#039;ils se connectent depuis une machine listée dans &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;MONRESEAU&amp;lt;/span&amp;gt;, peuvent se faire passer pour un utilisateur listé dans &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;USERPPP&amp;lt;/span&amp;gt; pour exécuter &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;/sbin/ppp&amp;lt;/span&amp;gt; ou une commande listée dans &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;PPPCMD&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;code&amp;quot;&amp;gt;john           ALPHA = /usr/bin/su [!-]*, !/usr/bin/su *root*&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
L&amp;#039;utilisateur john peut lancer la commande &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;su&amp;lt;/span&amp;gt; depuis une machine listée dans &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;ALPHA&amp;lt;/span&amp;gt; mais pas &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;su&amp;lt;/span&amp;gt; tout seul, ni &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;su root&amp;lt;/span&amp;gt; ni &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;su&amp;lt;/span&amp;gt; suivi d&amp;#039;un quelconque flag (&amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt; [!-]* &amp;lt;/span&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;code&amp;quot;&amp;gt;+secretaires    LOCALE = PRINTING_CMDS, /usr/sbin/adduser [A-z]*&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
un &amp;#039;+&amp;#039; devant un nom &amp;#039;d&amp;#039;utilisateur&amp;#039; signifie qu&amp;#039;il faut considérer les personnes appartennant à ce groupe (au sens unix du terme : c&amp;#039;est à dire listées dans &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;/etc/group&amp;lt;/span&amp;gt;), ici les personnes appartenant au groupe &amp;#039;secretaires&amp;#039; (dans &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;/etc/group&amp;lt;/span&amp;gt;, il y a une ligne : &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;secretaire:xxxx:user1, user2,... ,usern&amp;lt;/span&amp;gt; : ce sont les utilisateurs &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;user1&amp;lt;/span&amp;gt; à &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;usern&amp;lt;/span&amp;gt; qui sont considérés) ont droit de lancer les commandes du groupe &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;PRINTINGCMDS&amp;lt;/span&amp;gt; ainsi que la commande &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;/usr/sbin/adduser&amp;lt;/span&amp;gt; pourvu que celui-ci soit suivi d&amp;#039;un nom d&amp;#039;utilisateur.&lt;br /&gt;
&lt;br /&gt;
Vous trouverez plus d&amp;#039;exemples dans &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;man sudoers&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Mon &amp;lt;code&amp;gt;/etc/sudoers&amp;lt;/code&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Voilà mon /etc/sudoers :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;code&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;# sudoers file. &amp;lt;/nowiki&amp;gt;&amp;lt;br /&amp;gt; # &amp;lt;br /&amp;gt; # Host alias specification &amp;lt;br /&amp;gt; Host_Alias ICI = localhost &amp;lt;br /&amp;gt; Host_Alias LOCALNET = 192.168.1.* &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt; # User alias specification &amp;lt;br /&amp;gt; User_Alias ROOT_FRIENDS = fred, bibi &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt; # Cmnd alias specification &amp;lt;br /&amp;gt; Cmnd_Alias SOUND = /usr/bin/xmms &amp;lt;br /&amp;gt; Cmnd_Alias SHUTDOWN = /sbin/shutdown, \ &amp;lt;br /&amp;gt;                       /sbin/halt, \ &amp;lt;br /&amp;gt;                       /sbin/reboot &amp;lt;br /&amp;gt; Cmnd_Alias PPPCMD = /etc/ppp/scripts/pppconnect, \ &amp;lt;br /&amp;gt;                     /etc/ppp/scripts/pppdisconnect &amp;lt;br /&amp;gt; Cmnd_Alias PRINTINGCMDS = /usr/bin/lpq, \ &amp;lt;br /&amp;gt;  /usr/bin/lprm &amp;lt;br /&amp;gt; # Runas alias specification &amp;lt;br /&amp;gt; # User privilege specification &amp;lt;br /&amp;gt; # root peut tout ! &amp;lt;br /&amp;gt; root ALL=(ALL) ALL &amp;lt;br /&amp;gt; # Les amis de root peuvent lancer les commandes &amp;lt;br /&amp;gt; # du groupe SHUTDOWN &amp;lt;br /&amp;gt; ROOT_FRIENDS ICI = NOPASSWD: SHUTDOWN &amp;lt;br /&amp;gt; # ils peuvent aussi administrer l&amp;#039;imprimante (mais sous &amp;lt;br /&amp;gt; # le compte de lpadmin, avec un mot de passe) : &amp;lt;br /&amp;gt; ROOT_FRIENDS ICI = PRINTINGCMDS &amp;lt;br /&amp;gt; # tout le monde peux lancer xmms avec les droit de root (pour le &amp;lt;br /&amp;gt; # mode &amp;#039;temps réel&amp;#039;) en local &amp;lt;br /&amp;gt; ALL ICI = NOPASSWD: SOUND &amp;lt;br /&amp;gt; # tout le monde sur le réseau local peut demander l&amp;#039;établisement &amp;lt;br /&amp;gt; # de la liaison internet &amp;lt;br /&amp;gt; ALL LOCALNET = NOPASSWD: PPPCMD &amp;lt;br /&amp;gt;  &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Il n&amp;#039;est pas très complexe, mais permet d&amp;#039;éviter de mettre des programmes suid (c&amp;#039;est toujours dangereux) !&lt;br /&gt;
&lt;br /&gt;
=== Vérification de /etc/sudoers. ===&lt;br /&gt;
&lt;br /&gt;
Pour éditer &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;/etc/sudoers&amp;lt;/span&amp;gt; le programme approprié est &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;visudo&amp;lt;/span&amp;gt; (en fait c&amp;#039;est vi, emballé dans un programme pour vérifier la syntaxe du fichier. Mais, souvant vous préférerez éditer ce fichier avec votre éditeur préféré. Seulement, comment voir si la syntaxe de ce fichier est correcte ? C&amp;#039;est simple, après avoir modifié &amp;lt;span class=&amp;quot;code&amp;quot;&amp;gt;/etc/sudoers&amp;lt;/span&amp;gt;, tapez :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;code&amp;quot;&amp;gt;sudo -v&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Si rien ne s&amp;#039;affiche : il est correcte, sinon vous obtiendrez quelque chose comme :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;code&amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;gt; sudoers file: syntax error, line 18 &amp;lt;&amp;lt;&amp;lt;&amp;lt;br /&amp;gt; sudo: parse error in /etc/sudoers near line 18 &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Voilà, vous savez tout, enfin presque. ;-)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;merci&amp;quot;&amp;gt;Cette page est issue de la documentation &amp;#039;pré-wiki&amp;#039; de Léa a été convertie avec HTML::WikiConverter. Elle fut créée par Frédércic Bonnaud le 16/05/2001.&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>PingouinMigrateur</name></author>
	</entry>
</feed>