summaryrefslogtreecommitdiffstats
path: root/etc/pam.conf
diff options
context:
space:
mode:
authornsayer <nsayer@FreeBSD.org>2001-05-07 20:38:39 +0000
committernsayer <nsayer@FreeBSD.org>2001-05-07 20:38:39 +0000
commitce2648b0d2ae4682634f37e718bdc59869d8d572 (patch)
treeb76a13333281459d6f19967452db096129c933e6 /etc/pam.conf
parentfa8314227c51816057f11e1672444bbae7baed35 (diff)
downloadFreeBSD-src-ce2648b0d2ae4682634f37e718bdc59869d8d572.zip
FreeBSD-src-ce2648b0d2ae4682634f37e718bdc59869d8d572.tar.gz
Add PAM support to SRA authentication. Cribbed mostly from ftpd. This
doesn't solve the problem of root being allowed to log in, but that sort of thing is something PAM should be doing anyway.
Diffstat (limited to 'etc/pam.conf')
-rw-r--r--etc/pam.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/pam.conf b/etc/pam.conf
index 56ad8f3..12e6fff 100644
--- a/etc/pam.conf
+++ b/etc/pam.conf
@@ -86,6 +86,10 @@ sshd session required pam_permit.so
# "csshd" is for challenge-based authentication with sshd (TIS auth, etc.)
csshd auth required pam_skey.so
+# SRA telnet. Non-SRA telnet uses 'login'.
+telnetd auth required pam_unix.so try_first_pass
+telnetd account required pam_unix.so
+
# Don't break startx
xserver auth required pam_permit.so
OpenPOWER on IntegriCloud