mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
networkmanager: set uid/gid for the networkmanager openvpn agent
Fixes #11317
This commit is contained in:
parent
c3be340ae0
commit
c515be4651
@ -238,6 +238,7 @@
|
||||
heapster = 214;
|
||||
bepasty = 215;
|
||||
pumpio = 216;
|
||||
nm-openvpn = 217;
|
||||
|
||||
# When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399!
|
||||
|
||||
@ -453,6 +454,7 @@
|
||||
calibre-server = 213;
|
||||
bepasty = 215;
|
||||
pumpio = 216;
|
||||
nm-openvpn = 217;
|
||||
|
||||
# When adding a gid, make sure it doesn't match an existing
|
||||
# uid. Users and groups with the same name should have equal
|
||||
|
@ -223,9 +223,11 @@ in {
|
||||
}
|
||||
{
|
||||
name = "nm-openvpn";
|
||||
gid = config.ids.gids.nm-openvpn;
|
||||
}];
|
||||
users.extraUsers = [{
|
||||
name = "nm-openvpn";
|
||||
uid = config.ids.uids.nm-openvpn;
|
||||
}];
|
||||
|
||||
systemd.packages = cfg.packages;
|
||||
|
Loading…
Reference in New Issue
Block a user