diff options
author | Sami Kerola | 2012-03-03 20:50:55 +0100 |
---|---|---|
committer | Sami Kerola | 2012-03-18 14:28:05 +0100 |
commit | 6a91958bf8c64247cb9c8a8b8ff04b3cb7c23f01 (patch) | |
tree | 063a60cc8ebe0663de876e1f5a4b7f406b64eb44 /include/pathnames.h | |
parent | vipw: use xmkstemp() and lckpwdf() (diff) | |
download | kernel-qcow2-util-linux-6a91958bf8c64247cb9c8a8b8ff04b3cb7c23f01.tar.gz kernel-qcow2-util-linux-6a91958bf8c64247cb9c8a8b8ff04b3cb7c23f01.tar.xz kernel-qcow2-util-linux-6a91958bf8c64247cb9c8a8b8ff04b3cb7c23f01.zip |
pathnames: clean up various user database paths
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'include/pathnames.h')
-rw-r--r-- | include/pathnames.h | 17 |
1 files changed, 4 insertions, 13 deletions
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 */ |