Error when deleting all-numerical user from a "user manager"
pfsense 2.0.1 happens to be crash when trying to delete a user from a "user manager"
try to add any username and delete it back right after you add it
no matter you disable the account 1st or you dont, it will keep crash
error code as below:-
Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3688 Warning: Invalid argument supplied for foreach() in /etc/inc/util.inc on line 646
Updated by Chris Buechler almost 12 years ago
- Subject changed from pfsense crash when deleting user from a "user manager" to Error when deleting user from a "user manager"
- Status changed from New to Feedback
- Priority changed from High to Normal
- Target version deleted (
- Affected Version changed from All to 2.0
can't replicate, will leave for further feedback
Updated by dli muc almost 12 years ago
Create a functional OVPN with two users. (with OpenVPN Client Export Utility Pack)
Delete than the users.
If you delete the "last" user you are not able to login via Webinterface. (sse pic.)
Updated by faizal md dan almost 12 years ago
i've send my config files to jimp, hopefully he can check on it
even if you start from a scratch it will still be the same
once user added and deleted, the box will be totally crash
nothing can save the box unless start to reinstall it back again
Updated by Jim Pingle almost 12 years ago
- Status changed from Feedback to New
Well the key here is that you're using a username that is all numbers, apparently. Not sure how well that was tested, it's certainly not something that is common to see. I had thought we rejected those even.
If you make a user with the username "004" and then delete it, somehow the /conf/ symlink is removed as well as some files in /etc/ (like resolv.conf at least)
Needs more investigation, but as a workaround, don't use numerical usernames.