Resin 管理员默认账号登陆密码

    技术2025-03-31  8

    进入管理员登陆页面:

    http://127.0.0.1:8080/resin-admin/index.php

    注册一个管理员账号,如jack,会出现如下提示:

    A login configuration file has been written under the name admin-users.xml.generated in the same directory as your resin.xml file. Simply rename this file to admin-users.xml to install your login.

    Or cut and paste the following into the admin-users.xml

      <resin:AdminAuthenticator xmlns="http://caucho.com/ns/resin"

                                xmlns:resin="urn:java:com.caucho.resin">

          <user name="jack" password="NNZXjZAbba/nmoAB0fiIfQ=="/>

      </resin:AdminAuthenticator>

    By default, access to the administration application is limited to the localhost. The default behaviour can be changed in the resin.xml file. To enable access to clients other than localhost:

      <resin:set var="resin_admin_external" value="true"/>

    Once the file has been saved, you can continue to the administration area. This will trigger a server restart, so just refresh your browser until you see the login page again.

    When prompted, use the username and password you provided.

     

    仔细看这段文字就会明白,这段话是说:

    在conf目录下生成一个文件admin-users.xml.generated,文件名改为admin-users.xml,就可以了。

    或是将下面这个Xml片段插入admin-users.xml文件中也行

      <resin:AdminAuthenticator xmlns="http://caucho.com/ns/resin"

                                xmlns:resin="urn:java:com.caucho.resin">

          <user name="jack" password="NNZXjZAbba/nmoAB0fiIfQ=="/>

      </resin:AdminAuthenticator>

     

    最新回复(0)