From d02d480cfc7064eb05d7fa044f2552b5f6406ca3 Mon Sep 17 00:00:00 2001 From: Cody Garver Date: Fri, 5 Oct 2018 08:56:54 -0500 Subject: [PATCH] Backport upstream hide systemd dynamic users fix --- debian/patches/09_hide_systemd_nologin.patch | 8 ++++++++ debian/patches/series | 1 + 2 files changed, 9 insertions(+) create mode 100644 debian/patches/09_hide_systemd_nologin.patch diff --git a/debian/patches/09_hide_systemd_nologin.patch b/debian/patches/09_hide_systemd_nologin.patch new file mode 100644 index 0000000..930bc41 --- /dev/null +++ b/debian/patches/09_hide_systemd_nologin.patch @@ -0,0 +1,8 @@ +--- a/data/users.conf ++++ b/data/users.conf +@@ -11,4 +11,4 @@ + [UserList] + minimum-uid=500 + hidden-users=nobody nobody4 noaccess +-hidden-shells=/bin/false /usr/sbin/nologin ++hidden-shells=/bin/false /usr/sbin/nologin /sbin/nologin diff --git a/debian/patches/series b/debian/patches/series index f473ef5..9fc9434 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -4,3 +4,4 @@ 05_debianize-pam-files.patch 06_change-user-dirs.patch 08_reset-SIGPIPE-before-exec.patch +09_hide_systemd_nologin.patch -- GitLab