VSS里的用戶權限設置跟本只是好看而已,一無是處!
(方法二)
還有一個更為簡單的方法,也是VSS最大的BUG,都不用修改用戶信息文件!
想用哪個用戶登入都可以,不用密碼。òü芾韱T(Admin)賬號)。
以Admin登入為例,具體方法如下:
1,新建Windows用戶,名稱為Admin。
2,以Admin登陸Windows。
結果打開vss,默認就以Admin為賬號登陸進去了,不用輸入密碼。ㄗⅲ篤SS的Admin當然是設置了密碼了)
還有一個更為簡單的方法,也是VSS最大的BUG,都不用修改用戶信息文件!
想用哪個用戶登入都可以,不用密碼。òü芾韱T(Admin)賬號)。
以Admin登入為例,具體方法如下:
1,新建Windows用戶,名稱為Admin。
2,以Admin登陸Windows。
結果打開vss,默認就以Admin為賬號登陸進去了,不用輸入密碼。ㄗⅲ篤SS的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
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.
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)
in case I'm wrong)
用中文解釋一下:
如果忘記了密碼,打開你vss數據庫所在的文件夾,打開data目錄,找到um.dat文件,用hex編輯器打開編輯它,從offset 80的55 55 開始將值改為如上文所述的樣子,然后保存,這樣um.dat文件就回到了初始狀態(virgin ? :)),然后打開vss admin,用admin用戶登錄,不需要密碼了!
延伸閱讀
文章來源于領測軟件測試網 http://www.k11sc111.com/