|
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)
|
|
567.
|
|
|
The output below shows interesting facts about the user account, namely that there are no policies applied:
|
|
|
|
Utdatan nedan visar intressant fakta om användarkontot, nämligen att ingen policy tillämpas:
|
|
Translated by
Håkan Hagman
|
|
|
|
Located in
serverguide/C/security.xml:232(para)
|
|
568.
|
|
|
Last password change : Jan 20, 2008
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 99999
Number of days of warning before password expires : 7
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
Last password change : Jan 20, 2008
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 99999
Number of days of warning before password expires : 7
|
|
Translated by
Håkan Hagman
|
|
|
|
Located in
serverguide/C/security.xml:235(computeroutput)
|
|
569.
|
|
|
To set any of these values, simply use the following syntax, and follow the interactive prompts:
|
|
|
|
För att ange något av dessa värden, använd följande syntax och följ de interaktiva inmatningsställena:
|
|
Translated by
Håkan Hagman
|
|
|
|
Located in
serverguide/C/security.xml:245(para)
|
|
570.
|
|
|
sudo chage username
|
|
|
|
sudo chage username
|
|
Translated by
Håkan Hagman
|
Shared: |
|
sudo chage användarnamn
|
|
|
Suggested by
Andreas Olsson
|
|
|
|
Located in
serverguide/C/security.xml:249(command)
|
|
571.
|
|
|
The following is also an example of how you can manually change the explicit expiration date (-E) to 01/31/2008, minimum password age (-m) of 5 days, maximum password age (-M) of 90 days, inactivity period (-I) of 5 days after password expiration, and a warning time period (-W) of 14 days before password expiration.
|
|
|
|
Följande är också ett exempel på hur du manuellt kan ändra förfallodatumet som saknar förbehåll (-E) till 01/31/2008, lösenordets miniålder (-m) på 5 dagar, lösenordets maximiålder (-M) på 90 dagar, inaktiv period (-I) på fem dagar efter lösenordets förfallodag och en varningsperiod (-W) på 14 dagar före lösenordets förfallodag.
|
|
Translated by
Håkan Hagman
|
|
|
|
Located in
serverguide/C/security.xml:251(para)
|
|
572.
|
|
|
sudo chage -E 01/31/2008 -m 5 -M 90 -I 30 -W 14 username
|
|
|
|
sudo chage -E 01/31/2008 -m 5 -M 90 -I 30 -W 14 username
|
|
Translated by
Håkan Hagman
|
Shared: |
|
sudo chage -E 01/31/2008 -m 5 -M 90 -I 30 -W 14 användarnamn
|
|
|
Suggested by
Andreas Olsson
|
|
|
|
Located in
serverguide/C/security.xml:255(command)
|
|
573.
|
|
|
To verify changes, use the same syntax as mentioned previously:
|
|
|
|
För att verifiera ändringarna, använd samma syntax som angavs tidigare:
|
|
Translated by
Håkan Hagman
|
|
|
|
Located in
serverguide/C/security.xml:259(para)
|
|
574.
|
|
|
The output below shows the new policies that have been established for the account:
|
|
|
|
Utdatan nedan visar den nya policyn som har upprättats för kontot:
|
|
Translated by
Håkan Hagman
|
|
|
|
Located in
serverguide/C/security.xml:265(para)
|
|
575.
|
|
|
Last password change : Jan 20, 2008
Password expires : Apr 19, 2008
Password inactive : May 19, 2008
Account expires : Jan 31, 2008
Minimum number of days between password change : 5
Maximum number of days between password change : 90
Number of days of warning before password expires : 14
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
Last password change : Jan 20, 2008
Password expires : Apr 19, 2008
Password inactive : May 19, 2008
Account expires : Jan 31, 2008
Minimum number of days between password change : 5
Maximum number of days between password change : 90
Number of days of warning before password expires : 14
|
|
Translated by
Håkan Hagman
|
|
|
|
Located in
serverguide/C/security.xml:268(computeroutput)
|