January 14, 2010 at 2:39 pm
I have a user who needs to read the SQL server log files. What permissions are required please? I don't want to give him the farm.
When the snows fall and the white winds blow,The lone wolf dies but the pack survives.
Once you've accepted your flaws, no one can use them against you.
January 14, 2010 at 3:09 pm
Which log files? Error log?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 14, 2010 at 3:13 pm
Not the error log. The standard SQL log files.
When the snows fall and the white winds blow,The lone wolf dies but the pack survives.
Once you've accepted your flaws, no one can use them against you.
January 14, 2010 at 6:38 pm
Hi there,
Those log files available under "Management-> SQL Server Logs", under SSMS?
To be able to read these logs the user must be a member of the securityadmin and sysadmin role, and needs to have permission on the msdb DataBase.
José Cruz
January 15, 2010 at 1:29 am
fizzleme (1/14/2010)
Not the error log. The standard SQL log files.
The 'standard SQL log file' is the error log.
Visible in SSMS, gives details on login failures, startup messages, etc. That one?
If you're thinking of something else, please be specific.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 19, 2010 at 2:42 pm
Yes, that error log. If I give my co-developer securityadmin rights, will that be sufficient to read the logs?
When the snows fall and the white winds blow,The lone wolf dies but the pack survives.
Once you've accepted your flaws, no one can use them against you.
January 21, 2010 at 11:12 am
I found the answer. All that is needed is securityadmin rights.
When the snows fall and the white winds blow,The lone wolf dies but the pack survives.
Once you've accepted your flaws, no one can use them against you.
January 21, 2010 at 11:29 am
fizzleme (1/21/2010)
I found the answer. All that is needed is securityadmin rights.
FYI: that role will allow them to do more than just read the logs.
Shawn Melton
Twitter: @wsmelton
Blog: wsmelton.github.com
Github: wsmelton
January 21, 2010 at 11:33 am
why not just create a share for D:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG folder
and give him access to the phisical file that he can open with notepad
this way u don't have to give him a security admin perm which is very powerfull
January 21, 2010 at 11:37 am
That is a reasonable idea. I will consider it.
I am also trying to find a way to give someone rights to the event viewer on windows 2003 server without local admin rights. ideas?
When the snows fall and the white winds blow,The lone wolf dies but the pack survives.
Once you've accepted your flaws, no one can use them against you.
January 24, 2010 at 6:35 am
you could publish the log file in a web page
January 25, 2010 at 9:27 am
Yes, but I don't have access to our web server.
When the snows fall and the white winds blow,The lone wolf dies but the pack survives.
Once you've accepted your flaws, no one can use them against you.
Viewing 12 posts - 1 through 11 (of 11 total)
You must be logged in to reply to this topic. Login to reply