diff options
author | Matthew Grooms <mgrooms@pfsense.org> | 2008-08-01 06:30:34 +0000 |
---|---|---|
committer | Matthew Grooms <mgrooms@pfsense.org> | 2008-08-01 06:30:34 +0000 |
commit | 6b07c15ad870f24e783a23c4a64fbb73958543ad (patch) | |
tree | 4fdff8bc51d8a4bb299a487d41c6e5c4b2f3e0fd /etc/rc.initial.password | |
parent | c9030aec2206b2612f32eaa79ddbedcb282b639a (diff) | |
download | pfsense-6b07c15ad870f24e783a23c4a64fbb73958543ad.zip pfsense-6b07c15ad870f24e783a23c4a64fbb73958543ad.tar.gz |
Rewrite the pfsense privilege system with the following goals in mind ...
1) Redefine page privileges to not use static urls
2) Accurate generation of privilege definitions from source
3) Merging the user and group privileges into a single set
4) Allow any privilege to be added to users or groups w/ inheritance
5) Cleaning up the related WebUI pages
Diffstat (limited to 'etc/rc.initial.password')
-rwxr-xr-x | etc/rc.initial.password | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/rc.initial.password b/etc/rc.initial.password index 64dd34e..f92055f 100755 --- a/etc/rc.initial.password +++ b/etc/rc.initial.password @@ -45,8 +45,7 @@ The webConfigurator password will be reset to the default (which is "' . strtolo foreach ($config['system']['user'] as & $user) { if (isset($user['uid']) && !$user['uid']) { $user['name'] = "admin"; - set_local_user_password($user,strtolower($g['product_name'])); - set_local_user($user); + set_local_user($user, strtolower($g['product_name'])); write_config(gettext("password changed from console menu")); system_password_configure(); break; |