张三和李四的家 2016-05-06 08:51 采纳率: 0%
浏览 2740
已结题

vm虚拟机下的root密码修改为什么那么随便?

不知道怎么回事,在VM中修改root用户的密码出了问题。
在修改root密码的时候不需要之前旧密码的确认。
这是为什么?

root 用户修改密码

初始用户修改密码

有谁可以解答一下吗?

  • 写回答

1条回答 默认 最新

  • ForestDB 2016-05-06 13:22
    关注

    PASSWD(1) BSD General Commands Manual PASSWD(1)

    NAME
    passwd -- modify a user's password

    SYNOPSIS
    passwd [-i infosystem [-l location]] [-u authname] [user]

    DESCRIPTION
    The passwd utility changes the user's password. If the user is not the
    super-user, passwd first prompts for the current password and will not
    continue unless the correct password is entered.

    评论

报告相同问题?

悬赏问题

  • ¥20 idea运行测试代码报错问题
  • ¥15 网络监控:网络故障告警通知
  • ¥15 django项目运行报编码错误
  • ¥15 请问这个是什么意思?
  • ¥15 STM32驱动继电器
  • ¥15 Windows server update services
  • ¥15 关于#c语言#的问题:我现在在做一个墨水屏设计,2.9英寸的小屏怎么换4.2英寸大屏
  • ¥15 模糊pid与pid仿真结果几乎一样
  • ¥15 java的GUI的运用
  • ¥15 我想付费需要AKM公司DSP开发资料及相关开发。