Revision 7d88b426
Added by Renato Botelho over 12 years ago
etc/rc.initial.password | ||
---|---|---|
58 | 58 |
$admin_user['scope'] = "system"; |
59 | 59 |
$admin_user['priv'] = array("user-shell-access"); |
60 | 60 |
|
61 |
if (isset($admin_user['disabled'])) |
|
62 |
unset($admin_user['disabled']); |
|
63 |
|
|
61 | 64 |
local_user_set_password($admin_user, strtolower($g['product_name'])); |
62 | 65 |
local_user_set($admin_user); |
63 | 66 |
write_config(gettext("password changed from console menu")); |
Also available in: Unified diff
Re-enable admin user if it's disabled when 'Reset webConfigurator password' option is used. Fixes #2877