Administration système
6.2 Stratégie de mot de passe
localhost# show running-config system authentication password-
policy min-length
system
authentication
password-policy
exit
exit
exit
6.2.1.2
Configuration du nombre maximal de caractères.
Pour configurer le nombre maximal de caractères, procédez comme suit :
Opé‐
ration
1
2
3
4
5
Exemple
Dans cet exemple on définit que le mot de passe peut compter au maximum 200 caractères.
localhost# config
localhost(config)# system authentication password-policy max-length
200
localhost(config-password-policy)# commit
Commit complete.
localhost(config-password-policy)# end
localhost# show running-config system authentication password-
policy max-length
system
authentication
password-policy
168
min-length 10
Instruction
Passez en mode de configuration.
Configurez le nombre maximal de caractères
qu'un mot de passe peut compter.
Par défaut : 255
La plage de valeurs débute par 4 pour éviter
des stratégies de mot de passe non valides, si
toutes les conditions sont désactivées :
•
au moins 1 chiffre
•
au moins 1 minuscule
•
au moins 1 majuscule
•
au moins 1 caractère spécial
Validez la modification.
Quittez le mode de configuration.
Contrôlez la configuration.
max-length 200
Commande
config
system authentication password-
policy max-length { 4 - 255 }
commit
end
show running-config system
authentication password-policy
max-length
Command Line Interface (CLI) SINEC OS V2.4
Manuel de configuration, 10/2023, C79000-G8977-C498-07