|
557.
|
|
|
Minimum Password Length
|
|
|
|
Minimal lösenordslängd
|
|
Translated by
Håkan Hagman
|
|
|
|
Located in
serverguide/C/security.xml:200(title)
|
|
558.
|
|
|
By default, Ubuntu requires a minimum password length of 4 characters, as well as some basic entropy checks. These values are controlled in the file <filename>/etc/pam.d/common-password</filename>, which is outlined below.
|
|
|
|
Som standard kräver Ubuntu att lösenordet består av minst 4 tecken och grundläggande entropi kontroller. Dess värden kontrolleras i filen <filename>/etc/pam.d/common-password</filename>, som sammanfattas nedan.
|
|
Translated by
Håkan Hagman
|
|
|
|
Located in
serverguide/C/security.xml:201(para)
|
|
559.
|
|
|
password required pam_unix.so nullok obscure min=4 max=8 md5
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
password required pam_unix.so nullok obscure min=4 max=8 md5
|
|
Translated and reviewed by
Daniel Nylander
|
|
|
|
Located in
serverguide/C/security.xml:204(programlisting)
|
|
560.
|
|
|
If you would like to adjust the minimum length to 6 characters, change the appropriate variable to min=6. The modification is outlined below.
|
|
|
|
Om du vill ändra till ett minimum av 6 tecken, ändra lämplig variabel till min=6. Ändringen sammanfattas nedan.
|
|
Translated by
Håkan Hagman
|
Shared: |
|
Om du vill ändra minimumlängden till 6 tecken, ändra lämplig variabel till min=6. Ändringen sammanfattas nedan.
|
|
|
Suggested by
Håkan Hagman
|
|
|
|
Located in
serverguide/C/security.xml:207(para)
|
|
561.
|
|
|
password required pam_unix.so nullok obscure min=6 max=8 md5
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
password required pam_unix.so nullok obscure min=6 max=8 md5
|
|
Translated and reviewed by
Daniel Nylander
|
|
|
|
Located in
serverguide/C/security.xml:210(programlisting)
|
|
562.
|
|
|
The <varname>max=8</varname> variable does not represent the maximum length of a password. It only means that complexity requirements will not be checked on passwords over 8 characters. You may want to look at the <application>libpam-cracklib</application> package for additional password entropy assistance.
|
|
|
|
Variabeln <varname>max=8</varname> betyder inte maximalt antal tecken i ett lösenord. Det betyder att ett lösenord över 8 tecken inte kommer kontrolleras för komplexitetskraven. Du kan kanske vill titta på paketet <application>libpam-cracklib</application> för ytterligare lösenordsassistans.
|
|
Translated by
Håkan Hagman
|
|
|
|
Located in
serverguide/C/security.xml:214(para)
|
|
563.
|
|
|
Password Expiration
|
|
|
|
Lösenordsförfallanden
|
|
Translated by
Håkan Hagman
|
|
|
|
Located in
serverguide/C/security.xml:220(title)
|
|
564.
|
|
|
When creating user accounts, you should make it a policy to have a minimum and maximum password age forcing users to change their passwords when they expire.
|
|
|
|
När du skapar användarkonton bör du ha som policy att lösenorden har en minimi och maximiålder som tvingar användarna att byta sitt lösenord när tiden löpt ut.
|
|
Translated by
Håkan Hagman
|
|
|
|
Located in
serverguide/C/security.xml:221(para)
|
|
565.
|
|
|
To easily view the current status of a user account, use the following syntax:
|
|
|
|
För att enkelt se nuvarande status för ett användarkonto, använd följande syntax:
|
|
Translated by
Håkan Hagman
|
|
|
|
Located in
serverguide/C/security.xml:226(para)
|
|
566.
|
|
|
sudo chage -l username
|
|
|
|
sudo chage -l username
|
|
Translated by
Håkan Hagman
|
Shared: |
|
sudo chage -l användarnamn
|
|
|
Suggested by
Andreas Olsson
|
|
|
|
Located in
serverguide/C/security.xml:230(command) serverguide/C/security.xml:263(command)
|