summaryrefslogtreecommitdiffstats
path: root/release/sysinstall
diff options
context:
space:
mode:
authormurray <murray@FreeBSD.org>2000-10-05 23:27:32 +0000
committermurray <murray@FreeBSD.org>2000-10-05 23:27:32 +0000
commit543368513f01e933aa5af77614ca8ee2153a6ef2 (patch)
tree9ed7b7e43619b736614ed8c9be19eafdd7f0d820 /release/sysinstall
parent1e98080e99e63fbbac211727737394dad816bb83 (diff)
downloadFreeBSD-src-543368513f01e933aa5af77614ca8ee2153a6ef2.zip
FreeBSD-src-543368513f01e933aa5af77614ca8ee2153a6ef2.tar.gz
PR: 21729
Approved by: jkh Write kern_securelevel_enable variable to rc.conf if user selects medium or low security in sysinstall. This overrides the case where a user selects fascist security and then tries to go back to a lower setting.
Diffstat (limited to 'release/sysinstall')
-rw-r--r--release/sysinstall/config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/release/sysinstall/config.c b/release/sysinstall/config.c
index ab56c81..7fd7a64 100644
--- a/release/sysinstall/config.c
+++ b/release/sysinstall/config.c
@@ -519,6 +519,7 @@ configSecurityModerate(dialogMenuItem *self)
variable_set2("nfs_reserved_port_only", "YES", 1);
variable_set2("sendmail_enable", "YES", 1);
variable_set2("sshd_enable", "YES", 1);
+ variable_set2("kern_securelevel_enable", "NO", 1);
if (self)
msgConfirm("Moderate security settings have been selected.\n\n"
@@ -543,6 +544,7 @@ configSecurityLiberal(dialogMenuItem *self)
variable_set2("portmap_enable", "YES", 1);
variable_set2("sendmail_enable", "YES", 1);
variable_set2("sshd_enable", "YES", 1);
+ variable_set2("kern_securelevel_enable", "NO", 1);
if (self)
msgConfirm("Liberal security settings have been selected.\n\n"
OpenPOWER on IntegriCloud