Bug #2066
closed
Error when deleting all-numerical user from a "user manager"
Added by faizal md dan over 14 years ago.
Updated about 14 years ago.
Category:
User Manager / Privileges
Description
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
Files
- 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 (
2.0.1)
- Affected Version changed from All to 2.0
can't replicate, will leave for further feedback
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.)
It crash.
- Affected Version deleted (
2.0)
We need a full copy of your config.xml to work with. We cannot replicate this in any circumstances that we have tried, there must be something specific to your config that is leading to this problem.
Is there a email Address to send?
jimp (at) pfsense [dot] org.
Probably special characters?!
But where?! i clean it up during the upgrade from 1.2.3
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
thanks ;)
- 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.
- Subject changed from Error when deleting user from a "user manager" to Error when deleting all-numerical user from a "user manager"
- Target version set to 2.1
- Affected Version set to 2.0
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset commit:9fd145911d89d7ca891d0e08a861474420361990.
Applied in changeset commit:a82b1ab12d1f433c7f0e9bfc6e952cf511de8045.
- Status changed from Feedback to Resolved
Also available in: Atom
PDF