summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJeremie Le Hen <jlh@FreeBSD.org>2017-10-06 08:43:14 +0000
committerJeremie Le Hen <jlh@FreeBSD.org>2017-10-06 08:43:14 +0000
commite415aa284663746c8babbba2d3871d26980a8b8a (patch)
tree99adf8549d7fb6aaa4ee39278ce7861a12002115 /etc
parentac63ac6859873627940b3583904083f9716c564d (diff)
Notes
Diffstat (limited to 'etc')
-rw-r--r--etc/inetd.conf8
-rw-r--r--etc/mtree/BSD.tests.dist2
-rw-r--r--etc/pam.d/Makefile8
-rw-r--r--etc/pam.d/rsh18
4 files changed, 4 insertions, 32 deletions
diff --git a/etc/inetd.conf b/etc/inetd.conf
index 7f70662593b0d..65a3507a6dc22 100644
--- a/etc/inetd.conf
+++ b/etc/inetd.conf
@@ -12,10 +12,10 @@
#ssh stream tcp6 nowait root /usr/sbin/sshd sshd -i -6
#telnet stream tcp nowait root /usr/libexec/telnetd telnetd
#telnet stream tcp6 nowait root /usr/libexec/telnetd telnetd
-#shell stream tcp nowait root /usr/libexec/rshd rshd
-#shell stream tcp6 nowait root /usr/libexec/rshd rshd
-#login stream tcp nowait root /usr/libexec/rlogind rlogind
-#login stream tcp6 nowait root /usr/libexec/rlogind rlogind
+#shell stream tcp nowait root /usr/local/sbin/rshd rshd
+#shell stream tcp6 nowait root /usr/local/sbin/rshd rshd
+#login stream tcp nowait root /usr/local/sbin/rlogind rlogind
+#login stream tcp6 nowait root /usr/local/sbin/rlogind rlogind
#finger stream tcp nowait/3/10 nobody /usr/libexec/fingerd fingerd -k -s
#finger stream tcp6 nowait/3/10 nobody /usr/libexec/fingerd fingerd -k -s
#
diff --git a/etc/mtree/BSD.tests.dist b/etc/mtree/BSD.tests.dist
index 874cfc4bd4777..7ecc0dc6ca7ac 100644
--- a/etc/mtree/BSD.tests.dist
+++ b/etc/mtree/BSD.tests.dist
@@ -34,8 +34,6 @@
..
pwait
..
- rcp
- ..
rmdir
..
sh
diff --git a/etc/pam.d/Makefile b/etc/pam.d/Makefile
index 51a2195fe59d9..195274fae5412 100644
--- a/etc/pam.d/Makefile
+++ b/etc/pam.d/Makefile
@@ -35,14 +35,6 @@ FTPMODE= ${FILESMODE}
LINKS= ${FILESDIR}/ftpd ${FILESDIR}/ftp
.endif
-.if ${MK_RCMDS} != "no"
-FILESGROUPS+= RCMDS
-RCMDS+= rsh
-RCMDSPACKAGE+= rcmds
-RCMDSDIR= ${FILESDIR}
-RCMDSMODE= ${FILESMODE}
-.endif
-
.if ${MK_TELNET} != "no"
FILESGROUPS+= TELNET
TELNET+= telnetd
diff --git a/etc/pam.d/rsh b/etc/pam.d/rsh
deleted file mode 100644
index 9e562e0786d4f..0000000000000
--- a/etc/pam.d/rsh
+++ /dev/null
@@ -1,18 +0,0 @@
-#
-# $FreeBSD$
-#
-# PAM configuration for the "rsh" service
-#
-
-# auth
-auth required pam_rhosts.so no_warn
-
-# account
-account required pam_nologin.so
-account required pam_unix.so
-
-# session
-session required pam_permit.so
-
-# password
-password required pam_deny.so