diff options
author | nectar <nectar@FreeBSD.org> | 2002-05-12 03:17:31 +0000 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2002-05-12 03:17:31 +0000 |
commit | 73258fd6a3349feb1f1845601daafed78942dad6 (patch) | |
tree | ed1f72a3e0ac8f3a2db00a192a5ae26ab9fce279 /kerberos5 | |
parent | 97d1ceb026da29c02c2162f8aa0238ee89b18ab7 (diff) | |
download | FreeBSD-src-73258fd6a3349feb1f1845601daafed78942dad6.zip FreeBSD-src-73258fd6a3349feb1f1845601daafed78942dad6.tar.gz |
Turn on the set-user-ID bit for k5su if ENABLE_SUID_K5SU is defined.
Diffstat (limited to 'kerberos5')
-rw-r--r-- | kerberos5/usr.bin/k5su/Makefile | 4 | ||||
-rw-r--r-- | kerberos5/usr.bin/ksu/Makefile | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/kerberos5/usr.bin/k5su/Makefile b/kerberos5/usr.bin/k5su/Makefile index e510dff..bb29a52 100644 --- a/kerberos5/usr.bin/k5su/Makefile +++ b/kerberos5/usr.bin/k5su/Makefile @@ -22,7 +22,9 @@ LDADD= -L${KRB5OBJDIR} -lkrb5 \ -L${ASN1OBJDIR} -lasn1 -lcrypto -lmd -lcrypt -lcom_err DPADD= ${LIBKRB5} ${LIBKAFS5} ${LIBROKEN} ${_krb4deps} \ ${LIBASN1} ${LIBCRYPTO} ${LIBMD} ${LIBCRYPT} ${LIBCOM_ERR} -#BINMODE=4555 +.if defined(ENABLE_SUID_K5SU) +BINMODE=4555 +.endif INSTALLFLAGS=-fschg .include <bsd.prog.mk> diff --git a/kerberos5/usr.bin/ksu/Makefile b/kerberos5/usr.bin/ksu/Makefile index e510dff..bb29a52 100644 --- a/kerberos5/usr.bin/ksu/Makefile +++ b/kerberos5/usr.bin/ksu/Makefile @@ -22,7 +22,9 @@ LDADD= -L${KRB5OBJDIR} -lkrb5 \ -L${ASN1OBJDIR} -lasn1 -lcrypto -lmd -lcrypt -lcom_err DPADD= ${LIBKRB5} ${LIBKAFS5} ${LIBROKEN} ${_krb4deps} \ ${LIBASN1} ${LIBCRYPTO} ${LIBMD} ${LIBCRYPT} ${LIBCOM_ERR} -#BINMODE=4555 +.if defined(ENABLE_SUID_K5SU) +BINMODE=4555 +.endif INSTALLFLAGS=-fschg .include <bsd.prog.mk> |