From c82d9c977c7fdf28ede2db15601edde1a5819511 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 5 Oct 2011 12:10:26 +0200 Subject: 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 --- include/pathnames.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/pathnames.h') 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" -- cgit v1.2.3-55-g7522