From 9684f7bb92d2cd9062bfda9732d70af94d64b4ef Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sun, 19 Aug 2018 15:57:06 +0200 Subject: [PATCH] Cleanup users and groups Signed-off-by: David Oberhollenzer --- pkg/rootfs/etc/group | 22 +--------------------- pkg/rootfs/etc/passwd | 4 +--- pkg/rootfs/etc/shadow | 4 +--- 3 files changed, 3 insertions(+), 27 deletions(-) diff --git a/pkg/rootfs/etc/group b/pkg/rootfs/etc/group index 1863ac9..0f187a9 100644 --- a/pkg/rootfs/etc/group +++ b/pkg/rootfs/etc/group @@ -1,26 +1,6 @@ root:x:0: -bin:x:1:daemon -sys:x:2: -kmem:x:3: -tape:x:4: -tty:x:5: -daemon:x:6: -floppy:x:7: -disk:x:8: -lp:x:9: -dialout:x:10: -audio:x:11: -video:x:12: -utmp:x:13: -usb:x:14: -cdrom:x:15: -adm:x:16: -kvm:x:17: -render:x:18: -wheel:x:19: -input:x:24: -mail:x:34: sshd:x:50: dnsmasq:x:51: unbound:x:52: +syslogd:x:53: nogroup:x:99: diff --git a/pkg/rootfs/etc/passwd b/pkg/rootfs/etc/passwd index 08fb4d1..dded2c7 100644 --- a/pkg/rootfs/etc/passwd +++ b/pkg/rootfs/etc/passwd @@ -1,8 +1,6 @@ root:x:0:0:root:/usr/root:/bin/bash -bin:x:1:1:bin:/dev/null:/bin/false -daemon:x:6:6:Daemon User:/dev/null:/bin/false -messagebus:x:18:18:D-Bus Message Daemon User:/var/run/dbus:/bin/false sshd:x:50:50:sshd PrivSep:/var/lib/sshd:/bin/false dnsmasq:x:51:51:dnsmasq user:/dev/null:/bin/false unbound:x:52:52:unbound user:/dev/null:/bin/false +syslogd:x:53:53:syslog user:/dev/null:/bin/false nobody:x:99:99:Unprivileged User:/dev/null:/bin/false diff --git a/pkg/rootfs/etc/shadow b/pkg/rootfs/etc/shadow index 4dccbe9..426b3ac 100644 --- a/pkg/rootfs/etc/shadow +++ b/pkg/rootfs/etc/shadow @@ -1,8 +1,6 @@ root:$6$.Y7Zj/e9QeCB$XwqV/48JBr7DmicnnuB/n8LWV6uzBU.r/fYIlEpzQPvM.q59t1Yw4MJePLfpwai76mxgZWXx8PpNg8gpiGQss.:17569:0:99999:7::: -bin:x:17569:0:99999:7::: -daemon:x:17569:0:99999:7::: -messagebus:x:17569:0:99999:7::: sshd:x:17569:0:99999:7::: dnsmasq:x:17569:0:99999:7::: unbound:x:17569:0:99999:7::: +syslogd:x:17569:0:99999:7::: nobody:x:17569:0:99999:7:::