LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  Password Reset

    Employee
    Posted 10-23-2009 08:12

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: burke

    I am wanting to go from version 4.1.1.0 of BRE to 4.1.4 however I have saved my password in the BRE and no longer remember it - or better it's not what I thought it was :p

    The only password changer that I know of is the 'changeBrainPassword.py' script in the bin/ dir however this requires knowing the old password.

    Aside from removing my old account and creating a new account - which would require a server restart - is there any other way of resetting a user's password? Is there anyway of migrating the stored password into the newer version? Can I blank my existing password in the passwd file to reset it? I've noticed a 'getPasswordHash.py' in conf/brain/ can I perhaps use this to hash my pass and replace the old pass in the passwd file?

    Ideally the solution wouldn't involve restarting the server since we are a multi-user environment.


    Thanks in advance,
    Burke

    wow - no permission on the forum to create tags either?
    password,reset,authentication,troubleshooting
    			
    				The following errors occurred with your submission:

    1. You do not have permission to create tags. You may only use existing tags.


  • 2.  RE: Password Reset

    Employee
    Posted 10-23-2009 09:24

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: timonk

    Good Day,

    Up to the 4.1.4 release there is not a way to modify the password file without restarting the server. However; for your own information going forward, the 4.1.4 release of BRAIN comes with the enhancement that you may now modify users and user-passwords without restarting the server. It only requires toggling your BRE connection with the server.

    Regards
    T. Koufopoulos


  • 3.  RE: Password Reset

    Employee
    Posted 10-23-2009 10:38

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: burke

    I'm not sure I fully understand, if we have 4.1.4 version of the server (which it appears we do)
    19725 ?        Sl   194:18 java -classpath /opt/lavastorm/brain4.1.4/lib/
    I can change my password and / or create a new user and still connect by simply disconnecting the client and reconnecting?

    So theoretically if I hand edit/change the hash in passwd by using the 'getPasswordHash.py' script to hash a new pass for the passwd I should be able to connect?


  • 4.  RE: Password Reset

    Employee
    Posted 10-23-2009 11:13

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: timonk

    Burke,
    If you in fact are currently running a 4.1.4 server then I do believe that the modifications you are speaking of will be picked up, and useable when you reconnect to the server with BRE.

    Upon rereading your post, I had originally thought you were upgrading the entire setup, not just BRE, and thus were on an older server.

    Regards
    T. Koufopoulos


  • 5.  RE: Password Reset

    Employee
    Posted 10-23-2009 12:54

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: burke

    Well I gave it a try and sure enough it worked.

    used the following:
    python /opt/lavastorm/brain4.1.4/conf/brain/getPasswordHash.py burke
    which returned:
    hash(burke)=25263B46ABC397CCC27574EC1D242300
    Then replaced the old hash in the passwd with the new hash and connected successfully without restarting the server.

    Thanks for your help.

    p.s For the record I used a password a BIT more secure than the example given above


  • 6.  RE: Password Reset

    Employee
    Posted 10-23-2009 14:30

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: burke

    The above may not be a complete solution.

    I am finding that although I can connect and execute graphs, it appears I am failing authentication when trying to view node output.

    15:12:09 >>Msg: AUTHMETHODS from 142.178.204.142:7721#Viewer
    >>     method:brain-auth
    >>     
    15:12:09 >>Msg: CHALLENGE from 142.178.204.142:7721#Viewer
    15:12:10 >>Msg: AUTHFAILED from 142.178.204.142:7721#Viewer
    When I connect with a generic account we had previously setup I can view the node output.

    So it appears in order to read the node outputs a server restart will be required.


  • 7.  RE: Password Reset

    Employee
    Posted 10-26-2009 06:13

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: timonk

    Burke,
    If you have not, please try a restart of BRE. This is to check if BRE has the old password cached somewhere. If you can execute graphs, you should be able to check the outputs.
    I will attempt to reproduce this in house today.
    Regards
    T. Koufopoulos,
    MDA support.


  • 8.  RE: Password Reset

    Employee
    Posted 10-26-2009 08:40

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: burke

    A restart was done on the weekend and I can now view node output.