你需要为第一个帐户创建一个密码。这可以用 passwd 命令来完成。 系统会提示输入你的旧密码一次,输入你的新密码两次。
用 root 用户更改用户 paul 的密码
[root@bigboy root]# passwd 用户名(paul)
Changing password for user paul. New password:
Retype new password: passwd:
all authentication tokens updated successfully.
[root@bigboy root]#


用户以后可能会改他们自己的密码。这个例子说明用户 paul 改自己的密码没有特权。
[paul@bigboy paul]$ passwd
Changing password for paul Old password: your current password
Enter the new password (minimum of 5, maximum of 8 characters)
Please use a combination of upper and lower case letters and numbers.
New password: your new password
Re-enter new password: your new password
Password changed.
[paul@bigboy paul]$

相关文章:

  • 2021-12-19
  • 2022-12-23
  • 2021-10-01
  • 2022-12-23
  • 2021-12-03
  • 2022-12-23
  • 2021-11-22
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-04-01
  • 2021-09-27
  • 2022-12-23
  • 2022-01-04
  • 2021-12-09
相关资源
相似解决方案