-
Hi, I found out that in order to change local DB auth to LDAP one needs to delete users from DB (and there is no way to do this via harbor portal). Would anyone know a way to delete users from a DB? |
Beta Was this translation helpful? Give feedback.
Answered by
hellt
May 6, 2022
Replies: 1 comment 1 reply
-
unswering my own q
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
hellt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
unswering my own q
cp -r /data/database /somebackuppath
)psql
in a harbor_db container (docker exec -it <cid> bash
and thenpsql
)\c registry
delete from harbor_user where user_id > 2;