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:
parent
cfc129caaa
commit
8ba83fb185
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user