/usr/share/augeas/lenses/dist/tests/test_nsswitch.aug is in augeas-lenses 1.2.0-0ubuntu1.
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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | module Test_nsswitch =
let conf = "# Sample nsswitch.conf
passwd: compat
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
networks: nis [!UNAVAIL=return success=continue] files
protocols: db files
netgroup: nis
bootparams: nisplus [NOTFOUND=return] files
sudoers: files ldap
"
test Nsswitch.lns get conf =
{ "#comment" = "Sample nsswitch.conf" }
{ "database" = "passwd"
{ "service" = "compat" } }
{}
{ "database" = "hosts"
{ "service" = "files" }
{ "service" = "mdns4_minimal" }
{ "reaction"
{ "status" = "NOTFOUND"
{ "action" = "return" } } }
{ "service" = "dns" }
{ "service" = "mdns4" } }
{ "database" = "networks"
{ "service" = "nis" }
{ "reaction"
{ "status" = "UNAVAIL"
{ "negate" }
{ "action" = "return" } }
{ "status" = "success"
{ "action" = "continue" } } }
{ "service" = "files" } }
{ "database" = "protocols"
{ "service" = "db" }
{ "service" = "files" } }
{ "database" = "netgroup"
{ "service" = "nis" } }
{ "database" = "bootparams"
{ "service" = "nisplus" }
{ "reaction"
{ "status" = "NOTFOUND"
{ "action" = "return" } } }
{ "service" = "files" } }
{ "database" = "sudoers"
{ "service" = "files" }
{ "service" = "ldap" } }
|