sql server - Should NT AUTHORITY\System be granted the sysadmin role? -
i cannot seem find definitive answer question.
the problem: using octopus deploy run executable run database migration scripts. error occurs octopus "tentacle" windows service runs localsystem translates nt authority\system.
one solution change sql server security settings , grant appropriate role nt authority\system user allows process running localsystem user create database.
what security implications of making change? allow process running localsystem perform operations on database bad thing given control gets installed onto server?
it appear there change made circa sql server 2012 localsystem account default sysadmin got changed. 1 thing saw change prevents server administrators having access server can't see how possible given cannot log in localsystem anyway.
what missing?
references:
https://dba.stackexchange.com/questions/142166/grant-sysadmin-permissions-to-nt-authority-system
i answer one:
one thing saw change prevents server administrators having access server can't see how possible given cannot log in localsystem anyway.
local windows administrator can access server anyway, launching sql server in single user mode have full control on it: connect sql server when system administrators locked out
but requires server restarted.
another option access server sysadmin without restart use psexec (-s) : can log in localsystem through ssms. , if login sysadmin, have full control on server
Comments
Post a Comment