Commit a0bb7954 authored by Mike Hibler's avatar Mike Hibler

Install "runsuid" binary on ops so that we can do setuid perl scripts there.

parent 439809ba
......@@ -35,6 +35,7 @@ SBINS = genlastlog lastlog_daemon
SETUID_BIN_SCRIPTS =
SETUID_SBIN_SCRIPTS =
SETUID_LIBX_PROGS = suexec runsuid
SETUID_CTRL_LIBX_PROGS = runsuid
#
# Force dependencies on the scripts so that they will be rerun through
......@@ -72,10 +73,12 @@ install: $(addprefix $(INSTALL_LIBEXECDIR)/, $(BINS)) \
post-install:
@echo "post-install no longer required"
#
# Control node installation (okay, plastic)
#
control-install:
control-install: $(addprefix $(INSTALL_DIR)/opsdir/libexec/, $(SETUID_CTRL_LIBX_PROGS))
$(INSTALL_DIR)/opsdir/libexec/runsuid: runsuid
echo "Installing (setuid) $<"
-mkdir -p $(INSTALL_DIR)/opsdir/libexec
$(SUDO) $(INSTALL) -o root -m 4755 $< $@
clean:
rm -f *.o genlastlog suexec runsuid core
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment