From 0bf1053ddde72e330382b0cb18d2347e7bfb8b38 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Fri, 7 Oct 2016 15:01:30 +0000 Subject: [PATCH] use better uid/gid for _switchd --- src/etc/group | 2 +- src/etc/master.passwd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/etc/group b/src/etc/group index dbab9ad6..72d9edb0 100644 --- a/src/etc/group +++ b/src/etc/group @@ -21,6 +21,7 @@ _fingerd:*:33: _sshagnt:*:34: _x11:*:35: utmp:*:45: +_switchd:*:49: _traceroute:*:50: _ping:*:51: _rebound:*:52: @@ -75,7 +76,6 @@ _vmd:*:107: _tftp_proxy:*:108: _ftp_proxy:*:109: _sndiop:*:110: -_switchd:*:111: dialer:*:117: nogroup:*:32766: nobody:*:32767: diff --git a/src/etc/master.passwd b/src/etc/master.passwd index 3f4a17e5..06e203f7 100644 --- a/src/etc/master.passwd +++ b/src/etc/master.passwd @@ -9,6 +9,7 @@ _rstatd:*:30:30::0:0:rpc.rstatd:/var/empty:/sbin/nologin _rusersd:*:32:32::0:0:rpc.rusersd:/var/empty:/sbin/nologin _fingerd:*:33:33::0:0:fingerd:/var/empty:/sbin/nologin _x11:*:35:35::0:0:X Server:/var/empty:/sbin/nologin +_switchd:*:49:49::0:0:Switch Daemon:/var/empty:/sbin/nologin _traceroute:*:50:50::0:0:traceroute privdrop user:/var/empty:/sbin/nologin _ping:*:51:51::0:0:ping privdrop user:/var/empty:/sbin/nologin _rebound:*:52:52::0:0:Rebound DNS Daemon:/var/empty:/sbin/nologin @@ -58,5 +59,4 @@ _vmd:*:107:107::0:0:VM Daemon:/var/empty:/sbin/nologin _tftp_proxy:*:108:108::0:0:tftp proxy daemon:/nonexistent:/sbin/nologin _ftp_proxy:*:109:109::0:0:ftp proxy daemon:/nonexistent:/sbin/nologin _sndiop:*:110:110::0:0:sndio privileged user:/var/empty:/sbin/nologin -_switchd:*:111:111::0:0:Switch Daemon:/var/empty:/sbin/nologin nobody:*:32767:32767::0:0:Unprivileged user:/nonexistent:/sbin/nologin