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 = { }; users = { };
nixbld = { }; nixbld = { };
utmp = { }; utmp = { };
adm = { }; # expected by journald
}; };
system.activationScripts.rootPasswd = stringAfter [ "etc" ] system.activationScripts.rootPasswd = stringAfter [ "etc" ]

View File

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