May 30, 2014 at 1:19 pm
If a password for a SQL Login was erroneously reset, you absolutely have to restore the password to what is was before, but no one knows what is was, will a restore of the Master database to before the reset occurred do the trick?
May 30, 2014 at 1:32 pm
yes i believe that's about all you can do.
the password is stored in a credential, which you can partially review in master.sys.credentials.
It is not possible to script(even in a hashed format) or insert a credential from another source, so restoring master woudl probably be what you would have to do.
but if the password was changed, and some app or process is using that original username/password, you might be able to get the old password from the applciation.
Lowell
May 30, 2014 at 1:33 pm
what is the actual reason you cannot simply use the new password, or set the password yet again?
it seems kind of strange you think you need to restore it, maybe if we help look at the problem sideways we can offer a suggestion?
Lowell
May 30, 2014 at 3:00 pm
I'm not actually in this situation, but I did just reset an unknown password and when doing changes I tend think of "what can go wrong" scenarios ahead of time. In this case I thought "What if the password is stored in encrypted form in an application config and we can't change it?" Most likely we'll be able to update with the new password anywhere it's needed.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply