xp_cmdshell
hi,
i want know how can check if xp_cmdshell enabled or not , if enabled, users has right execute it? using sql server 2012
regards
hello,
you can check sp_configure if xp_cmdshell enabled:
exec sp_configure 'xp_cmdshell'
see msdn xp_cmdshell (transact-sql) regarding required permissions, sysadmins can run command directly.
olaf helper
[ blog] [ xing] [ mvp]
SQL Server > SQL Server Database Engine
Comments
Post a Comment