summaryrefslogtreecommitdiffstats
path: root/include/pathnames.h
diff options
context:
space:
mode:
authorSami Kerola2012-03-03 20:50:55 +0100
committerSami Kerola2012-03-18 14:28:05 +0100
commit6a91958bf8c64247cb9c8a8b8ff04b3cb7c23f01 (patch)
tree063a60cc8ebe0663de876e1f5a4b7f406b64eb44 /include/pathnames.h
parentvipw: use xmkstemp() and lckpwdf() (diff)
downloadkernel-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.h17
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 */