drbowen wrote on Tuesday, May 02, 2006:
I was checking out the posts at openhelth and came on an interesting post by Fred Trotter. LinuxMedNews has a EHR review. Fred apparently wrote the reviews and was kinder to our project than he has been in the past in these forums.
http://ehr.gplmedicine.org/index.php/OpenEMR_Review
He makes some very valid criticisms of our installation process that have bugged me for awhile. I noticed from other installations including XOOPS, PostNuke and other similar PHP MySQL architectures that this problems can and should be ironed out.
The easiest is to create a notice in the setup routine that the first login password is always "pass" regardless of the user.
A better solution would be to have the initial installer to supply a more secure password.
A slicker solution would be to have a random password generated and notify the installer that this would be the initial password.
Also, couldn’t have the setup routine create the required files after asking the asking the installer to change the permissions to allow apache to write to the important directories?
Here are a few quotes:
______________
The next screen was filled with very dense instructions. I needed to create two directories and then change the ownership of those directories to the webserver user. It also told me that to use the document storage features that you needed to similarly change the ownership of the documents directory and make some adjustments to the php.ini file. The instructions also refered me to various configuration files and the GACL setup system. At the bottom of the page there is a link to the newly installed system.
I had chosen the superuser account to be called admin. After trying to login with a password of, "admin", "password" the value I entered for the db password, "demo", and "test", I gave up and did a google search for the default password for OpenEMR. Apparently, it is "pass".
After logging in for the first time, I recieved the following error on the main screen.
Warning: Smarty error: problem creating directory "modules/PostCalendar/pntemplates/compiled/%%164/%%1643473877" in /var/www/html/openemr/interface/main/calendar/modules/PostCalendar/pnincludes/Smarty/Smarty.class.php on line 589
Warning: Smarty error: problem writing ‘modules/PostCalendar/pntemplates/compiled/%%164/%%1643473877/default.html.php.’ in /var/www/html/openemr/interface/main/calendar/modules/PostCalendar/pnincludes/Smarty/Smarty.class.php on line 589
I used the following command to change the ownership so that these templates could be created…
chown nobody:nobody openemr/modules/PostCalendar/pntemplates/compiled/
After doing this, the calendar on the main screen came up and the initial installation was complete.
______________
At first blush the OpenEMR was very powerful. The basic database creation and information gathering works quite well, with the notable exception of using a default password, and what is worse, not documenting it (in) the setup procedure. Also, most of the complex configuration is left till after the installation, not by configuring inside the OpenEMR GUI, but rather by editing text files. For what the wizard did cover, however, it was very smooth and clear.
Also, there was an uncaught file permission error on the installation. It is possible to verify that important files have proper permissions, so this sort of error should not occur.
As for security, the creation of a seperate database user for just openemr is excellent. Forcing a strong password for that user is also excellent. Insisting on an default password, however, is not such a good idea. There was no option that I could find to restrict installation to a particular IP address. Overall…
* Catching Errors - Poor (required me to understand a file permissions error)
* Ease of installation - Good (lots of configuration was handled without editing text files)
* Security - OK (Would have been excellent ex(cep)t for the default password and the lack of IP security)
______________
Why does OpenEMR allow us to change the Patient number?
Well, to allow old paper systems to be brought into concurrence with the new EHR. I use this feature daily in my practice.
Thanks, for the nice and fair review Fred.
Sam Bowen, MD