From 8a5564bd5f373cc6854488327e17e92ea4526416 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Mon, 18 Nov 1996 01:38:26 +0000 Subject: [PATCH] Install otp setuid root. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1042 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/otp/Makefile.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/appl/otp/Makefile.in b/appl/otp/Makefile.in index 6c4cee1d6..a5507fa60 100644 --- a/appl/otp/Makefile.in +++ b/appl/otp/Makefile.in @@ -21,9 +21,9 @@ libdir = $(exec_prefix)/lib libexecdir = $(exec_prefix)/libexec bindir = $(exec_prefix)/bin -PROG_BIN = otp otpprint -PROG_LIBEXEC = -PROGS = $(PROG_BIN) $(PROG_LIBEXEC) +PROG_SUIDBIN = otp +PROG_BIN = otpprint +PROGS = $(PROG_BIN) $(PROG_SUIDBIN) SOURCES_OTP = otp.c SOURCES_OTPPRINT = otpprint.c @@ -42,6 +42,8 @@ all: $(PROGS) install: all $(MKINSTALLDIRS) $(bindir) for x in $(PROG_BIN); do $(INSTALL) $$x $(bindir); done + -for x in $(PROG_SUIDBIN);\ + do $(INSTALL) -o root -m 04555 $$x $(bindir); done uninstall: