<?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>topic Re: Lock account for SA in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lock-account-for-sa/m-p/2769069#M895879</link>
    <description>&lt;BR /&gt;If its your unix account youre talking about then to unlock it do;&lt;BR /&gt;&lt;BR /&gt;/usr/lbin/modprpw -k &lt;USERID&gt;&lt;BR /&gt;&lt;/USERID&gt;</description>
    <pubDate>Mon, 22 Jul 2002 11:03:17 GMT</pubDate>
    <dc:creator>Stefan Farrelly</dc:creator>
    <dc:date>2002-07-22T11:03:17Z</dc:date>
    <item>
      <title>Lock account for SA</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lock-account-for-sa/m-p/2769068#M895878</link>
      <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;Can anybody help me? After apply security system in my Sybase??s Database, I mistake my sa??s password and the system lock my account. How I can enable my password or user SA for Sybase?&lt;BR /&gt;&lt;BR /&gt;Tkts,&lt;BR /&gt;Val</description>
      <pubDate>Mon, 22 Jul 2002 10:59:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lock-account-for-sa/m-p/2769068#M895878</guid>
      <dc:creator>Valkiria Santos</dc:creator>
      <dc:date>2002-07-22T10:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Lock account for SA</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lock-account-for-sa/m-p/2769069#M895879</link>
      <description>&lt;BR /&gt;If its your unix account youre talking about then to unlock it do;&lt;BR /&gt;&lt;BR /&gt;/usr/lbin/modprpw -k &lt;USERID&gt;&lt;BR /&gt;&lt;/USERID&gt;</description>
      <pubDate>Mon, 22 Jul 2002 11:03:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lock-account-for-sa/m-p/2769069#M895879</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2002-07-22T11:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Lock account for SA</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lock-account-for-sa/m-p/2769070#M895880</link>
      <description>Hi,&lt;BR /&gt;My account was locked in database, not in OS.&lt;BR /&gt;&lt;BR /&gt;Valkiria</description>
      <pubDate>Mon, 22 Jul 2002 11:09:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lock-account-for-sa/m-p/2769070#M895880</guid>
      <dc:creator>Valkiria Santos</dc:creator>
      <dc:date>2002-07-22T11:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Lock account for SA</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lock-account-for-sa/m-p/2769071#M895881</link>
      <description>Found this on a newsgroup...&lt;BR /&gt;&lt;BR /&gt;If the server is actually running, then you need to stop it. We know that the only accounts that can stop the server in a nice manner are not available, so it has to be some sort of kill. You can try:&lt;BR /&gt;kill -SIGTERM &lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;kill -15 &lt;BR /&gt;&lt;BR /&gt;(they are identical) which is designed to be caught by ASE, which then performs the equivalent of shutdown with nowait. If ASE does not die, and you should give it a little while to catch and act on the signal, then you might have to try other measures, which is probably kill -9. Note that if you have tables with identity columns, most of these will jump alarmingly, unless you are using ASE 12.5 and the identity interval is set to 1.&lt;BR /&gt;&lt;BR /&gt;Once down, edit the RUN_SERVER file ( RUN_SERVER.bat on NT) and add "-psa" (it&lt;BR /&gt;is important not to leave a space between the"-p" and the "sa", and that it is&lt;BR /&gt;all lower-case) to the end of the dataserver or sqlsrvr.exe line. You will end&lt;BR /&gt;up with a file that looks a bit like:&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;#&lt;BR /&gt;# Adaptive Server name: N_UTSIRE&lt;BR /&gt;# Master device path:   /data/sybase/databases/N_UTSIRE/master.dat&lt;BR /&gt;# Error log path:       /opt/sybase-11.9.2/install/N_UTSIRE.log&lt;BR /&gt;# Directory for shared memory files:    /opt/sybase-11.9.2&lt;BR /&gt;#&lt;BR /&gt;# Regenerate sa password -psa&lt;BR /&gt;#&lt;BR /&gt;/opt/sybase-11.9.2/bin/dataserver -sN_UTSIRE -d/data/sybase/databases/N_UTSIRE/master.dat -e/opt/sybase-11.9.2/install/N_UTSIRE.log -M/opt/sybase-11.9.2 -psa &lt;BR /&gt;(I add the line mentioning the regenerate, so that if I need to do this in a moment of extreme pressure it is there in front of my nose.&lt;BR /&gt;&lt;BR /&gt;Now, start the server again and you should see the following on the screen:&lt;BR /&gt;00:00000:00001:2001/05/26 18:29:21.39 server 'bin_iso_1' (ID = 50)&lt;BR /&gt;00:00000:00001:2001/05/26 18:29:21.39 server on top of default character set:&lt;BR /&gt;00:00000:00001:2001/05/26 18:29:21.39 server 'iso_1' (ID = 1).&lt;BR /&gt;00:00000:00001:2001/05/26 18:29:21.39 server Loaded default Unilib conversion handle.&lt;BR /&gt;&lt;BR /&gt;New SSO password for sa:tmfyrkdwpibung&lt;BR /&gt;&lt;BR /&gt;Note that it is not written to the log file, so keep your eyes peeled.&lt;BR /&gt;&lt;BR /&gt;Remember to remove the "-psa" from the "RUN" file before you start the server again or else the password will be changed again for you.&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Jul 2002 11:14:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lock-account-for-sa/m-p/2769071#M895881</guid>
      <dc:creator>James Beamish-White</dc:creator>
      <dc:date>2002-07-22T11:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: Lock account for SA</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lock-account-for-sa/m-p/2769072#M895882</link>
      <description>Thanks James, you solve my problem!  :-)&lt;BR /&gt;&lt;BR /&gt;Valkiria&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Jul 2002 12:05:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lock-account-for-sa/m-p/2769072#M895882</guid>
      <dc:creator>Valkiria Santos</dc:creator>
      <dc:date>2002-07-22T12:05:20Z</dc:date>
    </item>
  </channel>
</rss>

