1 /* 2 * setpwnam.h -- 3 * define several paths 4 * 5 * (c) 1994 Martin Schulze <joey@infodrom.north.de> 6 * This file is based on setpwnam.c which is 7 * (c) 1994 Salvatore Valente <svalente@mit.edu> 8 * 9 * This file is free software; you can redistribute it and/or 10 * modify it under the terms of the GNU Library General Public License as 11 * published by the Free Software Foundation; either version 2 of the 12 * License, or (at your option) any later version. 13 */ 14 15 #include "pathnames.h" 16 17 #ifndef DEBUG 18 # define PASSWD_FILE _PATH_PASSWD 19 # define GROUP_FILE _PATH_GROUP 20 # define SHADOW_FILE _PATH_SHADOW_PASSWD 21 # define SGROUP_FILE _PATH_GSHADOW 22 #else 23 # define PASSWD_FILE "/tmp/passwd" 24 # define GROUP_FILE "/tmp/group" 25 # define SHADOW_FILE "/tmp/shadow" 26 # define SGROUP_FILE "/tmp/gshadow" 27 #endif 28 29 extern int setpwnam (struct passwd *pwd); 30