/usr/share/augeas/lenses/dist/login_defs.aug is in augeas-lenses 1.4.0-0ubuntu1.1.
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 27 28 29 | (*
Module: Login_defs
Lense for login.defs
Author: Erinn Looney-Triggs
About: License
This file is licensed under the LGPL v2+, like the rest of Augeas.
About: Configuration files
This lens applies to /etc/login.defs. See <filter>.
*)
module Login_defs =
autoload xfm
(* View: record
A login.defs record *)
let record =
let value = store /[^ \t\n]+([ \t]+[^ \t\n]+)*/ in
[ key Rx.word . Sep.space . value . Util.eol ]
(* View: lns
The login.defs lens *)
let lns = (record | Util.comment | Util.empty) *
(* View: filter *)
let filter = incl "/etc/login.defs"
let xfm = transform lns filter
|