http://www.voidcn.com/article/p-yvnoogkc-ng.html

由于jenkins官方镜像是ubuntu系统,所有啥的都用 sudo

换到root账号,然后登陆harbor,就可以push

$ sudo passwd root
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
$ su root
Password:

05-23 17:57