Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Centos修改用户密码 #74

Open
pengjielee opened this issue Nov 1, 2019 · 0 comments
Open

Centos修改用户密码 #74

pengjielee opened this issue Nov 1, 2019 · 0 comments

Comments

@pengjielee
Copy link
Owner

使用 passwd 命令可以用来修改用户密码。

$ passwd

输入以上命令后回车,输入旧密码以及新密码,修改当前用户的密码。

对于root用户来说,可以直接修改其他用户的密码

$ passwd <username>

回车后输入新密码即可。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant