1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 09:31:01 +00:00
nixpkgs/nixos/modules/system
Jamey Sharp b63f65aea0 nixos/pam: create wtmp/lastlog iff using pam_lastlog
I think pam_lastlog is the only thing that writes to these files in
practice on a modern Linux system, so in a configuration that doesn't
use that module, we don't need to create these files.

I used tmpfiles.d instead of activation snippets to create the logs.
It's good enough for upstream and other distros; it's probably good
enough for us.
2018-09-30 11:08:12 -07:00
..
activation nixos/pam: create wtmp/lastlog iff using pam_lastlog 2018-09-30 11:08:12 -07:00
boot nixos/systemd: don't create /var/lib/udev 2018-09-30 11:05:47 -07:00
etc environment.etc: add user/group option 2017-07-29 23:56:46 +01:00