For High security profile, set securelevel to 1 to protect /dev/*mem

and mounted disks, among other things.

Requested by:	kirk
This commit is contained in:
jkh 2000-11-07 23:05:14 +00:00
parent cfc129caaa
commit 8ba83fb185
3 changed files with 6 additions and 0 deletions

View File

@ -516,6 +516,8 @@ configSecurityHigh(dialogMenuItem *self)
variable_set2("sshd_enable", "YES", 1);
variable_set2("portmap_enable", "NO", 1);
variable_set2("nfs_server_enable", "NO", 1);
variable_set2("kern_securelevel_enable", "YES", 1);
variable_set2("kern_securelevel", "1", 1);
if (self)
msgConfirm("High security settings have been selected.\n\n"

View File

@ -516,6 +516,8 @@ configSecurityHigh(dialogMenuItem *self)
variable_set2("sshd_enable", "YES", 1);
variable_set2("portmap_enable", "NO", 1);
variable_set2("nfs_server_enable", "NO", 1);
variable_set2("kern_securelevel_enable", "YES", 1);
variable_set2("kern_securelevel", "1", 1);
if (self)
msgConfirm("High security settings have been selected.\n\n"

View File

@ -516,6 +516,8 @@ configSecurityHigh(dialogMenuItem *self)
variable_set2("sshd_enable", "YES", 1);
variable_set2("portmap_enable", "NO", 1);
variable_set2("nfs_server_enable", "NO", 1);
variable_set2("kern_securelevel_enable", "YES", 1);
variable_set2("kern_securelevel", "1", 1);
if (self)
msgConfirm("High security settings have been selected.\n\n"