{"id":148,"date":"2017-03-01T12:36:44","date_gmt":"2017-03-01T19:36:44","guid":{"rendered":"http:\/\/www.steveneppler.com\/blog\/?p=148"},"modified":"2017-03-01T12:36:44","modified_gmt":"2017-03-01T19:36:44","slug":"set-permissions-on-a-service-using-the-subinacl-command","status":"publish","type":"post","link":"https:\/\/steveneppler.com\/blog\/2017\/03\/01\/set-permissions-on-a-service-using-the-subinacl-command","title":{"rendered":"Set permissions on a service using the &#8216;subinacl&#8217; command"},"content":{"rendered":"<p>I needed to grant permissions to a non-administrative domain user to be able to start and stop services.  The subinacl command can be used to grant these permissions:<\/p>\n<p><code>subinacl \/service \\\\ComputerName\\ServiceName \/grant=[Domain\\]Username[=Access]<\/code><\/p>\n<p>Here are the available &#8216;Access&#8217; parameters:<\/p>\n<p><code><br \/>\nF : Full Control<br \/>\nR : Generic Read<br \/>\nW : Generic Write<br \/>\nX : Generic eXecute<br \/>\nL : Read controL<br \/>\nQ : Query Service Configuration<br \/>\nS : Query Service Status<br \/>\nE : Enumerate Dependent Services<br \/>\nC : Service Change Configuration<br \/>\nT : Start Service<br \/>\nO : Stop Service<br \/>\nP : Pause\/Continue Service<br \/>\nI : Interrogate Service<br \/>\nU : Service User-Defined Control Comma<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I needed to grant permissions to a non-administrative domain user to be able to start and stop services. The subinacl command can be used to grant these permissions: subinacl \/service \\\\ComputerName\\ServiceName \/grant=[Domain\\]Username[=Access] Here are the available &#8216;Access&#8217; parameters: F : Full Control R : Generic Read W : Generic Write X : Generic eXecute L &#8230; <a title=\"Set permissions on a service using the &#8216;subinacl&#8217; command\" class=\"read-more\" href=\"https:\/\/steveneppler.com\/blog\/2017\/03\/01\/set-permissions-on-a-service-using-the-subinacl-command\" aria-label=\"Read more about Set permissions on a service using the &#8216;subinacl&#8217; command\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3],"tags":[],"class_list":["post-148","post","type-post","status-publish","format-standard","hentry","category-on-the-job","category-windows"],"_links":{"self":[{"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/posts\/148","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/comments?post=148"}],"version-history":[{"count":2,"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/posts\/148\/revisions"}],"predecessor-version":[{"id":150,"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/posts\/148\/revisions\/150"}],"wp:attachment":[{"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/media?parent=148"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/categories?post=148"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/tags?post=148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}