linux修改root密码

1、以root身份登陆 , 执行:
2、passwd 用户名 。
3、然后根据提示,输入新密码,再次输入新密码,系统会提示成功修改密码 。
4、具体示例如下:
5、[root@www ~]# passwd root
6、Changing password for user root.
7、New UNIX password:
8、BAD PASSWORD: it is based on a dictionary word
9、Retype new UNIX password:
【linux修改root密码】10、passwd: all authentication tokens updated successfully

linux修改root密码的详细内容就为您分享到这里,【什么知道】www.shenmezhidao.com小编为您精选以下内容,希望对您有所帮助: