summaryrefslogtreecommitdiffstats
path: root/libexec/rshd/Makefile
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2000-10-12 07:18:20 +0000
committerru <ru@FreeBSD.org>2000-10-12 07:18:20 +0000
commit1324e3deb9c9197e7d69099fb8758c7d54d0f5be (patch)
tree964659063131c415593364192333bf5923087584 /libexec/rshd/Makefile
parent414c058837b9d2fbccd28162d18019ff808d369d (diff)
downloadFreeBSD-src-1324e3deb9c9197e7d69099fb8758c7d54d0f5be.zip
FreeBSD-src-1324e3deb9c9197e7d69099fb8758c7d54d0f5be.tar.gz
Removed broken PAM support from rshd(8) and rlogind(8). rshd does
not allocate a pty(4) so it is not suitable at all for interactive PAM modules. rlogind calls login(1) which is already PAM enabled. Approved by: markm
Diffstat (limited to 'libexec/rshd/Makefile')
-rw-r--r--libexec/rshd/Makefile11
1 files changed, 1 insertions, 10 deletions
diff --git a/libexec/rshd/Makefile b/libexec/rshd/Makefile
index b54f763..2e40e4f 100644
--- a/libexec/rshd/Makefile
+++ b/libexec/rshd/Makefile
@@ -5,14 +5,7 @@ PROG= rshd
SRCS= rshd.c
MAN8= rshd.8
-.if defined(NOPAM)
-CFLAGS+= -DNO_PAM
-.else
-#CFLAGS+= -DCRYPT -DNO_PAM
-SRCS+= auth_pam.c
-DPADD+= ${LIBPAM}
-LDADD+= ${MINUSLPAM}
-.endif
+#CFLAGS+= -DCRYPT
# For login_cap handling
CFLAGS+=-DLOGIN_CAP -Wall
@@ -23,5 +16,3 @@ LDADD+= -lutil
CFLAGS+= -DINET6
.include <bsd.prog.mk>
-
-.PATH: ${.CURDIR}/../rlogind
OpenPOWER on IntegriCloud