/usr/share/augeas/lenses/dist/tests/test_login_defs.aug is in augeas-lenses 1.2.0-0ubuntu1.3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | (*
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*"}
|