HI,
I have a server with mssql running, it seems that someone changed my pass, is there a way to add a user without rights to access the database only with windows admin rights ?
TIA
|
Full Version: Add Mssql User
HI,
I have a server with mssql running, it seems that someone changed my pass, is there a way to add a user without rights to access the database only with windows admin rights ? TIA
what do you mean with "only with windows admin rights" ??
the only way to access windows by mssql server are stored procedures .. if the user has the right to CREATE or EXECUTE procedures and the mssql server is also starterd with system privileges he can have access to windows .. otherwise only database access .. plz be more specific in what you mean .. !?
If SQL Server running on mixed mode or NT Authentication mode any admin every computer admin can act like SQL sa user.
i understand he want create a account only what you can do is create a nt account on that so you can connect via dameware
net user USERNAME /ADD
net user USERNAME Administrators /ADD then it's finsihed"!!!
Needs to be: net user USERNAME PASSWORD /ADD net localgroup USERNAME Administrators /ADD
I think he has access to the pc but some lame kiddie tried to secure the mssql server by changing to admin pass. Now he cant connect to his db anymore and needs to find a way to change the pass from outside the mssql server. btw. its net locagroup (name of the administrators group) username /Add
you can reset the "sa" account password with out the need to know what was the old one,
using the "osql.exe" with the following syntax, from a CLI. osql -E -Q "sp_password NULL,YourPassword,sa" You should replace the word "YourPassword" and put your password instead. cya
thx basepart worked very well
now i can relax bye This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
|
||||||||