From: Cody Maloney <cmaloney@theoreticalchaos.com>
To: util-linux@vger.kernel.org
Cc: mitr@redhat.com, Cody Maloney <cmaloney@theoreticalchaos.com>
Subject: [PATCH v2 0/4] Add support for using libuser to chsh and chfn
Date: Sun, 13 Jan 2013 02:12:20 -0700 [thread overview]
Message-ID: <1358068345-773-1-git-send-email-cmaloney@theoreticalchaos.com> (raw)
Builds on v1 addressing comments. Factors out some of the common code
between chsh and chfn (auth.c, libuser.c), hides almost all of the
libuser interaction in libuser.c
The last two patches can/should probably be squashed into one commit
for committing to the repository.
Cody Maloney (4):
chsh-chfn: Add flag for enabling/disabling libuser support.
chsh-chfn: Move pam auth to its own function, factoring out common
code
chsh: Add libuser support
chfn: Add libuser support
configure.ac | 17 ++++++++++
login-utils/Makemodule.am | 10 ++++++
login-utils/auth.c | 47 ++++++++++++++++++++++++++
login-utils/auth.h | 13 ++++++++
login-utils/chfn.c | 58 ++++++++++++++------------------
login-utils/chsh.c | 55 ++++++++++++++-----------------
login-utils/libuser.c | 84 +++++++++++++++++++++++++++++++++++++++++++++++
login-utils/libuser.h | 14 ++++++++
8 files changed, 234 insertions(+), 64 deletions(-)
create mode 100644 login-utils/auth.c
create mode 100644 login-utils/auth.h
create mode 100644 login-utils/libuser.c
create mode 100644 login-utils/libuser.h
--
1.8.1
next reply other threads:[~2013-01-13 9:12 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-13 9:12 Cody Maloney [this message]
2013-01-03 3:21 ` [PATCH 0/3] Add support for using libuser to chsh Cody Maloney
2013-01-03 3:21 ` [PATCH 1/3] chsh-chfn: Add flag for enabling/disabling libuser support Cody Maloney
2013-01-03 3:22 ` [PATCH 2/3] chsh: Move pam auth to its own function Cody Maloney
2013-01-03 3:22 ` [PATCH 3/3] chsh: Add libuser support Cody Maloney
2013-01-03 16:34 ` Miloslav Trmac
2013-01-07 11:51 ` Karel Zak
2013-01-08 6:15 ` Cody Maloney
2013-01-08 6:17 ` Cody Maloney
2013-01-08 6:18 ` Cody Maloney
2013-01-13 9:12 ` [PATCH 2/3] chsh: Move pam auth to its own function Cody Maloney
2013-01-13 9:12 ` [PATCH v2 1/4] chsh-chfn: Add flag for enabling/disabling libuser support Cody Maloney
2013-01-13 9:12 ` [PATCH v2 2/4] chsh-chfn: Move pam auth to its own function, factoring out common code Cody Maloney
2013-01-13 9:12 ` [PATCH v2 3/4] chsh: Add libuser support Cody Maloney
2013-01-14 18:16 ` Miloslav Trmac
2013-01-17 0:52 ` Cody Maloney
2013-01-28 22:01 ` Miloslav Trmac
2013-01-13 9:12 ` [PATCH v2 4/4] chfn: " Cody Maloney
[not found] ` <50F2FBBE.7000305@gmail.com>
2013-01-13 19:31 ` [PATCH v2 0/4] Add support for using libuser to chsh and chfn Cody Maloney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1358068345-773-1-git-send-email-cmaloney@theoreticalchaos.com \
--to=cmaloney@theoreticalchaos.com \
--cc=mitr@redhat.com \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox