双鱼 2006-12-22 13:49
VSS中如果一个帐户和管理员帐户的权限是一样大,是否可以不输入密码直接进入数据库?
::em71::
VSS中如果一个帐户和管理员帐户的权限是一样大,是否可以不输入密码直接进入数据库?
前两天忽然注意到这个问题,想想可能是因为这样,大家知道么?
hifly 2006-12-22 14:36
任何人可以不输入密码直接进入数据库。设置环境变量就可以。
但管理员一般应该设置密码,而且要复杂一点。
双鱼 2006-12-23 15:47
嗯。原来是要输入的,但现在一打开VSS,它直接就进去我那个库去了,别人装了一个,结果还是新装的,因为他本人的权限是全部,和管理员一样,结果没输入密码就进去了。谁能帮忙解释一下,到底是因为什么?
原来从来没有注意过这个现象,也从来没有深入地去考虑过。
hifly 2006-12-25 08:45
如果登陆操作系统的用户名和密码,和vss的用户名和密码一致。
登陆vss时,就直接登陆了。
双鱼 2006-12-25 08:56
::em71::
是这样子么,可是我的操作系统登陆的密码与VSS登陆的密码不一样啊,为什么也直接进入VSS了呢?
dinglijie1984 2007-2-7 15:40
不好意思,路过进来看看,我接触的只有CC和CQ,你说的情况没有遇到过,帮不上忙不好意思了
web_web_ 2007-3-22 14:12
把那个默认输入密码的勾去掉再重新登陆机器再试试看?
hifly 2007-3-26 10:39
设置环境变量:
ssdir
ssuser
sspwd
就可以自动登陆。
bin800 2007-4-2 23:10
哈哈,我知道楼主出现问题的原因
你的vss用户名和你操作系统的用户名是相同的吧?哈哈 当他们是相同的时候就会出现你说的那种情况,双击直接进入vss.如果想不这样就更改一下登陆名称.
漂亮老婆婆 2008-2-20 10:41
都需要,除非你是在本机建的DB,否则没有直接可以进入的~~~
漂亮老婆婆 2008-3-10 10:44
可以直接进入的,有没有谁提供好的方法进行隔离??
有同事自己机器的用户名是admin,与服务器VSS管理员的名字一样,每次登VSS时,不用输密码直接就进去了,总是与我这个配置管理员身份冲突,苦恼没有解决办法啊~~~~
hifly 2008-3-10 11:07
To display the General tab
On the Tools menu, click Options, and then click the General tab.
Dialog Box Options
Allow multiple checkouts
...
[b]Use network name for automatic user log in[/b]
Sets whether VSS reads users' logon names from the operating system. This option bypasses any Visual SourceSafe passwords that might be set. If you select this box, VSS automatically attempts to get usernames from the operating system. [color=red]Clear this box if you want users to use logon names different from their network logon names[/color] — VSS displays a Login dialog box unless users supply a username in some other way (with an environment variable, for example).
Security Note Using the network name for automatic user login has security consequences that the Administrator should consider. It is recommended that this login method is used only in protected networks in which all users are fully trusted. For more information about the security considerations, see the Microsoft Knowledge Base article Q283618.
把这个选项去掉,还能自动登陆吗?
hongerchen 2008-3-10 11:34
[quote]原帖由 [i]hifly[/i] 于 2008-3-10 11:07 发表 [url=http://bbs.scmlife.com/redirect.php?goto=findpost&pid=78691&ptid=1878][img]http://bbs.scmlife.com/images/common/back.gif[/img][/url]
To display the General tab
On the Tools menu, click Options, and then click the General tab.
Dialog Box Options
Allow multiple checkouts
...
Use network name for automatic user log in
Sets ... [/quote]
海飞说的是对的,我配合一下,截一张图,第2个复选框即是。