SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 chaning sa login details
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Ex
Posting Yak Master

Australia
166 Posts

Posted - 01/11/2005 :  00:44:53  Show Profile  Reply with Quote
hey all

i noticed with enterprise manager that you cannot edit the value of

USER

from security-> logins -> "select a user"
if you select a user you create and go to database access tab you can edit the value of USER (which is the same value that select USER in the code would have)

but you cannot do this for login sa

why is that? and is there a way to edit this? cause i kinda need to change this for legacy issues with some old code if possible

tkizer
Almighty SQL Goddess

USA
35007 Posts

Posted - 01/11/2005 :  15:20:57  Show Profile  Visit tkizer's Homepage  Reply with Quote
No there is no way to do that. And why would this resolve some legacy issues? What does the legacy system require?

Tara
Go to Top of Page

Ex
Posting Yak Master

Australia
166 Posts

Posted - 01/11/2005 :  21:25:29  Show Profile  Reply with Quote
they wnated to login using sa and the password

but they want the select USER value to be 'SYSDBA' like in interbase howeer after much research there is no way to do it at least i cant find a way
Go to Top of Page

robvolk
Most Valuable Yak

USA
15559 Posts

Posted - 01/11/2005 :  22:10:19  Show Profile  Visit robvolk's Homepage  Reply with Quote
NEVER EVER under any circumstances use any administrator login for an application. This is regardless of which database or other supporting application being developed for. The fact that the legacy app uses it does not make it a proper practice. It is a huge security risk and makes the entire database server vulnerable for no good reason.
Go to Top of Page

tkizer
Almighty SQL Goddess

USA
35007 Posts

Posted - 01/12/2005 :  12:17:31  Show Profile  Visit tkizer's Homepage  Reply with Quote
They wanted to login using sa and the password? But why? Did they give a reason? Or are they just too lazy to tell the DBA which permissions that they require on the server?

Tara
Go to Top of Page

Ex
Posting Yak Master

Australia
166 Posts

Posted - 01/12/2005 :  17:00:54  Show Profile  Reply with Quote
well the reason made me laught they said the application was writeen in spagety code, with the username and password all through the code :) turst me i know tw its writtein in a o-o language i dont quite understand it myself but anyways they said they didn't want to go back through it all if there was a way to edit the username (not login or password just name displayed when using USER) for the sa account :)

i told them no there wasn't and it wasn't overly secure to use sa guess we shall see
Go to Top of Page

tkizer
Almighty SQL Goddess

USA
35007 Posts

Posted - 01/12/2005 :  18:17:33  Show Profile  Visit tkizer's Homepage  Reply with Quote
Why don't you just create a sysadm account and grant it the permissions that it needs?

Tara
Go to Top of Page

jsmith8858
Dr. Cross Join

USA
7423 Posts

Posted - 01/12/2005 :  19:56:57  Show Profile  Visit jsmith8858's Homepage  Reply with Quote
Tell your developers there's a way they can do a SEARCH their code! It's a great feature. Some of the more advanced software development tools (written since, say, 1984) even include a SEARCH/REPLACE function !

- Jeff
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.11 seconds. Powered By: Snitz Forums 2000