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:
Eelco Dolstra 2012-08-10 15:25:04 -04:00
parent a3c75462c1
commit be5486813b
2 changed files with 2 additions and 0 deletions

View File

@ -208,6 +208,7 @@ in
users = { };
nixbld = { };
utmp = { };
adm = { }; # expected by journald
};
system.activationScripts.rootPasswd = stringAfter [ "etc" ]

View File

@ -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.