]> git.ipfire.org Git - thirdparty/util-linux.git/commit - login-utils/libuser.c
chsh: Add libuser support
authorCody Maloney <cmaloney@theoreticalchaos.com>
Thu, 7 Feb 2013 06:22:20 +0000 (23:22 -0700)
committerKarel Zak <kzak@redhat.com>
Wed, 13 Feb 2013 08:37:15 +0000 (09:37 +0100)
commit6adb1ef279537875495d10f7c74f35101dd335fd
tree0c3680cdc91be62969d805c03591c0dd5ec9ffb3
parentd91ad6ab3c925ad88c9df80dd78818b5aa2d14df
chsh: Add libuser support

This is based directly on lchsh which is a part of libuser. libuser.{c,h}
exist because exactly the same code is needed for both chsh and chfn.

[kzak@redhat.com: cleanup err() usage]

Signed-off-by: Cody Maloney <cmaloney@theoreticalchaos.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/Makemodule.am
login-utils/chsh.c
login-utils/libuser.c [new file with mode: 0644]
login-utils/libuser.h [new file with mode: 0644]