git: 89c82750da1a - main - krb5 ksu: Enable prompt for password

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Mon, 11 Aug 2025 22:13:25 UTC
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/src/commit/?id=89c82750da1ad6a31eea8ccb0a5ca29351a3ee68

commit 89c82750da1ad6a31eea8ccb0a5ca29351a3ee68
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2025-08-11 22:12:09 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2025-08-11 22:12:09 +0000

    krb5 ksu: Enable prompt for password
    
    Enable prompt for password when no TGT is available.
    
    Reported by:    Dan Mahoney <dmahoney@isc.org>
---
 krb5/usr.bin/ksu/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/krb5/usr.bin/ksu/Makefile b/krb5/usr.bin/ksu/Makefile
index 37a4c166aec6..7296ea61b73d 100644
--- a/krb5/usr.bin/ksu/Makefile
+++ b/krb5/usr.bin/ksu/Makefile
@@ -23,7 +23,8 @@ SRCS=	authorization.c \
 	xmalloc.c
 
 CFLAGS+=-I${KRB5_DIR}/include \
-	-I${KRB5_SRCTOP}/include
+	-I${KRB5_SRCTOP}/include \
+	-DGET_TGT_VIA_PASSWD
 
 MAN=	ksu.1