Answered how to fetch user password

  • Monday, March 08, 2010 5:24 AM
     
     
    I am a DBA.I am connected to sqlserver 2005 using 'sa' account.
    I want to fetch the password of a user.
    how to do so?

All Replies

  • Monday, March 08, 2010 6:14 AM
     
     
    I am a DBA.I am connected to sqlserver 2005 using 'sa' account.
    I want to fetch the password of a user.
    how to do so?
    SELECT NAME,PASSWORD
    FROM SYSLOGINS
    WHERE NAME = 'SA'

    Thanks,
    Mayur
  • Monday, March 08, 2010 6:19 AM
     
     
    thank...
    but the password is encrypted.
    how to decrypt it?

    moreover how we can one see the password of any  user other than 'sa'?
  • Monday, March 08, 2010 6:23 AM
     
     Answered
    thank...
    but the password is encrypted.
    how to decrypt it?

    moreover how we can one see the password of any  user other than 'sa'?
    There is not way to decrypt the password.
    No third party tool is available to fetch the password.
    If you get any such information related to fetching the password then kindly update me on guptamayur059@hotmail.com

    Thanks,
    Mayur

  • Tuesday, March 09, 2010 6:13 AM
     
     Answered
    you ca also use these 2 views for SQL2005 and SQL2008. 1. sys.server_principals 2. sys.sql_logins but for the password, it's hard and can't to see.
  • Tuesday, March 09, 2010 6:19 AM
     
     Answered
    1 workaround is to reset the password by deleting the password field in the msdb, then reset a new one.