? GR0V Shell

GR0V shell

Linux server122.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64

Path : /opt/puppetlabs/puppet/share/augeas/lenses/dist/tests/
File Upload :
Current File : //opt/puppetlabs/puppet/share/augeas/lenses/dist/tests/test_login_defs.aug

(*
Module: Test_login_defs
  Test cases for the login_defs lense

Author: Erinn Looney-Triggs

About: License
  This file is licensed under the LGPLv2+, like the rest of Augeas.
*)
module Test_login_defs =

let record = "MAIL_DIR        /var/spool/mail
ENCRYPT_METHOD SHA512 
UMASK           077
"

test Login_defs.lns get record =
    { "MAIL_DIR" = "/var/spool/mail" } 
    { "ENCRYPT_METHOD" = "SHA512" }
    { "UMASK" = "077" }

let comment ="# *REQUIRED*
"

test Login_defs.lns get comment = 
  {"#comment" = "*REQUIRED*"}

T1KUS90T
  root-grov@198.54.114.191:~$