May 4, 2016 at 12:43 pm
We have a SQL cluster set up and when the users/programs access the server there is a public login set up...pvtreader.
When I log onto the primary or the secondary it shows the user pvtreader was granted access to use xp_cmdshell.
but when I log into the cluster as pvtreader, I cannot execute xp_cmdshell. I get the below error message.
"The EXECUTE permission was denied on the object 'xp_cmdshell', database 'mssqlsystemresource', schema 'sys'."
the xp_cmdshell proxy has been setup and when I look at security for the master database it show that pvtreader has the securable set for xp_cmdshell
May 4, 2016 at 1:23 pm
carol can you simpyl test your users xp_cmdshell permissions? does this still give permissions errors?
EXECUTE AS USER='pvtreader' --test as our specific users permissions.
exec xp_cmdshell 'whoami'
REVERT; --change back into myself
Lowell
May 4, 2016 at 1:57 pm
Yes it gives the error that I show in my original message.
This used to work, but something happened and now it doesn't.
May 6, 2016 at 6:42 am
I got this to work be deleting the login under the MASTER database and re-adding making sure to add his schema
June 15, 2016 at 10:17 am
Carol Adams (5/6/2016)
I got this to work be deleting the login under the MASTER database and re-adding making sure to add his schema
I have a question.
Was this cluster setup and then the databases migrated from another server?
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy