[Linux-cluster] running services as non-root user
Mario Mech
mech at meteo.uni-koeln.de
Fri Jul 3 15:06:13 UTC 2009
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
--
More information about the Linux-cluster
mailing list