2019-02-19 Fred Gleason <fredg@paravelsystems.com>

* Added 'RnRmlOwner=' and 'RnRmlGroup=' directives to rd.conf(5).
	* Refactored the implementation of the 'Run Shell Command' ['RN']
	RML to use runuser(1).
This commit is contained in:
Fred Gleason
2019-02-19 12:47:18 -05:00
parent 26c9ff87c0
commit 489db27fc9
10 changed files with 126 additions and 29 deletions

View File

@@ -1389,6 +1389,26 @@
<para>
Run the shell command <replaceable>cmd</replaceable>.
</para>
<note>
<para>
The command is actually executed as:
</para>
<para>
<code>
runuser -u <replaceable>user</replaceable>
-g <replaceable>group</replaceable> <replaceable>cmd</replaceable>
</code>
</para>
<para>
where <replaceable>user</replaceable> and
<replaceable>group</replaceable> are the values specified by the
&quot;RnRmlOwner=&quot; and &quot;RnRmlGroup=&quot; directives in
the &quot;[Identity]&quot; section of
<command>rd.conf</command><manvolnum>5</manvolnum>. See the
<command>runuser</command><manvolnum>1</manvolnum> man page for
details concerning handling of the process enironment.
</para>
</note>
</sect2>
<sect2 xml:id="sect.rml.select_widget__pw_">