util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/16] pull: updates to lslogins and chfn
@ 2014-12-14 17:43 Sami Kerola
  2014-12-14 17:43 ` [PATCH 01/16] lslogins: allow changing password changed and expiration time formats Sami Kerola
                   ` (16 more replies)
  0 siblings, 17 replies; 24+ messages in thread
From: Sami Kerola @ 2014-12-14 17:43 UTC (permalink / raw)
  To: util-linux; +Cc: Sami Kerola

Hello,

While using lslogins earlier the week I noticed --time-format not being
honored in all instances.  There is also another fix to option handling,
that is relatively important for anyone who cares user interface.

The chfn changes are my attempt to make the code a little bit easier to
read, and modify.  That said I came a cross with login.defs CHFN_RESTRICT
so I decided to make it work.  The login.defs(5) is also talking about
CHFN_AUTH, but I don't think it combines well with libuser so I did not
bother trying to spend time with it.

Now when the chfn is bit more OK, see the chsh could be better.  I'll try
to send patches about chsh sometime before holidays.


The following changes since commit 0d75c73d4fc9f638b9fbcab142002acadca9e603:
  lslogins: fix -l -g logic (2014-12-12 15:17:19 +0100)
are available in the git repository at:
  git://github.com/kerolasa/lelux-utiliteetit.git 2014wk49
for you to fetch changes up to 7de7c6819d44c9052e3bee50990f37b6d75f3bcb:
  chfn: make command to obey login.defs CHFN_RESTRICT instructions (2014-12-14 17:27:08 +0000)

Sami Kerola (16):
  lslogins: allow changing password changed and expiration time formats
  lslogins: make journald last logs time stamps to honor --time-format
  lslogins: tell why command failed
  lslogins: fix short options
  lslogins: reject unknown time format arguments
  lslogins: add space to systemd journal header and message
  lslogins: use hardcoded paths from pathnames.h
  chfn: remove function prototypes
  chfn: rewrite prompt() to use strutils
  chfn: use xasprintf() rather than bunch of strlen() and malloc() calls
  chfn: fix usage() regression
  chfn: simplify parse_passwd() by using strsep()
  chfn: add minimalistic struct chfn_control
  chfn: clean up parse_argv()
  chfn: move new and old finger structs to chfn control struct
  chfn: make command to obey login.defs CHFN_RESTRICT instructions

 include/pathnames.h       |   1 +
 login-utils/Makemodule.am |   6 +-
 login-utils/chfn.c        | 548 +++++++++++++++++++++++-----------------------
 login-utils/lslogins.c    |  65 +++---
 4 files changed, 312 insertions(+), 308 deletions(-)

-- 
2.1.3


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2014-12-19 13:30 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-14 17:43 [PATCH 00/16] pull: updates to lslogins and chfn Sami Kerola
2014-12-14 17:43 ` [PATCH 01/16] lslogins: allow changing password changed and expiration time formats Sami Kerola
2014-12-14 17:43 ` [PATCH 02/16] lslogins: make journald last logs time stamps to honor --time-format Sami Kerola
2014-12-14 17:43 ` [PATCH 03/16] lslogins: tell why command failed Sami Kerola
2014-12-14 17:44 ` [PATCH 04/16] lslogins: fix short options Sami Kerola
2014-12-14 17:44 ` [PATCH 05/16] lslogins: reject unknown time format arguments Sami Kerola
2014-12-15  9:28   ` Karel Zak
2014-12-19  9:30     ` Sami Kerola
2014-12-14 17:44 ` [PATCH 06/16] lslogins: add space to systemd journal header and message Sami Kerola
2014-12-14 17:44 ` [PATCH 07/16] lslogins: use hardcoded paths from pathnames.h Sami Kerola
2014-12-14 17:44 ` [PATCH 08/16] chfn: remove function prototypes Sami Kerola
2014-12-14 17:44 ` [PATCH 09/16] chfn: rewrite prompt() to use strutils Sami Kerola
2014-12-14 17:44 ` [PATCH 10/16] chfn: use xasprintf() rather than bunch of strlen() and malloc() calls Sami Kerola
2014-12-14 17:44 ` [PATCH 11/16] chfn: fix usage() regression Sami Kerola
2014-12-14 17:44 ` [PATCH 12/16] chfn: simplify parse_passwd() by using strsep() Sami Kerola
2014-12-14 17:44 ` [PATCH 13/16] chfn: add minimalistic struct chfn_control Sami Kerola
2014-12-14 17:44 ` [PATCH 14/16] chfn: clean up parse_argv() Sami Kerola
2014-12-15  9:45   ` Karel Zak
2014-12-14 17:44 ` [PATCH 15/16] chfn: move new and old finger structs to chfn control struct Sami Kerola
2014-12-15 10:07   ` Karel Zak
2014-12-19  9:41     ` Sami Kerola
2014-12-14 17:44 ` [PATCH 16/16] chfn: make command to obey login.defs CHFN_RESTRICT instructions Sami Kerola
2014-12-15 10:11   ` Karel Zak
2014-12-19 13:30 ` [PATCH 00/16] pull: updates to lslogins and chfn Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).