SourceSafe 忘记用户名和密码怎么办?
一不小心将VSS 6 admin用户的密码忘记,找到以下信息
the secret is to hack the um.dat file to remove the Admin password
from offset 80 the bytes are (all numbers are hex)
0:80(行号) 55 55 bc 7f 41 64 6d 69 6e 00 00 00 00 00 00 00
0:90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0:a0 00 00 00 00 90 6e 00 00 a8 01 00 00 00 00 00 00
Just load the um.dat file into a hex editor and change the bytes from =
offset 80 to exactly what is shown above. When the SourceSafe admin tool =
starts it believes that the admin password has never been set.
the hex values above are taken from a 'virgin' um.dat file
of course, you didn't get this from me....and ALWAYS backup first (just =
in case I'm wrong)
用中文解释一下
如果忘记了密码,打开你vss数据库所在的文件夹,打开data目录,
找到um.dat文件,用hex编辑器打开编辑它,从offset 80的55 55 开始
将值改为如上文所述的样子,然后保存,这样um.dat文件就回到了
初始状态(virgin ? :)),然后打开vss admin,用admin用户登录,不需要
密码了。
建议:最好是用手一点一点改,不要复制粘贴,因为我就是复制粘贴,结果不对,最后用手敲就可以了,千万要记住密码。