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

[Linux-cluster] running services as non-root user



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
--


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