From 6a91958bf8c64247cb9c8a8b8ff04b3cb7c23f01 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sat, 3 Mar 2012 20:50:55 +0100 Subject: pathnames: clean up various user database paths Signed-off-by: Sami Kerola --- include/pathnames.h | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'include/pathnames.h') diff --git a/include/pathnames.h b/include/pathnames.h index 6c00d9f4a..70c6ecfb3 100644 --- a/include/pathnames.h +++ b/include/pathnames.h @@ -51,23 +51,14 @@ /* used in login-utils/shutdown.c */ /* used in login-utils/setpwnam.h and login-utils/islocal.c */ -#define _PATH_PASSWD "/etc/passwd" +#define _PATH_PASSWD "/etc/passwd" -/* used in login-utils/newgrp */ +/* used in login-utils/newgrp and login-utils/setpwnam.h*/ #define _PATH_GSHADOW "/etc/gshadow" /* used in login-utils/setpwnam.h */ -#define _PATH_PTMP "/etc/ptmp" -#define _PATH_PTMPTMP "/etc/ptmptmp" -#define _PATH_GROUP "/etc/group" -#define _PATH_GTMP "/etc/gtmp" -#define _PATH_GTMPTMP "/etc/gtmptmp" -#define _PATH_SHADOW_PASSWD "/etc/shadow" -#define _PATH_SHADOW_PTMP "/etc/sptmp" -#define _PATH_SHADOW_PTMPTMP "/etc/sptmptmp" -#define _PATH_SHADOW_GROUP "/etc/gshadow" -#define _PATH_SHADOW_GTMP "/etc/sgtmp" -#define _PATH_SHADOW_GTMPTMP "/etc/sgtmptmp" +#define _PATH_GROUP "/etc/group" +#define _PATH_SHADOW_PASSWD "/etc/shadow" #define _PATH_SHELLS "/etc/shells" /* used in term-utils/agetty.c */ -- cgit v1.2.3-55-g7522