Method: Bandshell::Passwords.save_shadow
- Defined in:
- lib/bandshell/passwords.rb
.save_shadow ⇒ Object
36 37 38 39 |
# File 'lib/bandshell/passwords.rb', line 36 def self.save_shadow shadow_content = IO.read("/etc/shadow") Bandshell::ConfigStore.write_config('shadow_file', shadow_content) end |