Google
  Web www.spinics.net

running services as non-root user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi,

in my cluster environment some services need to run as a non-root user. What are the necessary settings?

Settings in my cluster.conf like

<script file="/data/cluster/scripts/cluster_get_grid_ecmwf_globe" name="Get grid/ECMWF_Globe" user="ninjoadm"/>

(not accepted by system-config-cluster) and in /usr/share/cluster/scripts.sh

<parameter name="user" unique="0" required="0">
<longdesc lang="en">
User name
</longdesc>
<shortdesc lang="en">
User name
</shortdesc>
<content type="string"/>
</parameter>

su - ${OCF_RESKEY_user} -c "${OCF_RESKEY_file} $1"

didn't succeed. The services are startet but as root.

Is it the wrong way?

Thank you

Mario
--

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Linux RAID]     [Fedora Users]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]

Add to Google Powered by Linux