Re: [OE-core] [PATCH] shadow: update default settings for useradd

2021-08-17 Thread Yi Zhao
On 8/17/21 2:59 PM, Alexander Kanavin wrote: If the issue is that /etc/default/useradd was deleted, shouldn't we address this by reinstating that file? Patching the source code does not seem like a better solution, and introduces surprising behaviour for those expecting upstream defaults rathe

Re: [OE-core] [PATCH] shadow: update default settings for useradd

2021-08-16 Thread Alexander Kanavin
If the issue is that /etc/default/useradd was deleted, shouldn't we address this by reinstating that file? Patching the source code does not seem like a better solution, and introduces surprising behaviour for those expecting upstream defaults rather than Yocto's. Alex On Tue, 17 Aug 2021 at 05:1

[OE-core] [PATCH] shadow: update default settings for useradd

2021-08-16 Thread Yi Zhao
The shadow 4.9 stops shiping /etc/default/useradd[1] and uses built-in settings by default. Some settings are not consistent with previous shadow 4.8.1 in oe-core. Per shadow 4.8.1 settings, change the default shell to /bin/sh and stop creating mail spool. [1] https://github.com/shadow-maint/shad