当前位置:网站首页>Harbor正确密码登录不上去
Harbor正确密码登录不上去
2022-07-27 07:44:00 【nginx】
[[email protected] harbor]# docker ps
找到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
原因:assword_version加密版本错了,重置密码并将sha256改成sha1
再次输入账户admin,密码Harbor12345,登录成功
边栏推荐
猜你喜欢
![[resolved] SSO forwarding succeeded, and there was an unexpected error (type=internal server error, status=500) caused by parameters in the forwarding URL](/img/05/41f48160fa7895bc9e4f314ec570c5.png)
[resolved] SSO forwarding succeeded, and there was an unexpected error (type=internal server error, status=500) caused by parameters in the forwarding URL

Zero training platform course-1. SQL injection Foundation

Apifox安装及使用

ADC噪声全面分析 -01- ADC噪声的类型以及ADC特性

Applet payment management - new payment docking process

C#委托的使用案例

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

MCU multi-level menu

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

Regular expression foundation sorting
随机推荐
Panabit SNMP configuration
实用的新药研发项目管理平台
glGetUniformLocation,glUniform4f
C language programming | program compilation and preprocessing
一体化实时HTAP数据库StoneDB,如何替换MySQL并实现近百倍分析性能的提升
C语言:随机生成数+插入排序
Gossip: is rotting meat in the pot to protect students' rights and interests?
【小程序】uniapp发行微信小程序上传失败Error: Error: {'errCode':-10008,'errMsg':'invalid ip...
Plato farm is expected to further expand its ecosystem through elephant swap
Systematic explanation of unit testing: mockito
剑指 Offer 58 - I. 翻转单词顺序
面试复盘五
MySQL table name area in Linux is not case sensitive
模仿大佬制作的宿舍门禁系统(三)
如何在电脑端登陆多个微信
抽象工厂模式
linux能不能安装sqlserver
反弹shell是什么?反弹shell有什么用?
软件调优方法有哪些?看看飞腾技术专家怎么说 | 龙蜥技术
Lu Xun: I don't remember saying it, or you can check it yourself!