diff options
author | Karel Zak | 2011-10-05 12:10:26 +0200 |
---|---|---|
committer | Karel Zak | 2011-10-26 23:17:17 +0200 |
commit | c82d9c977c7fdf28ede2db15601edde1a5819511 (patch) | |
tree | f8173e4967e03186f3ae1bdbfe85a273006c46f6 /include/pathnames.h | |
parent | tests: cleanup islocal test (diff) | |
download | kernel-qcow2-util-linux-c82d9c977c7fdf28ede2db15601edde1a5819511.tar.gz kernel-qcow2-util-linux-c82d9c977c7fdf28ede2db15601edde1a5819511.tar.xz kernel-qcow2-util-linux-c82d9c977c7fdf28ede2db15601edde1a5819511.zip |
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>
Diffstat (limited to 'include/pathnames.h')
-rw-r--r-- | include/pathnames.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/pathnames.h b/include/pathnames.h index 1a54a037d..07912bc59 100644 --- a/include/pathnames.h +++ b/include/pathnames.h @@ -72,6 +72,8 @@ /* used in term-utils/agetty.c */ #define _PATH_ISSUE "/etc/issue" +#define _PATH_LOGINDEFS "/etc/login.defs" + /* used in misc-utils/look.c */ #define _PATH_WORDS "/usr/share/dict/words" #define _PATH_WORDS_ALT "/usr/share/dict/web2" |