views:

63

answers:

2

I can access the location where the VSS database files allocate. I can also manipulate the users.txt file for VSS. How to How to add a user for Visual Source Safe without an admin account, but by directly manipulating the files?

+1  A: 

How about simply resetting the VSS admin password?

My feeling is that it's a gamble when it comes to editing files for VSS. Yes, they're just files, but what side effects could there be by taking this backdoor approach? It's an unknown quantity on what actually happens within the VSS Admin console when adding a new user. Why not just do it the right way?

p.campbell
Thanks. Resetting the admin password is not allowed:(
airbai
@airbi: what possible situation are you in that you cannot reset the password?
p.campbell
The situation is I am not the admin. Admin is OOF,I cannot wait he is back to add a user.
airbai
A: 

How about creating a local Windows account on the server named Admin? You should have free reign to add new users to VSS, apparently. That's teh suggestion on this thread at microsoft.public.vstudio.sourcesafe from 2003. Your mileage may vary, depending on version.

If you just want to add new users, create an NT account called Admin and run SourceSafe Admin as that user - no password prompt will appear! You may have to add "Use_Network_Name = Yes" to the srcsafe.ini file for this to work. The only thing you can't do is change the password, because you need to know the old password to do that.

p.campbell