Answers:
默认情况下,sudo询问用户密码。因此,更改用户密码(也用于登录)也将影响sudo调用。
但是,您可以在/etc/sudoers用户中设置rootpw标志,在这种情况下,它将要求输入root密码。
sudoers(5)手册页中的相关摘录为:
Authentication and logging
 The sudoers security policy requires that most users authenticate them‐
 selves before they can use sudo.  A password is not required if the
 invoking user is root, if the target user is the same as the invoking
 user, or if the policy has disabled authentication for the user or com‐
 mand.  Unlike su(1), when sudoers requires authentication, it validates
 the invoking user's credentials, not the target user's (or root's) cre‐
 dentials.  This can be changed via the rootpw, targetpw and runaspw
 flags, described later.
同样,用于不要求sudo的密码的关键字是NOPASSWD。
如果要设置root密码,可以使用 sudo passwd
请注意,在更改sudo权限时,建议保持root控制台处于打开状态(例如sudo -s),直到在另一个终端中验证它确实有效,并且您尚未锁定自己。
sudo 而根本不提示输入密码。
                    root密码。sudo在root不先设置密码的情况下配置要求root密码,可能会出现问题。
                    /etc/sudoers可以使用自己的密码(而不是共享密码)提升为root用户。
                    sudo本身没有密码。一个用户可以属于该sudo组并运行sudo命令,但是每个用户只有一个密码。当它改变时,它对用户没有特别的改变。
另一个类似的误解是root密码与用于sudoing的密码相同。不,root是单个用户,并且具有私人密码,该密码与任何其他密码无关。
sudo通常,默认情况下就是这样配置的。但是该配置可以更改。
                    是的,sudo使用与登录相同的“密码数据库”(通常/etc/shadow用于小型系统)。
pam.d/配置,因此可能存在不太健全的系统,例如“使用kerberos / ldap auth登录,而sudo使用本地密码数据库登录”。(是的,这不适用于OP的单用户Mint。)