0007-nologin-Install-applet-to-sbin-instead-of-usr-sbin.patch (1154B)
1 From 9d796b508575b2e1673512d4103e6049af189bc6 Mon Sep 17 00:00:00 2001 2 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net> 3 Date: Wed, 13 Feb 2019 18:41:43 +0100 4 Subject: [PATCH] nologin: Install applet to /sbin instead of /usr/sbin 5 MIME-Version: 1.0 6 Content-Type: text/plain; charset=UTF-8 7 Content-Transfer-Encoding: 8bit 8 9 This is required to retain compatibility with our old custom nologin 10 applet written in C which was also installed to /sbin. 11 12 Compatibility with the old path is required because login shell paths 13 are hardcoded in /etc/passwd. 14 15 --- 16 util-linux/nologin.c | 2 +- 17 1 file changed, 1 insertion(+), 1 deletion(-) 18 19 diff --git a/util-linux/nologin.c b/util-linux/nologin.c 20 index 5a8b047a5..d3b6fe77e 100644 21 --- a/util-linux/nologin.c 22 +++ b/util-linux/nologin.c 23 @@ -19,7 +19,7 @@ 24 //config: If you know these will be available externally you can 25 //config: disable this option. 26 27 -//applet:IF_NOLOGIN(APPLET_SCRIPTED(nologin, scripted, BB_DIR_USR_SBIN, BB_SUID_DROP, nologin)) 28 +//applet:IF_NOLOGIN(APPLET_SCRIPTED(nologin, scripted, BB_DIR_SBIN, BB_SUID_DROP, nologin)) 29 30 //usage:#define nologin_trivial_usage 31 //usage: ""