#!/usr/bin/patch -p0
# $Header: /global/src/etc/cl-manage-scripts/patches/RCS/P-passwd-low-ids-messagebus,v 1.1 2025/03/21 15:19:26 mas90 Exp $
# Command to avoid the use of low numbered UIDs
# patch-file matches =  systemd-network:x:256
# patch-file distmatches = Raspbian
# Process using /usr/bin/CL-patch-file unless matching the above
#
# Also run:
# sudo find /var -xdev -user 101 -exec chown 256 {} \; -ls
# sudo find /var -xdev -user 104 -exec chown 257 {} \; -ls
#
--- /etc/passwd	2016-04-06 17:53:22.518861642 +0100
+++ /etc/passwd	2016-04-08 11:02:17.572718649 +0100
@@ -20 +20 @@
-systemd-network:x:101:104:systemd Network Management,,,:/run/systemd/netif:/bin/false
+systemd-network:x:256:104:systemd Network Management,,,:/run/systemd/netif:/bin/false
@@ -20 +20 @@
-messagebus:x:104:109::/var/run/dbus:/bin/false
+messagebus:x:257:109::/var/run/dbus:/bin/false
