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

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.

    评论

报告相同问题?