#!/usr/bin/patch -p0
# $Header: /global/src/etc/cl-manage-scripts/patches/RCS/P-passwd-low-ids-apt,v 1.2 2020/11/06 12:58:00 pb22 Exp $
# Command to avoid the use of low numbered UIDs
# patch-file hasno =  systemd-network:x:101
# patch-file distmatches = Ubuntu.[X-Z]|Ubuntu.1[6-9]|Ubuntu.2
# 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:103:systemd Network Management,,,:/run/systemd/netif:/bin/false
+systemd-network:x:256:103:systemd Network Management,,,:/run/systemd/netif:/bin/false
@@ -23 +23 @@
-_apt:x:104:65534::/nonexistent:/bin/false
+_apt:x:257:65534::/nonexistent:/bin/false
