linux中忘记某个用户的密码怎么办

用passwd指令

sudo passwd enterprisedb

Changing password for user enterprisedb.

New password: 

BAD PASSWORD: it is based on a dictionary word

Retype new password: 

Sorry, passwords do not match.

New password: 

BAD PASSWORD: it is too short

BAD PASSWORD: is too simple

Retype new password: 

passwd: all authentication tokens updated successfully.

输入了一个简单的指令,会提示太简单之类的,多次输入后就通过了

相关推荐