diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-04-19 17:24:55 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-04-19 17:24:55 +0000 |
commit | 17f17002d70d70b8b448bc37efb3a510fee947ae (patch) | |
tree | a7ffb5ca2cd0fd20cd5c3aca978d527c87ef7fe6 /etc/rc.initial.password | |
parent | d5b7b3cc87e9115cd64846c296edc0a214c08d5c (diff) | |
download | pfsense-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/rc.initial.password')
-rwxr-xr-x | etc/rc.initial.password | 3 |
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"); |