Click here to Skip to main content
15,879,474 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i connect with sql server through IP address, but suddenly the sql server change the password of "sa" user without i changed it every 2~3 days, what is the reason for that ?
please help ?
Posted
Updated 16-Jul-13 3:31am
v2
Comments
Johnny J. 16-Jul-13 9:23am    
Maybe you should ask your boss if you're still working there?
Ahmad Halabi 16-Jul-13 9:26am    
nobody change the password, the sql server change it every 2~3 days
[no name] 16-Jul-13 9:33am    
The reason for that is someone is going in and changing the sa password.
Ahmad Halabi 16-Jul-13 9:36am    
no,nobody can enter to the server room
the sql server itself change the password randomly
bbirajdar 16-Jul-13 9:42am    
Issue a warning letter to the sql server on the company letter head. Also mention that if he ( sql server ) creates such type of nusiance within company premises, then he will be fired without any warning.

SQL Server does not and will not change the SA password on it's own. There has to be some script running somewhere that is doing it. You do NOT need physical access to the server to change the SA password. It can be done remotely.
 
Share this answer
 
Comments
Ahmad Halabi 16-Jul-13 10:14am    
if that true, what is the solution ? can i block any script of changing the password of "sa" user in sql server ?
lewax00 16-Jul-13 10:23am    
Make sure no one else has the password to sa (and make sure it's sufficiently secure as to not be guessed easily), and make sure no other account has authority to change it.
Ahmad Halabi 16-Jul-13 10:25am    
there are many user access to the sql server (there are program for stotck), i can't do that
lewax00 16-Jul-13 11:09am    
Then it sounds like it's an internal problem, you need to find out who's changing it and why. Or decide if everyone really needs access to sa.
lewax00 16-Jul-13 11:09am    
Then it sounds like it's an internal problem, you need to find out who's changing it and why. Or decide if everyone really needs access to sa.
Check if your server is infected with virus
http://www.symantec.com/security_response/writeup.jsp?docid=2002-052108-5430-99[^]

http://www.sans.org/security-resources/idfaq/spider.php[^]

OR

take a look at the sproc from sp_password -- someone may have compromised it and is logging any password changes you make (allowing them to know the sa password so they can change it again in the future)
The date on the sproc should be the same as the majority of the other system created sprocs in master (depends on your version).
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900