mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +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 = { };
|
users = { };
|
||||||
nixbld = { };
|
nixbld = { };
|
||||||
utmp = { };
|
utmp = { };
|
||||||
|
adm = { }; # expected by journald
|
||||||
};
|
};
|
||||||
|
|
||||||
system.activationScripts.rootPasswd = stringAfter [ "etc" ]
|
system.activationScripts.rootPasswd = stringAfter [ "etc" ]
|
||||||
|
@ -123,6 +123,7 @@ in
|
|||||||
mpd = 50;
|
mpd = 50;
|
||||||
clamav = 51;
|
clamav = 51;
|
||||||
fprot = 52;
|
fprot = 52;
|
||||||
|
adm = 55;
|
||||||
|
|
||||||
# When adding a gid, make sure it doesn't match an existing uid.
|
# When adding a gid, make sure it doesn't match an existing uid.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user