Thursday, 28 January 2016

MS SQL Server - Configure and grant user access to xp_cmdshell

Configure  and grant user access to xp_cmdshell

EXEC sp_configure 'xp_cmdshell', 1
RECONFIGURE

grant execute on xp_cmdshell to username

EXEC sp_xp_cmdshell_proxy_account 'username', 'password'

No comments:

Post a Comment