summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-04-19 17:24:55 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-04-19 17:24:55 +0000
commit17f17002d70d70b8b448bc37efb3a510fee947ae (patch)
treea7ffb5ca2cd0fd20cd5c3aca978d527c87ef7fe6 /etc
parentd5b7b3cc87e9115cd64846c296edc0a214c08d5c (diff)
downloadpfsense-17f17002d70d70b8b448bc37efb3a510fee947ae.zip
pfsense-17f17002d70d70b8b448bc37efb3a510fee947ae.tar.gz
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.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.initial.password3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/rc.initial.password b/etc/rc.initial.password
index 70ab585..f6ef39a 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");
OpenPOWER on IntegriCloud