{"id":305,"date":"2021-07-23T12:27:31","date_gmt":"2021-07-23T12:27:31","guid":{"rendered":"https:\/\/ssdsunucum.com\/blog\/interface-lock-scripts\/"},"modified":"2021-07-23T12:27:31","modified_gmt":"2021-07-23T12:27:31","slug":"interface-lock-scripts","status":"publish","type":"post","link":"https:\/\/ssdsunucum.com\/blog\/interface-lock-scripts\/","title":{"rendered":"Interface Lock Scripts"},"content":{"rendered":"<\/p>\n<div class=\"col-md-9\">\n<div class=\"flex-column flex-md-row article-header\"><\/div>\n<hr>\n<h2 id=\"overview\">Overview<\/h2>\n<p>In cPanel &#038; WHM version 11.52, we added scripts to manage the Interface Lock System. We created the Interface Lock System to block user changes to various features during cPanel &#038; WHM upgrades. The Interface Lock System can manage global or user-specific blocks. This document contains the scripts that you can use to mange the Interface Lock System.<\/p>\n<div class=\"callout callout-danger\">\n<div class=\"callout-heading\">Warning:<\/div>\n<div class=\"callout-content\">\n<ul>\n<li>You should <strong>only<\/strong> use the scripts provided in this article for maintenance purposes.<\/li>\n<li>Do <strong>not<\/strong> use these scripts unless cPanel support instructs you to do so.<\/li>\n<\/ul><\/div>\n<\/div>\n<h2 id=\"interface-lock-names\">Interface lock names<\/h2>\n<ul>\n<li>\n<p><code>HordeUpdate<\/code><\/p>\n<ul>\n<li><em>User<\/em> \u2014 cPanel &#038; WHM uses this lock to prevent user access to Horde webmail interface and the CalDAV\/CardDAV protocols during the Horde update process.<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><code>UpdateHostname<\/code><\/p>\n<ul>\n<li><em>Global<\/em> \u2014 cPanel &#038; WHM uses this lock to block hostname change requests while the system processes a hostname update.<\/li>\n<li><em>User<\/em> \u2014 cPanel &#038; WHM uses this lock to prevent user access to Horde webmail interface and the CalDAV\/CardDAV protocols during a hostname change.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2 id=\"scripts\">Scripts<\/h2>\n<p><code>\/usr\/local\/cpanel\/bin\/is_interface_locked<\/code> \u2014 Use this script to check whether an interface lock exists.<\/p>\n<p>Options:<\/p>\n<ul>\n<li><code>--help<\/code> \u2014 Displays the help information.<\/li>\n<li><code>--version<\/code> \u2014 Displays the script version.<\/li>\n<li><code>--name<\/code> \u2014 The WHM or cPanel Interface lock name.<\/li>\n<li><code>--user<\/code> \u2014 The cPanel user.<\/li>\n<\/ul>\n<p><code>\/usr\/local\/cpanel\/bin\/lock_interface<\/code> \u2014 Use this script to lock an interface.<\/p>\n<p>Options:<\/p>\n<ul>\n<li><code>--help<\/code> \u2014 Displays the help information.<\/li>\n<li><code>--version<\/code> \u2014 Displays the script version.<\/li>\n<li><code>--name<\/code> \u2014 The WHM or cPanel Interface lock name.<\/li>\n<li><code>--user<\/code> \u2014 The cPanel user.<\/li>\n<li><code>--all<\/code> \u2014 All cPanel users.\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n        The <code>--all<\/code> option does <strong>not<\/strong> indicate a global lock.\n    <\/div>\n<\/div>\n<\/li>\n<\/ul>\n<p><code>\/usr\/local\/cpanel\/bin\/unlock_interface<\/code> \u2014 Use this script to unlock an interface.<\/p>\n<p>Options:<\/p>\n<ul>\n<li><code>--help<\/code> \u2014 Displays the help information.<\/li>\n<li><code>--version<\/code> \u2014 Displays the script version.<\/li>\n<li><code>--name<\/code> \u2014 The WHM or cPanel Interface lock name.<\/li>\n<li><code>--user<\/code> \u2014 The cPanel user.<\/li>\n<li><code>--all<\/code> \u2014 All cPanel users.\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n        The <code>--all<\/code> option does <strong>not<\/strong> indicate a global lock.\n    <\/div>\n<\/div>\n<\/li>\n<\/ul><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Overview In cPanel &#038; WHM version 11.52, we added scripts to manage the Interface Lock System. We created the Interface Lock System to block user changes to various features during cPanel &#038; WHM upgrades. The Interface Lock System can manage global or user-specific blocks. This document contains the scripts that you can use to mange &hellip;<\/p>\n","protected":false},"author":1,"featured_media":306,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/305"}],"collection":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/comments?post=305"}],"version-history":[{"count":0,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/305\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media\/306"}],"wp:attachment":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media?parent=305"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/categories?post=305"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/tags?post=305"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}