Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | Upstream-Status: Pending |
| 2 | |
| 3 | Subject: fix installation failure with subids disabled |
| 4 | |
| 5 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> |
| 6 | --- |
| 7 | src/Makefile.am | 5 ++++- |
| 8 | 1 file changed, 4 insertions(+), 1 deletion(-) |
| 9 | |
| 10 | diff --git a/src/Makefile.am b/src/Makefile.am |
| 11 | index 25e288d..076f8ef 100644 |
| 12 | --- a/src/Makefile.am |
| 13 | +++ b/src/Makefile.am |
| 14 | @@ -52,7 +52,10 @@ usbin_PROGRAMS = \ |
| 15 | noinst_PROGRAMS = id sulogin |
| 16 | |
| 17 | suidbins = su |
| 18 | -suidubins = chage chfn chsh expiry gpasswd newgrp passwd newuidmap newgidmap |
| 19 | +suidubins = chage chfn chsh expiry gpasswd newgrp passwd |
| 20 | +if ENABLE_SUBIDS |
| 21 | +suidubins += newgidmap newuidmap |
| 22 | +endif |
| 23 | if ACCT_TOOLS_SETUID |
| 24 | suidubins += chage chgpasswd chpasswd groupadd groupdel groupmod newusers useradd userdel usermod |
| 25 | endif |
| 26 | -- |
| 27 | 1.7.9.5 |
| 28 | |