From 17f17002d70d70b8b448bc37efb3a510fee947ae Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 19 Apr 2006 17:24:55 +0000 Subject: [PATCH] When resetting the password from the console, reset the username to "admin". Needless to say I waisted way more time than I should have finding this issue. --- etc/rc.initial.password | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/rc.initial.password b/etc/rc.initial.password index 70ab5852e2..f6ef39a1ea 100755 --- a/etc/rc.initial.password +++ b/etc/rc.initial.password @@ -44,7 +44,8 @@ Do you want to proceed [y|n]? EOD; if (strcasecmp(chop(fgets($fp)), "y") == 0) { - + + $config['system']['username'] = "admin"; $config['system']['password'] = crypt("pfsense"); write_config("password changed from console menu");