summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-07-11 09:54:24 +0000
committerpeter <peter@FreeBSD.org>2000-07-11 09:54:24 +0000
commitd9df5f65ded850e301b67e1b8f444f3df7aeddbe (patch)
tree9f0ddadcf756d1591e92acb553fdb36ca98d9f63
parent5f6efaa063342a84f0e960385e0d623d2e1a33e0 (diff)
downloadFreeBSD-src-d9df5f65ded850e301b67e1b8f444f3df7aeddbe.zip
FreeBSD-src-d9df5f65ded850e301b67e1b8f444f3df7aeddbe.tar.gz
Sync sshd_config with sshd and manapage internal defaults (Checkmail = yes)
-rw-r--r--crypto/openssh/servconf.c2
-rw-r--r--crypto/openssh/sshd.82
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/openssh/servconf.c b/crypto/openssh/servconf.c
index c8538c6..b3d78f7 100644
--- a/crypto/openssh/servconf.c
+++ b/crypto/openssh/servconf.c
@@ -109,7 +109,7 @@ fill_default_server_options(ServerOptions *options)
if (options->ignore_user_known_hosts == -1)
options->ignore_user_known_hosts = 0;
if (options->check_mail == -1)
- options->check_mail = 0;
+ options->check_mail = 1;
if (options->print_motd == -1)
options->print_motd = 1;
if (options->x11_forwarding == -1)
diff --git a/crypto/openssh/sshd.8 b/crypto/openssh/sshd.8
index 2ea4cf4..87add4d 100644
--- a/crypto/openssh/sshd.8
+++ b/crypto/openssh/sshd.8
@@ -284,7 +284,7 @@ Specifies whether
.Nm
should check for new mail for interactive logins.
The default is
-.Dq no .
+.Dq yes .
.It Cm ConnectionsPerPeriod
This keyword allows for rate-limiting of connections, and
is followed by two numbers in the format
OpenPOWER on IntegriCloud