creating login2 with same password as login1

how can I create a sql login login2 with the same password as login1 if I am an administrator and I don t know what the password of login1 is

Thanks

P.S: It s just that I m creating script automating changing domain name in sql logins and sql DB users becuase that didn't happen automatically after a windows migration

Thank you.



Answer this question

creating login2 with same password as login1