Class: Ardecy::Harden::Sysctl::Kernel::SysRQ

Inherits:
SysKern
  • Object
show all
Defined in:
lib/ardecy/harden/sysctl/kernel.rb

Instance Method Summary collapse

Methods inherited from SysKern

#fix, #repair, #scan, #x

Methods included from Display

#display_fix_list, #kernel_show, #perm_show, #result, #show_bad_mod, #title

Constructor Details

#initialize(args) ⇒ SysRQ

Returns a new instance of SysRQ.



111
112
113
114
115
116
# File 'lib/ardecy/harden/sysctl/kernel.rb', line 111

def initialize(args)
  @file = '/proc/sys/kernel/sysrq'
  @line = 'kernel.sysrq'
  @tab = 4
  super
end