HEX
Server: Apache
System: Linux sh00085.hostgator.com 5.14.0-687.29.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 23 16:18:48 EDT 2026 x86_64
User: yqegzjte (1064)
PHP: 8.5.8
Disabled: NONE
Upload Files
File: //opt/osquery/share/osquery/lenses/login_defs.aug
(*
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