登录密码不够好

登录密码不够好

我尝试使用大小写字母设置登录密码,格式为 User 后跟数字(其中 User 是我的用户名,因此密码至少由 8 个字符组成)。我也尝试过使用首字母加数字。但效果总是不够好。我找不到一套明确的登录密码规则。有人能告诉我一套明确的登录密码规则吗?

答案1

如果你对安全没有真正的兴趣,你可以让系统避免输入密码自动登录。

但是,如果您确实想要一个安全的密码(在大多数情况下都是合理的),建议遵循以下准则。

Strong Passwords

Applications, and libraries exist for your Ubuntu system to assist in generating, or enforcing strong passwords. A strong password is defined as any password which meets the following criteria:

    At least fifteen (15) characters in length.
    Does not contain your user name, real name, organization name, family member's names or names of your pets.
    Does not contain your birth date.
    Does not contain a complete dictionary word.
    Is significantly different from your previous password.

    Should contain three (3) of the following character types.
        Lowercase Alphabetical (a, b, c, etc.)
        Uppercase Alphabetical (A, B, C, etc.)
        Numerics (0, 1, 2, etc.)
        Special Characters (@, %, !, etc.) 

来源:https://help.ubuntu.com/community/StrongPasswords

编辑:如果您想要强制使用强密码或放宽密码要求,则可以通过编辑来配置所有这些。/etc/security/pwquality.conf该文件有大量注释,并且非常容易理解。有关各个选项的详细信息,请参阅手册页

答案2

https://help.ubuntu.com/lts/serverguide/user-management.html

默认情况下,Ubuntu 要求密码长度至少为 6 个字符,以及一些基本的熵检查

所以应该没问题。如果您有权限,/etc/pam.d/common-password您可以评论一个单词 TEMPORARY 并使用它,直到您正确设置您的帐户。(如果您没有权限,我建议您使用 live cd)

相关内容