如果您对安全性没有真正的兴趣,您可以通过让系统自动登录来避免输入密码。
但是,如果您确实需要安全密码(在大多数情况下这是明智的),则建议遵循以下准则。
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.)
Run Code Online (Sandbox Code Playgroud)
来源:https : //help.ubuntu.com/community/StrongPasswords
编辑:如果您想强制执行强密码或放宽密码要求,所有这些都可以通过编辑进行配置/etc/security/pwquality.conf该文件被大量注释并且非常不言自明。有关各个选项的详细信息可以在手册页上找到
来自https://help.ubuntu.com/lts/serverguide/user-management.html:
默认情况下,Ubuntu 要求密码长度至少为 6 个字符,以及一些基本的熵检查
所以应该没问题。如果您有权访问,/etc/pam.d/common-password您可以评论一个词“TEMPORARY”并使用它,直到正确设置您的帐户。(如果你不喜欢的话我推荐一张live CD)
| 归档时间: |
|
| 查看次数: |
3745 次 |
| 最近记录: |