mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 11:44:07 +00:00
Add an "adm" group
Journald will chown all journal files to the adm group so that users in that group can run "journalctl".
This commit is contained in:
parent
a3c75462c1
commit
be5486813b
@ -208,6 +208,7 @@ in
|
||||
users = { };
|
||||
nixbld = { };
|
||||
utmp = { };
|
||||
adm = { }; # expected by journald
|
||||
};
|
||||
|
||||
system.activationScripts.rootPasswd = stringAfter [ "etc" ]
|
||||
|
@ -123,6 +123,7 @@ in
|
||||
mpd = 50;
|
||||
clamav = 51;
|
||||
fprot = 52;
|
||||
adm = 55;
|
||||
|
||||
# When adding a gid, make sure it doesn't match an existing uid.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user