According to Long, Charles:
> I have a question about the "Sudo Configuration" section of the install
> docs. Do "zeoctl" and "zopectl" need to be added to the list of
> passwordless sudo commands for the zenoss user? On 0.22.1 I was
> prompted for a password by sudo during zenoss startup until I added
> these commands into my sudoers file as well.
I think this is an oversight in $ZENHOME/bin/zenoss. I have the
following patch installed:
-8<--------------------------------------------------
[EMAIL PROTECTED]:~/bin$ svn diff zenoss
Index: zenoss
===================================================================
--- zenoss (revision 2158)
+++ zenoss (working copy)
@@ -50,11 +50,7 @@
for cmd in $CMDS
do
echo -n "Daemon: $cmd "
- if echo $cmd | grep -q ctl; then
- sudo $ZENHOME/bin/$cmd "$FUNC"
- else
- $ZENHOME/bin/$cmd "$FUNC"
- fi
+ $ZENHOME/bin/$cmd "$FUNC"
done
}
-8<--------------------------------------------------
The sudo functionality is now moved into the scripts like "zenping" or
"zensyslog".
\wlang{}
--
[EMAIL PROTECTED] Fax: +43/1/31336/9207
Zentrum fuer Informatikdienste, Wirtschaftsuniversitaet Wien, Austria
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users