Any way to disable the password requirement?

From NWChem

You are viewing a single post from the thread title above
Jump to: navigation, search

Click here for full thread
Clicked A Few Times
Threads 13
Posts 35
Quote:Gary Apr 16th 11:35 am
I just created a backdoor feature to allow you to skip the data server password prompt dialog. This would only be a reasonable feature to use on a machine that isn't shared where you don't mind having the ECCE data server (Apache web server) password in a plaintext file. But, if it is just your personal workstation where you have installed ECCE and the workstation is not on the open internet for external access, it should be fine.

First, you'll need to download and install the latest ECCE 6.4 that I just pushed out today. Then to use this feature you'll edit a new file named ServerPass in your .ECCE preferences directory that is under your home directory. I would highly recommend doing a "chmod 600 ServerPass" after you create this file so it's only viewable by you--doesn't protect you of course if someone gains root access to your system, but then again everything you have on the system is exposed anyway in that instance so no reason to be especially concerned about protecting ECCE calculation data. In the ServerPass file simply put your ECCE data server password and that's it. It goes on the first and only line of the file with nothing else. Save this file and then run the latest ECCE. It should no longer prompt you and work fine with importing calculations as well based on my tests. Should the value you put in the ~/.ECCE/ServerPass file no longer be your correct data server password, or if the file is deleted, ECCE will revert to prompting again. So it tries the value in the file once if it finds one and then reverts to prompting if it doesn't work or the file doesn't exist.


Well, it took a while to try this but it works beautifully. Thank you for adding this feature.


Who's here now Members 0 Guests 0 Bots/Crawler 0

AWC's: 2.5.10 MediaWiki - Stand Alone Forum Extension
Forum theme style by: AWC