On Wed, Aug 23, 2017 at 02:42:55PM +0200, Karel Zak wrote: > * su-pty: https://github.com/karelzak/util-linux/tree/su-pty > https://github.com/karelzak/util-linux/commits/su-refact > > This branch implements a new --pty command line option and it's > based on su-refact. The new feature is marked as experimental and > not enabled as default. It means all the current use-cases (scripts, > ...) should not be affected by the new feature. Merged. Fast-forward include/Makemodule.am | 1 + include/pwdutils.h | 11 + lib/Makemodule.am | 5 + lib/pwdutils.c | 96 ++++++++ login-utils/Makemodule.am | 6 + login-utils/login.c | 29 +-- login-utils/logindefs.c | 13 +- login-utils/logindefs.h | 2 +- login-utils/su-common.c | 2107 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------- login-utils/su.1 | 14 +- term-utils/script.c | 11 +- 11 files changed, 1429 insertions(+), 866 deletions(-) create mode 100644 include/pwdutils.h create mode 100644 lib/pwdutils.c Thanks all for review. We'll see... Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html