Class: CFA::ShadowConfig

Inherits:
MultiFileConfig show all
Defined in:
library/general/src/lib/cfa/shadow_config.rb

Overview

This class allows to interact with the shadow suite configuration files (login.defs)

Examples:

Reading a configuration parameter

config = ShadowConfig.new
config.load
config.encrypt_method #=> "SHA512"

Setting a value

config = ShadowConfig.new
config.load
config.fail_delay = "5"
config.save

Method Summary

Methods inherited from MultiFileConfig

#conflicts, define_attr, #load, load, #save