]> git.ipfire.org Git - thirdparty/util-linux.git/commit
login: add login.defs code and tests
authorKarel Zak <kzak@redhat.com>
Wed, 5 Oct 2011 10:10:26 +0000 (12:10 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 26 Oct 2011 21:17:17 +0000 (23:17 +0200)
commitc82d9c977c7fdf28ede2db15601edde1a5819511
treef8173e4967e03186f3ae1bdbfe85a273006c46f6
parentc293a7e8aeaa09032faf8648f01205a30575232a
login: add login.defs code and tests

The new logindefs.c file contains /etc/login.defs parser and functions
for searching in the list of the login default variables. The patch
also contains a new regression test for the code.

Based on pam_login-4.0 from Suse.

Signed-off-by: Karel Zak <kzak@redhat.com>
include/pathnames.h
login-utils/.gitignore
login-utils/Makefile.am
login-utils/logindefs.c [new file with mode: 0644]
login-utils/logindefs.h [new file with mode: 0644]
tests/commands.sh.in
tests/expected/login/logindefs [new file with mode: 0644]
tests/ts/login/logindefs [new file with mode: 0755]
tests/ts/login/logindefs.data [new file with mode: 0644]