Giter VIP home page Giter VIP logo

Comments (8)

qiaofeng1227 avatar qiaofeng1227 commented on May 29, 2024

Password is saved in database

from docker-library.

zengxc-1996 avatar zengxc-1996 commented on May 29, 2024

how to update alfresco password?

alfresco random password

from docker-library.

qiaofeng1227 avatar qiaofeng1227 commented on May 29, 2024
admin -> hex (hexadecimal code) = 61646d96e
61646d96e -> Unicode = 610064006d0069006e00
610064006d0069006e00 -> MD4 = 209c6174da490caeb422f3fa5a7ae634

from docker-library.

zengxc-1996 avatar zengxc-1996 commented on May 29, 2024
  1. init.sh add this lines:
sudo echo $new_password  |tee -a password
python3 test.py

new_p=`cat password`
echo $new_p
  1. add init.py :
#!/usr/bin/env python3
from passlib.hash import nthash

input = open('/root/password','r')
a = input.read().replace("\n", "").replace("\r", "")
print(a)
h = nthash.hash(a)
print(h)

output = open('/root/password', 'w')
output.write(h)
output.close()
  1. postgresql client update password:
psql -U alfresco -d alfresco -h 127.0.0.1 ...(Under test)

from docker-library.

zengxc-1996 avatar zengxc-1996 commented on May 29, 2024

tested on aws ubuntu20 OK :

  "end_check_versions.stdout_lines": [
        "Docker version 20.10.7, build f0df350",
        "Docker version 20.10.7, build f0df350",
        "pgadmin version: \"Version 5.3\" accesskey",
        "nginx version: nginx/1.20.1",
        "alfresco version: 7.0.0",
        "activemq version: 5.16.1",
        "postgresql version: 13.1",
        "System version: Ubuntu 20.04",
        "Image name: alfrescozengxc-UbuntuLTS20.04"

tested on aws linux2 OK:

ok: [54.237.61.180] => {
    "end_check_versions.stdout_lines": [
        "Docker version 20.10.7, build f0df350",
        "Docker version 20.10.7, build f0df350",
        "pgadmin version: \"Version 5.3\" accesskey",
        "nginx version: nginx/1.20.1",
        "alfresco version: 7.0.0",
        "activemq version: 5.16.1",
        "postgresql version: 13.1",
        "System version: Amazon 2",
        "Image name: alfrescozengxc-AmazonLinux2"

from docker-library.

chendelin1982 avatar chendelin1982 commented on May 29, 2024

image

from docker-library.

qiaofeng1227 avatar qiaofeng1227 commented on May 29, 2024

image
If the address in the red box is changed to a public IP address, the service will not run。

from docker-library.

zengxc-1996 avatar zengxc-1996 commented on May 29, 2024

You can modify this URL:

image

image

from docker-library.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.