Install setup script

bradymiller wrote on Sunday, May 09, 2010:

hey,
Was considering removing the ‘OPENEMR USER’ section from STEP 2 of the setup script. Then all first users will be admin; this would simplify the setup script and avoid newbie errors. Besides, this script isn’t even used in the majority of package downloads anyways (ubunut package, xampp, and appliance). What do you think?
-brady

plasticdoc wrote on Sunday, May 09, 2010:

If you admit that the majority of package downloaded do not use this script,
if this script is already well tested as is and has been flawless working for quite a while,
if this OPENEMR USER section gives some flexibility to those who use the script,
why not leaving it as is?

blankev wrote on Sunday, May 09, 2010:

Brady,

my thoughts:

1. installing with USER and Password would be a great improvement for first installation, less things to remember and less error prone interventions needed.

2. Remember to make a flashing banner to remind them to change the Password after install.

3. Problem might arise, for instance if Installation is on a Web-Server, it creates a break of security, since then the USER will always be Admin and as far as I know, it is almost impossible to change. Or make the obligation to CREATE new USER with “ALL PERMISSIONS” followed by DELETE “Admin”.

Pimm

bradymiller wrote on Monday, May 10, 2010:

hey,

Thanks for the input. Note I’m just throwing the idea out there. Also note it’s a very straightforward change with very low bug risk. Since groups don’t seem to be used, perhaps we should consider just yanking the  ‘Initial Group’ stuff.

The issue for the user name and name is there’s really no validation, and the name only seems to set the last name of the user. Just seems like there’s risk for error is all.

No matter what, the user needs to change their default password when they login. This is “common sense” stuff, and the manual describes the password change.

-brady