root@iZjsoneti5980msdfwefjsl:~# su - git
$ gitlab-rake "gitlab:password:reset[root]"
Enter password: 
Confirm password: 
Unable to change password of the user with username root.
Password must not contain commonly used combinations of words and letters
$ gitlab-rake "gitlab:password:reset[root]"
Enter password: 
Confirm password: 
Password successfully updated for user with username root.
$

这个密码要求很高要十几位,也要有多种字符,负责重置会失败

更多推荐