[Ultrapossum-cvs 825] ultrapossum/module/failover ...

Back to archive index

Masato Taruishi taru****@users*****
2004年 10月 12日 (火) 22:24:50 JST


===================================================================
RCS file: ultrapossum/module/failover/nfs.monitor,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ultrapossum/module/failover/nfs.monitor	2004/10/12 09:42:09	1.2
+++ ultrapossum/module/failover/nfs.monitor	2004/10/12 13:24:50	1.3
@@ -45,6 +45,6 @@
     fi
 fi
 
-$MODULEDIR/failover/statuscpy 2>&1 | logger -p user.err &
+sudo $MODULEDIR/failover/statuscpy 2>&1 | logger -p user.err &
 
 exit 0
===================================================================
RCS file: ultrapossum/module/failover/update-failover,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- ultrapossum/module/failover/update-failover	2004/10/10 19:44:55	1.20
+++ ultrapossum/module/failover/update-failover	2004/10/12 13:24:50	1.21
@@ -48,6 +48,7 @@
       progress "Registering $MONUSER as sudoers... "
       add_startmark "##" $monid > $tmp
       echo "$MONUSER ALL = (ALL) NOPASSWD: $MODULEDIR/server/startup" >> $tmp
+      echo "$MONUSER ALL = (ALL) NOPASSWD: $MODULEDIR/failover/statuscpy" >> $tmp
       add_endmark "##" $monid >> $tmp
       add_end_vaconf $SUDOERS $tmp $monid
       chmod 440 $SUDOERS



Ultrapossum-cvs メーリングリストの案内
Back to archive index