Index: user/login/login.c =================================================================== RCS file: /cvs/sw/new-wave/user/login/login.c,v retrieving revision 1.20 diff -u -r1.20 login.c --- user/login/login.c 4 Feb 2003 04:36:07 -0000 1.20 +++ user/login/login.c 17 Mar 2003 23:06:58 -0000 @@ -34,8 +34,10 @@ /*****************************************************************************/ -#ifdef OLD_CONFIG_PASSWORDS +#ifdef CONFIG_USER_FLATFSD_FLATFSD #define PATH_OLD_PASSWD "/etc/config/config" +#else +#define PATH_OLD_PASSWD "/etc/passwd" #endif /* Delay bad password exit. Index: user/boa/src/config.c =================================================================== RCS file: /cvs/sw/new-wave/user/boa/src/config.c,v retrieving revision 1.11 diff -u -r1.11 config.c --- user/boa/src/config.c 4 Nov 2002 05:52:14 -0000 1.11 +++ user/boa/src/config.c 17 Mar 2003 23:06:58 -0000 @@ -459,7 +459,11 @@ char temps[256], *p; FILE *fp; +#ifdef CONFIG_USER_FLATFSD_FLATFSD fp = fopen("/etc/config/config", "r"); +#else + fp = fopen("/etc/passwd", "r"); +#endif *auth_old_password = '\0'; if (fp != NULL) { while (fgets(temps, 256, fp) != NULL) {