Is it possible for the SA to find out a current user's password. I know that it is possible for the SA to change the user's password, but I am lost as to how to find the user's current password. Any help would be appreciated, Thanks
Are you one of those, like me, who has plenty of SQL Servers in Enterprise Manager, but have forgot over the time which username and password you used to add the SQL Server to the list of servers and groups?
Run this VbScript code!Dim oApp, lServer, lGroups
Set oApp = CreateObject("SQLDMO.Application")
For lGroups = 1 to oApp.ServerGroups.Count For lServer = 1 To oApp.ServerGroups(lGroups).RegisteredServers.Count MsgBox oApp.ServerGroups(lGroups).Name & " - " & _ oApp.ServerGroups(lGroups).RegisteredServers(lServer).Name & " - " & _ oApp.ServerGroups(lGroups).RegisteredServers(lServer).Login & " - " & _ oApp.ServerGroups(lGroups).RegisteredServers(lServer).Password & " - " & _ oApp.ServerGroups(lGroups).RegisteredServers(lServer).UseTrustedConnection Next Next
My goal is to write a DR plan where i am restoring all user databases onto a diffrent server in a event of hardware failure. I was trying to figure out a way to extract DDL of user accounts and their permissions on all user databases so i can simplify my DR documentation.
This is the plan I came up with...to restore all system and user dbs on a different Physical SQLServer.
1. build named instance $PROD
2. restore master database
- startup sqlserver in single user mode -m or DAC sqlcmd -S ServerName -U sa -P<xxx> –A net stop MSSQLSERVER$PROD net start MSSQLSERVER$PROD -m - restore database master from disk e:master.bak with replace;
3. start sqlserver normally
4. stop SQLServer agent
5. restore msdb
-restore database msdb disk e:msdb.bak with replace;
My users are unable to view reports on server A. When trying to access it shows up as users have no access to the reports. We have another server B which also deploys the same set of reports,to the same set of users as Server A.Users are able to view the reports on Server B. Both server B & A are used for deploying reports that are created on another development server.I am very new to the concepts of IIS and report administration.Could someone tell me what I can start checking on? What are the settings that I can compare on both server ?
If I am not very clear on the problem explained above.Do let me know I would be glad to explain futher.
We have an old database & server that is supposed to be used forreference only. Access to this is minimal and read-only.What I need to do is find out what a specific user did on a certainday. I know which user it was and I know the day, but I need to proveif they did anything on the server (fantastic if I can tell what theyactually did). I'd like to be able to tell if they had logged on aswell.We suspect that they looked up some confidential information onsomeone they shouldn't have. I need to do this for a HR investigation.Running SQL 6.5Any help would be appreciated.
Here's the situation, developers inherit a web app from someone,backend SQL db has about 120 user tables and the db is also being usedby other apps. Developers don't have a list of user tables being usedby this app, now, I need to create a new db based on this one, whichwould be used by this app only. So, I intend to find all the usertables being used by this app, then copy its schema and possibly dataas well to a new db. FYI, current ERD is not this app.One option to find out all the user tables being used by this app is todo recursive search for FROM and JOIN against the full spectrum of theuncompiled source code, then, weed through such an extracted list whenin doubt about a particular table, one caveat is a portion of code withsql stmt could have already been commented (no longer being used thoughstill in the code).Better option?TIA.
TimeStart - Which is the time and date that the user logs in
TimeEnd - Which is the time and date that the user logs out
Using SQL, how do you find who has logged in using the same account within the same time period. In other words, Two people are using the same username and are logged in at the same time.
Is there anyway to find the permissions assigned to user. What level of access the user has in each db and the tables & is he able to see jobs. Each object and permissions
Hi there!Is there any way to find the user who did some transaction of updatein query analyser in certain time ?The update was done manually in query analyser and is not throughsystem.Is there any way to check it?Any command or software to check this data as when certain table wasupdated?Thanks for the help!
I am havining problems connecting to my database in some projects. I installed MSDE and didn't get prompted for any passwords. When I Initialize the connection and use: Integrated Security=aspi, the connection works ok for some projects but not for others, it doesn't seem to work with a server-side script block or from a sql dattabase that I created in the server explorer in visual studio VB.NET. When I test the dattabase connection in server explorer it works fine.
Is this intergrate securtiy supposed to work only with applications that connect to sample databases like the pubs database, and also not in server-side script?
How do I create a username and password for a default instance of MSDE?
I have found setup instruction on upgrading MSDE to create a username and password but I am not upgrading.
If I do create a username and password will initializing the connection with: Intergrated Security = aspi, still work?
I would apprecate any help I could get as I am a newbee. Many thanks, Glen Conaway
I have just installed MSDE (first time ever). I am now trying to work with it (first time ever) Most tools I now find I need to use, ask simple questions like:
Name of Server: User Name: Password:
I know the name of the server - fantastic I did not specify a user name or password when installing -
WHAT DOES IT WANT ????
ie, How do you specify the user name and password AFTER installing the server.
I'm got a "folder" structure application which we'll be using as an in-house directory viewer. (In case you're wondering, it doesn't relate to any "real" folders, so using xp_cmdshell is out! )
Each folder and file record can have its own permissions, however these are assumed to inherit from the parent folder if no specific access rules have been set, basically in the same way file systems work. Each file record can only have one parent, and a folder can either have a parent or be at the root level.
Right now I'm having an issue with the inheritance of permissions. Say if I want to grant access to "Folder 1" to "Group A", then "Group B" shouldn't be able to see it. However, if I grant access to "File 1" in "Folder 1" to "Group B", then "Group B" should be able to see "Folder 1", but only see "File 1" and not the rest of the contents.
I thought I could do this with a CTE, but I'm having a bit of difficulty..
Here's the code:
CREATE TABLE #FileSystem ( FSIDINTEGER NOT NULL IDENTITY(1,1) PRIMARY KEY ,ParentFSIDINTEGER NULL ,NameVARCHAR(100) ,RecordTypeVARCHAR(1)-- (F)older, or Fi(L)e
Hi I have add one new database mdf file in my project by ---> add new Item in to project. But This database.mdf file is in windows authetication mode. So there is no password assign to this. I want to assign use id and password to this database or I want to give sql server authetication mode. I have tried Modfy Connection property of database but that is not working. what is the default username of this conncetion????? REply.....
Can the user change their password in Enterprise Manager? When they follow the documentation, this does not seem to work unless they are sa: (I know about sp_password....we are trying to find a GUI method for typical user.)
Expand a server group; then expand a server. Expand Security; then click Logins. In the details pane, right-click the login to modify, and then click Properties. In Password, on the General tab, enter a new password. Confirm the password.
My SQL Server is running as a Domain user account and it asked me to enter the password for thr Domain user account when I was changing the Startup account from Local to Domain user. My QUESTION here is: Is there a way or command for me to change the password automatically on the Services account, if I change the password for the Domain User account/.
I newly installed SQL Server 2005 .I did not mention any username and password during installation.But now i want to specify one.Can you tell me how to do so .My Operating System is WindowsXp.
Hi all, I can run the import/exp through the utility and link to oracle to extract data via OLE DB ORACLE interactively,it run prefectly ok.
However, when I try to schedule as a package and jobs, it always give me invalid password/username. Why the username/password not save or somehow it wouldn't accept when run as package or jobs?
I have a database app that deploys with sql 2005 express to each end-user. I would like to install sql 2005 express using Windows Authentication only. In this case, should I bother to set an sa password? And if I do set the sa password, how would I go about making sure that the sa password is different for every installation of sql express? Would it be recommended to save every end-user's sa password (possibly tens of thousands of passwords) just in case sql maintenance needs to be done on their computer? Any help would be greatly appreciated. Thanks!
Is there a T-SQL command or script that would help me in retrieving a lost SQL User password? I have just migrated a SQL server instances from one server to another, and in order to modify the SSIS packages, I need the password for the user that it uses. I would much rather know the existing password rather than change it.
Can I find out the password of an aliased databases user? We have a third party app that uses one but it has no corresponding server login so I don't know what the password is set to and I need to change it.
I can easily find user created stat in a databaseSELECT * FROM DB.sys.stats WHERE user_created=1But how do I determine what tables those stats are in? with over 6000 tables I don't feel like looking through all the tables.
Is there a way to find out my user id and password that should be used in my connection string? If I can not find this information out for myself, do I need to go to some type of system administrator. Here is the connection string in my web.config file. <connectionStrings> <add name="SPK" connectionString="Server=localhost; User ID=AppUser;Password=meander;Database=atstdb01; Persist Security Info=True" providerName="System.Data.SqlClient"/> </connectionStrings>
When I access this connection string via my code, A little dialog box pops up with the following error message: Login failed for user AppUser. Reason: Not associated with a trusted SQL Server connection.
A user forgot her password, how do I reset her password? sp_password require a former password to change, and I'm unable to do that since she forgot her's
Is there an automatic way of changing the Domain user password getting used for running the SQL Server as a Domain user account? I'm taking about EM---Security----Domain User name and the password getting used for running the SQL Server?
SQL Server 2005 Express will not allow me to change the password for my login user. I tried deleting the user and re-creating the user. Another password is being put in although the password I put in was accepted. I even test to see what would happen if I left the password blank. It got accepted. But when I look at the password for my login user again, a different and much longer password was put in. I even tried this T-SQL statement:
CREATE LOGIN <loginname> WITH PASSWORD='<passwordname>', CHECK_EXPIRATION = OFF, CHECK_POLICY = OFF
Dear AllI have a problem ,as i created the new user itspassword became changed.I logon SQL Server as[color=blue][color=green]>> Server Name: localhost>> Server option : window athentication[/color][/color]then i created a new user[color=blue][color=green]>>user name = test>>password = 123[/color][/color]then,i refreshes the serveras i click on the test userits password become too long as ************what is the reason