<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Reactivating SYSTEM user in SPS11 without another admin user in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/reactivating-system-user-in-sps11-without-another-admin-user/qaa-p/11731599#M4390076</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do I run this SQL without having admin access to the system?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 May 2016 12:38:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-05-26T12:38:54Z</dc:date>
    <item>
      <title>Reactivating SYSTEM user in SPS11 without another admin user</title>
      <link>https://community.sap.com/t5/technology-q-a/reactivating-system-user-in-sps11-without-another-admin-user/qaq-p/11731595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have been using an SPS11 instance for testing which has been going well up to the point we discovered that the SYSTEM returns "&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;authentication failed&lt;/STRONG&gt;&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We assumed that someone had accidentally changed the SYSTEM password so set out to reset the SYSTEM user using this method here: &lt;A href="https://www.youtube.com/watch?v=W7hiKXT1O-s" title="https://www.youtube.com/watch?v=W7hiKXT1O-s"&gt;SAP HANA Academy - SAP HANA Security: Reset SYSTEM Password [SPS 09] - YouTube&lt;/A&gt; there is no video for SPS11 so I assume this is still correct, it looks like it works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;my-host1:/usr/sap/SM1/HDB31&amp;gt; exe/hdbindexserver -resetUserSystem&lt;/P&gt;
&lt;P&gt;starting interactive mode for resetting user SYSTEM...&lt;/P&gt;
&lt;P&gt;service startup...&lt;/P&gt;
&lt;P&gt;accepting requests at 127.0.0.1:33103; 127.0.0.2:33103&lt;/P&gt;
&lt;P&gt;assigning to volume 3 ...&lt;/P&gt;
&lt;P&gt;run as transaction master&lt;/P&gt;
&lt;P&gt;resetting of user SYSTEM - new password:&lt;/P&gt;
&lt;P&gt;Passw0rd123&lt;/P&gt;
&lt;P&gt;new pw accepted.&lt;/P&gt;
&lt;P&gt;(re)activating user SYSTEM...&lt;/P&gt;
&lt;P&gt;done&lt;/P&gt;
&lt;P&gt;prepare for shutting service down...&lt;/P&gt;
&lt;P&gt;preparing to shutdown...&lt;/P&gt;
&lt;P&gt;stopping dynamic range partitioning&lt;/P&gt;
&lt;P&gt;stopping federation statistics collection&lt;/P&gt;
&lt;P&gt;stopping extended storage heartbeat thread&lt;/P&gt;
&lt;P&gt;stopping LOBGarbageCollectorThread&amp;nbsp; '' &lt;/P&gt;
&lt;P&gt;stopping EPM&amp;nbsp; '' &lt;/P&gt;
&lt;P&gt;stopping Embedded Catalyst Services&amp;nbsp; '' &lt;/P&gt;
&lt;P&gt;stopping PlanningEngine&amp;nbsp; '' &lt;/P&gt;
&lt;P&gt;stopping SQL session service...&lt;/P&gt;
&lt;P&gt;stopping SQL Plan cache...&lt;/P&gt;
&lt;P&gt;stopping QueueServer...&lt;/P&gt;
&lt;P&gt;stopping planviz...&lt;/P&gt;
&lt;P&gt;stopping TRexApiSystem...&lt;/P&gt;
&lt;P&gt;stopping executor...&lt;/P&gt;
&lt;P&gt;DebuggingBackend shutdown...&lt;/P&gt;
&lt;P&gt;CalculationEngineManager shutdown...&lt;/P&gt;
&lt;P&gt;TaskManager shutdown...&lt;/P&gt;
&lt;P&gt;TaskStatisticsManager shutdown...&lt;/P&gt;
&lt;P&gt;CacheMgr shutdown...&lt;/P&gt;
&lt;P&gt;Sampling Session Monitor shutdown...&lt;/P&gt;
&lt;P&gt;GraphEngineMgr shutdown...&lt;/P&gt;
&lt;P&gt;Invalidator shutdown...&lt;/P&gt;
&lt;P&gt;RClient shutdown...&lt;/P&gt;
&lt;P&gt;SAMLFactory shutdown...&lt;/P&gt;
&lt;P&gt;VSI shutdown...&lt;/P&gt;
&lt;P&gt;unassign all...&lt;/P&gt;
&lt;P&gt;udivmgr shutdown...&lt;/P&gt;
&lt;P&gt;close trace files...&lt;/P&gt;
&lt;P&gt;PersistenceLayer shutdown...&lt;/P&gt;
&lt;P&gt;joinengine shutdown...&lt;/P&gt;
&lt;P&gt;prepared to shutdown.&lt;/P&gt;
&lt;P&gt;Disabling signal handler...&lt;/P&gt;
&lt;P&gt;Stopping self watchdog...&lt;/P&gt;
&lt;P&gt;Stopping request dispatcher...&lt;/P&gt;
&lt;P&gt;Stopping responder...&lt;/P&gt;
&lt;P&gt;Stopping channel waiter...&lt;/P&gt;
&lt;P&gt;Shutting service down...&lt;/P&gt;
&lt;P&gt;libxml shutdown...&lt;/P&gt;
&lt;P&gt;QueryMediator cleanup...&lt;/P&gt;
&lt;P&gt;Stopping threads...&lt;/P&gt;
&lt;P&gt;Stopping communication...&lt;/P&gt;
&lt;P&gt;Deleting self watchdog...&lt;/P&gt;
&lt;P&gt;Deleting request dispatcher...&lt;/P&gt;
&lt;P&gt;Deleting responder...&lt;/P&gt;
&lt;P&gt;Deleting service...&lt;/P&gt;
&lt;P&gt;Deleting threads...&lt;/P&gt;
&lt;P&gt;Deleting pools...&lt;/P&gt;
&lt;P&gt;Deleting configuration...&lt;/P&gt;
&lt;P&gt;Removing pidfile...&lt;/P&gt;
&lt;P&gt;shutdown is completed.&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, this did not allow us access to the user still. After some digging we found that SPS11 locks the SYSTEM user after too many invalid connection attempts (Quite possible in a sand boxed development environment) if &lt;STRONG style="font-size: 12px; color: #333333; background: #ffffff;"&gt;force_first_password_change &lt;/STRONG&gt;is set to true (the default value), since we had not changed it we're now locked out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have no user with any admin permissions what so ever so can not unlock this user via HANA Studio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After a little bit more staring at the screen we did notice that in the output it claims to activate the SYSTEM user:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;new pw accepted.&lt;/P&gt;
&lt;P&gt;(re)activating user SYSTEM...&lt;/P&gt;
&lt;P&gt;done&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This lead us to assume there was an internal issue with HANA and decided to try restarting the instance to see if it was a temporary issue, sadly this did not fix our authentication problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So at this point we're stuck, any help would be greatly appreciated! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 08:50:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reactivating-system-user-in-sps11-without-another-admin-user/qaq-p/11731595</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-26T08:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Reactivating SYSTEM user in SPS11 without another admin user</title>
      <link>https://community.sap.com/t5/technology-q-a/reactivating-system-user-in-sps11-without-another-admin-user/qaa-p/11731596#M4390073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can follow this thread&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="106396" __jive_macro_name="blogpost" class="jive_macro jive_macro_blogpost" data-orig-content="Reactivating the SYSTEM user when no User with USER ADMIN is Available" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 09:17:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reactivating-system-user-in-sps11-without-another-admin-user/qaa-p/11731596#M4390073</guid>
      <dc:creator>davidebruno</dc:creator>
      <dc:date>2016-05-26T09:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Reactivating SYSTEM user in SPS11 without another admin user</title>
      <link>https://community.sap.com/t5/technology-q-a/reactivating-system-user-in-sps11-without-another-admin-user/qaa-p/11731597#M4390074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to start the database in console mode in SPS11? It does not seem to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also no users have development permissions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 09:21:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reactivating-system-user-in-sps11-without-another-admin-user/qaa-p/11731597#M4390074</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-26T09:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Reactivating SYSTEM user in SPS11 without another admin user</title>
      <link>https://community.sap.com/t5/technology-q-a/reactivating-system-user-in-sps11-without-another-admin-user/qaa-p/11731598#M4390075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The process to reset the SYSTEM user password is documented for each current SPS in the SAP HANA Administration Guide. For SPS 11 it's in chapter &lt;STRONG&gt;4.2.1.3 Reset the SYSTEM User's Password&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And no, there is no general console mode for SAP HANA systems available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your situation (system user locked out) you should be able to repeat the reset password procedure.&lt;/P&gt;&lt;P&gt;It not only sets the password but also runs the following commands which will unlock the user account and force you to change the password:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALTER USER SYSTEM ACTIVATE;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;ALTER USER SYSTEM VALID FROM NOW UNTIL FOREVER;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;ALTER USER SYSTEM RESET CONNECT ATTEMPTS;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;ALTER USER SYSTEM ENABLE PASSWORD;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;ALTER USER SYSTEM FORCE PASSWORD CHANGE;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 10:06:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reactivating-system-user-in-sps11-without-another-admin-user/qaa-p/11731598#M4390075</guid>
      <dc:creator>lbreddemann</dc:creator>
      <dc:date>2016-05-26T10:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: Reactivating SYSTEM user in SPS11 without another admin user</title>
      <link>https://community.sap.com/t5/technology-q-a/reactivating-system-user-in-sps11-without-another-admin-user/qaa-p/11731599#M4390076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do I run this SQL without having admin access to the system?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 12:38:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reactivating-system-user-in-sps11-without-another-admin-user/qaa-p/11731599#M4390076</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-26T12:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Reactivating SYSTEM user in SPS11 without another admin user</title>
      <link>https://community.sap.com/t5/technology-q-a/reactivating-system-user-in-sps11-without-another-admin-user/qaa-p/11731600#M4390077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You misunderstood me.&lt;/P&gt;&lt;P&gt;These commands are automatically executed when you reset the system user. I only posted them for illustration purposes, so that you get a better understanding what happens internally when you execute the resetUserSystem procedure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 14:12:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reactivating-system-user-in-sps11-without-another-admin-user/qaa-p/11731600#M4390077</guid>
      <dc:creator>lbreddemann</dc:creator>
      <dc:date>2016-05-26T14:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Reactivating SYSTEM user in SPS11 without another admin user</title>
      <link>https://community.sap.com/t5/technology-q-a/reactivating-system-user-in-sps11-without-another-admin-user/qaa-p/11731601#M4390078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh yes, sorry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But why did they not work when I did reset the SYSTEM user? (shown above)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 14:17:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reactivating-system-user-in-sps11-without-another-admin-user/qaa-p/11731601#M4390078</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-26T14:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Reactivating SYSTEM user in SPS11 without another admin user</title>
      <link>https://community.sap.com/t5/technology-q-a/reactivating-system-user-in-sps11-without-another-admin-user/qaa-p/11731602#M4390079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here I have to guess what might have happened in your landscape: somebody tried to log in again and again with the old (now wrong) password.&lt;/P&gt;&lt;P&gt;This can easily be the case when the instance gets restarted after the user reset and there are e.g. SAP HANA Studio instances with auto-reconnect and stored credentials open.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe checking the indexserver trace file provides more insight into this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But to unlock the user in your system I would actually just try the procedure again, following the documentation step by step.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 14:43:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reactivating-system-user-in-sps11-without-another-admin-user/qaa-p/11731602#M4390079</guid>
      <dc:creator>lbreddemann</dc:creator>
      <dc:date>2016-05-26T14:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Reactivating SYSTEM user in SPS11 without another admin user</title>
      <link>https://community.sap.com/t5/technology-q-a/reactivating-system-user-in-sps11-without-another-admin-user/qaa-p/11731603#M4390080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think perhaps the user isn't locked and there is something else happening here. I got another user locked on purpose and it gave a different error message when trying to log in, saying the user was locked and to try again in x. This is different to when I try to log in with the SYSTEM user where it says I have invalid credentials.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All services are reporting fine and there are no alerts that are out of the ordinary. SO I believe the HANA instance is fine. I shall try again though just to be sure (Attempt 5) although I'm not hopeful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 15:36:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reactivating-system-user-in-sps11-without-another-admin-user/qaa-p/11731603#M4390080</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-26T15:36:32Z</dc:date>
    </item>
  </channel>
</rss>

