title: Oracle 12c CDB Environement dbsnmp user locked. Unable to unlock it as "SYS" user
body: <pre class="lang-none prettyprint-override"><code>SQL&gt; connect sys as sysdba
  Enter password:
  Connected.
  SQL&gt; ALTER USER DBSNMP account UNLOCK;
  ALTER USER DBSNMP account UNLOCK
  *
  ERROR at line 1:
  ORA-01031: insufficient privileges
  
  
  SQL&gt; SHOW parameter pluggable
  
  NAME                                 TYPE        VALUE
  ------------------------------------ ----------- ------------------------------
  enable_pluggable_database            boolean     TRUE
  SQL&gt; col username FOR a20
  SQL&gt; SELECT username,account_status,password_versions,ORACLE_MAINTAINED FROM dba_users WHERE username='DBSNMP';
  
  USERNAME             ACCOUNT_STATUS                   PASSWORD_VER O
  -------------------- -------------------------------- ------------ -
  DBSNMP               EXPIRED &amp; LOCKED                 10G 11G 12C  Y
  
  SQL&gt; conn / AS sysdba
  Connected.
  SQL&gt; ALTER USER DBSNMP account UNLOCK;
  ALTER USER DBSNMP account UNLOCK
  *
  ERROR at line 1:
  ORA-01031: insufficient privileges
  </code></pre>