【数据库】关于SYBASE重置DBA账号密码(先是官方原文,然后是百度翻译)


关于SYBASE重置DBA账号密码(先是官方原文,然后是百度翻译)

Resetting a Lost or Forgotten Password

Reset a lost or forgotten da_admin password.

Use the -P password recovery start-up parameter to reset the password for the da_admin user. You cannot use the parameter to reset passwords of any other account.

  1. Stop DA server or DA agent if it is running:
    • If another DA administrator is authenticated using LDAP login that DA administrator can shut down the server, otherwise,
    • Terminate the DA server or DA agent process. This process is platform-dependent.
  2. Execute the start-up script:
    • DA server:
      • On Windows 32-bit:
        %SYBASE%\DA-15_5\server\instance\RUN_instance_32.bat -P
      • On Windows 64-bit:
        %SYBASE%\DA-15_5\server\instance\RUN_instance_64.bat -P
      • On Unix 64-bit:
        $SYBASE/DA-15_5/server/instance/RUN_instance_64.sh -P
    • On DA agent:
      • On Windows 32-bit:
        %SYBASE%\DA-15_5\agent\instance\RUN_instance_32.bat -P
      • On Windows 64-bit:
        %SYBASE%\DA-15_5\agent\instance\RUN_instance_64.bat -P
      • On UNIX 64-bit:
        $SYBASE/DA-15_5/agent/instance/RUN_instance_64.sh -P
      where:
      • $SYBASE (on UNIX) or %SYBASE% (on Windows) is the directory in which you installed the Data Assurance Option.
      • instance is the name of your DA server instance or DA agent instance.
      • RUN_instance_32.bat or RUN_instance_64.bat is the start-up script file on Windows.
      • RUN_instance_64.sh is the start-up script file on UNIX
      • -P is the password recovery start-up parameter
    On start-up, the DA server or the DA agent generates a new da_admin password and writes it to the log file.
  3. Obtain the new password:
    • DA server:
      $SYBASE/DA_15-5/server/instnace/log/da_0.log
    • DA agent:
      $SYBASE/DA_15-5/agent/instnace/log/da_0.log

    For example:

    S 2012-04-03 11:59:27.027 CONTAINER FileLoginModule.changePassword@1 
    #260 Generated a new password for user "da_admin": "l3Fcza7I"

    The new password in this example is l3Fcza7I.

  4. Log in to DA with the new password.
    Sybase recommends that you now change the da_admin password to one of your own choosing.

重置遗失或忘记的密码
重置丢失或忘记的da_admin密码。

使用-P密码恢复启动参数重置da_admin用户的密码。您无法使用该参数重置任何其他帐户的密码。

停止DA服务器或DA代理程序(如果它正在运行):
如果另一个DA管理员使用LDAP登录认证,DA管理员可以关闭服务器,否则,
终止DA服务器或DA代理进程。这个过程是平台相关的。
执行启动脚本:
DA服务器:
在Windows 32位上:
%SYBASE%\ DA-15_5 \ server \ instance \ RUN_instance_32.bat -P
在Windows 64位上:
%SYBASE%\ DA-15_5 \ server \ instance \ RUN_instance_64.bat -P
在Unix 64位上:
$ SYBASE / DA-15_5 / server / instance / RUN_instance_64.sh -P
在DA代理上:
在Windows 32位上:
%SYBASE%\ DA-15_5 \ agent \ instance \ RUN_instance_32.bat -P
在Windows 64位上:
%SYBASE%\ DA-15_5 \ agent \ instance \ RUN_instance_64.bat -P
在UNIX 64位上:
$ SYBASE / DA-15_5 / agent / instance / RUN_instance_64.sh -P
哪里:
$ SYBASE(在UNIX上)或%SYBASE%(在Windows上)是安装Data Assurance Option的目录。
实例是DA服务器实例或DA代理实例的名称。
RUN_instance_32.bat或RUN_instance_64.bat是Windows上的启动脚本文件。
RUN_instance_64.sh是UNIX上的启动脚本文件
-P是密码恢复启动参数
启动时,DA服务器或DA代理会生成一个新的da_admin密码并将其写入日志文件。
获取新密码:
DA服务器:
$ SYBASE / DA_15-5 /服务器/ instnace /日志/ da_0.log
DA代理:
$ SYBASE / DA_15-5 /代理/ instnace /日志/ da_0.log
例如:

S 2012-04-03 11:59:27.027容器FileLoginModule.changePassword@1
#260为用户“da_admin”生成新密码:“l3Fcza7I”
本例中的新密码是l3Fcza7I。
用新密码登录到DA。
Sybase建议您现在将da_admin密码更改为您自己选择的密码。
父主题:密码管理


注意!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系我们删除。



 
粤ICP备14056181号  © 2014-2019 ITdaan.com

赞助商广告