当前位置:网站首页>Harbor can't log in with the correct password
Harbor can't log in with the correct password
2022-07-27 07:52:00 【nginx】
[[email protected] harbor]# docker ps
find harbor-db
docker exec -it 3336e340e8b5 /bin/bash
psql -h postgresql -d postgres -U postgres
root123
postgres=# \c registry
You are now connected to database "registry" as user "postgres".
registry=# select * from harbor_user;
registry=# update harbor_user set password='a71a7d0df981a61cbb53a97ed8d78f3e', salt='ah3fdh5b7yxepalg9z45bu8zb36sszmr', password_version='sha1' where username='admin';
UPDATE 1
registry=#
registry=# \q
postgres [ / ]$ exit
exit
[[email protected] harbor]# docker restart harbor-core
harbor-core
reason :assword_version The encryption version is wrong , Reset password and sha256 Change to sha1
Enter the account again admin, password Harbor12345, Login successful
边栏推荐
- Lua迭代器
- 2020国际机器翻译大赛:火山翻译力夺五项冠军
- Clickhouse notes 1 | introduction, features | installation and use based on centos7 system | common data types | mergetree table engine | SQL operation
- 杂谈:把肉都烂在锅里就是保障学生权益了?
- RPC 远程过程调用
- What about idea Chinese garbled code
- 单片机多级菜单
- linux中mysql表名区不区分大小写
- What are the main threads of Youxuan database?
- 【飞控开发基础教程4】疯壳·开源编队无人机-串口(光流数据获取)
猜你喜欢

Combined use of C WinForm form form event and delegate

Apifox安装及使用

Do me a favor ~ don't pay attention, don't log in, a questionnaire in less than a minute

电子量产项目框架--基本思想

Gossip: it's really important to have a rod in your hand and a net on your shoulder. As for how many fish are in the basket?

【QT】capture. Obj:-1: error: lnk2019: unresolved external symbols__ imp_ Htons (solution)

Gossip: is rotting meat in the pot to protect students' rights and interests?

Zero training platform course-1. SQL injection Foundation

【小程序】如何获取微信小程序代码上传密钥?

如何更新pip3?和Running pip as the ‘root‘ user can result in broken permissions and conflicting behaviour
随机推荐
glGetUniformLocation,glUniform4f
Showdoc vulnerability learning - cnvd-2020-26585 (arbitrary file upload)
容器内使用sudo报错bash: sudo: command not found解决
Redison 3.17.5 release, officially recommended redis client
Leetcode54. 螺旋矩阵
RestTemplate 连接池配置
npm的使用
Grandson's questions are difficult, and his son's invigilation is strict. I can't do it. Pay back my school money
什么是真正的 HTAP ?(二)挑战篇
C language implementation of guessing numbers Games project practice (based on srand function, rand function, switch statement, while loop, if condition criterion, etc.)
Demo submit a program and obtain ALV data of the program
鲁迅:我不记得说没说过,要不你自己查!
Shell condition test, judgment statement and operator of shell system learning
Do me a favor ~ don't pay attention, don't log in, a questionnaire in less than a minute
Day111.尚医通:集成NUXT框架、前台页面首页数据、医院详情页
Enhancement: BTE process introduction
Shell awk related exercises
Convert objects to key value pairs
【QT】capture. Obj:-1: error: lnk2019: unresolved external symbols__ imp_ Htons (solution)
模仿大佬制作的宿舍门禁系统(三)