<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kb.rvmgroup.it/index.php?action=history&amp;feed=atom&amp;title=Eseguire_shell_script_da_CFEngine</id>
	<title>Eseguire shell script da CFEngine - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://kb.rvmgroup.it/index.php?action=history&amp;feed=atom&amp;title=Eseguire_shell_script_da_CFEngine"/>
	<link rel="alternate" type="text/html" href="https://kb.rvmgroup.it/index.php?title=Eseguire_shell_script_da_CFEngine&amp;action=history"/>
	<updated>2026-05-06T02:38:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://kb.rvmgroup.it/index.php?title=Eseguire_shell_script_da_CFEngine&amp;diff=6079&amp;oldid=prev</id>
		<title>Gabriele.vivinetto: New page: Per eseguire comandi shell, usare l&#039;azione &#039;&#039;&#039;shellcommands&#039;&#039;&#039; coi seguenti parametri:  &lt;pre&gt;      shellcommands:              class::                &quot;command-string&quot;                      ...</title>
		<link rel="alternate" type="text/html" href="https://kb.rvmgroup.it/index.php?title=Eseguire_shell_script_da_CFEngine&amp;diff=6079&amp;oldid=prev"/>
		<updated>2009-02-18T13:53:33Z</updated>

		<summary type="html">&lt;p&gt;New page: Per eseguire comandi shell, usare l&amp;#039;azione &amp;#039;&amp;#039;&amp;#039;shellcommands&amp;#039;&amp;#039;&amp;#039; coi seguenti parametri:  &amp;lt;pre&amp;gt;      shellcommands:              class::                &amp;quot;command-string&amp;quot;                      ...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Per eseguire comandi shell, usare l&amp;#039;azione &amp;#039;&amp;#039;&amp;#039;shellcommands&amp;#039;&amp;#039;&amp;#039; coi seguenti parametri:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     shellcommands:&lt;br /&gt;
     &lt;br /&gt;
       class::&lt;br /&gt;
     &lt;br /&gt;
         &amp;quot;command-string&amp;quot;&lt;br /&gt;
     &lt;br /&gt;
               timeout=seconds&lt;br /&gt;
               useshell=true/false&lt;br /&gt;
               umask=octal number&lt;br /&gt;
               owner=uid&lt;br /&gt;
               group=gid&lt;br /&gt;
     &lt;br /&gt;
               background=false/true&lt;br /&gt;
               chdir=directory&lt;br /&gt;
               chroot=directory&lt;br /&gt;
               preview=true/false&lt;br /&gt;
               inform=false/true&lt;br /&gt;
               audit=true/on/false/off&lt;br /&gt;
     &lt;br /&gt;
               noabspath=false/true&lt;br /&gt;
     &lt;br /&gt;
               ifelapsed=mins&lt;br /&gt;
               expireafter=mins&lt;br /&gt;
     &lt;br /&gt;
               define=class-list&lt;br /&gt;
               elsedefine=class-list&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ad esempio, per compilare la canonical_maps di postfix:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
shellcommands:&lt;br /&gt;
       postfixlocal::&lt;br /&gt;
&lt;br /&gt;
         &amp;quot;/usr/sbin/postmap canonical_maps&amp;quot;&lt;br /&gt;
               chdir=/etc/postfix&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Riferimenti==&lt;br /&gt;
*[http://www.cfengine.org/docs/cfengine-Reference.html#shellcommands Cfengine v2 reference:ShellCommands]&lt;/div&gt;</summary>
		<author><name>Gabriele.vivinetto</name></author>
	</entry>
</feed>