2020-10-27 Fred Gleason <fredg@paravelsystems.com>

* Removed the runuser(1) dependency.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2020-10-27 15:03:17 -04:00
parent 6b976459ec
commit 7daa4fc419
4 changed files with 6 additions and 21 deletions

View File

@ -20510,3 +20510,5 @@
2020-10-27 Fred Gleason <fredg@paravelsystems.com>
* Refactored the 'Run Script' ['RN'] RML to invoke scripts via
the system shell.
2020-10-27 Fred Gleason <fredg@paravelsystems.com>
* Removed the runuser(1) dependency.

View File

@ -270,14 +270,6 @@ AC_CHECK_HEADER(soundtouch/SoundTouch.h,[],[AC_MSG_ERROR([*** SoundTouch not fou
AM_PATH_PYTHON([3])
AC_SUBST(PYTHON_BASE_DEP,"python"`echo $PYTHON_VERSION | sed -e s/3./3/`)
#
# Check for runuser(1)
#
AC_PATH_PROG(RUNUSER_PATH,runuser)
if test -z $RUNUSER_PATH ; then
AC_MSG_ERROR([*** runuser(1) not found ***])
fi
#
# Check for FLAC
#

View File

@ -1476,18 +1476,14 @@
</para>
<para>
<code>
runuser -u <replaceable>user</replaceable>
-g <replaceable>group</replaceable> <replaceable>cmd</replaceable>
</code>
/bin/sh -c <replaceable>cmd</replaceable>
</code>
</para>
<para>
where <replaceable>user</replaceable> and
<replaceable>group</replaceable> are the values specified by the
using the user and group 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.
<command>rd.conf</command><manvolnum>5</manvolnum>.
</para>
</note>
</sect2>

View File

@ -50,10 +50,5 @@ extern "C" {
#define RD_PYPAD_PYTHON_PATH "@PYTHON@"
#define RD_PYPAD_SCRIPT_DIR "@libdir@/rivendell/pypad"
/*
* runuser(1)
*/
#define RD_RUNUSER "@RUNUSER_PATH@"
#endif // RDPATHS_H