Class: Ardecy::Harden::Sysctl::Kernel::MaxUserNameSpace
- Defined in:
- lib/ardecy/harden/sysctl/kernel.rb
Instance Method Summary collapse
-
#initialize(args) ⇒ MaxUserNameSpace
constructor
A new instance of MaxUserNameSpace.
Methods inherited from SysKern
Methods included from Display
#display_fix_list, #kernel_show, #perm_show, #result, #show_bad_mod, #title
Constructor Details
#initialize(args) ⇒ MaxUserNameSpace
Returns a new instance of MaxUserNameSpace.
128 129 130 131 132 |
# File 'lib/ardecy/harden/sysctl/kernel.rb', line 128 def initialize(args) @file = '/proc/sys/user/max_user_namespaces' @line = 'user.max_user_namespaces' super end |