"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "pam_passwdqc.c" between
passwdqc-2.0.1.tar.gz and passwdqc-2.0.2.tar.gz

About: passwdqc is a simple password strength checking module for PAM-aware password changing programs, such as passwd(1).

pam_passwdqc.c  (passwdqc-2.0.1):pam_passwdqc.c  (passwdqc-2.0.2)
skipping to change at line 97 skipping to change at line 97
\ \
"A good password should be a mix of upper and lower case letters, digits, and\n" \ "A good password should be a mix of upper and lower case letters, digits, and\n" \
"other characters. You can use a password containing at least %d charact ers.\n", \ "other characters. You can use a password containing at least %d charact ers.\n", \
count), (count) count), (count)
#define MESSAGE_EXPLAIN_PASSWORD_N_CLASSES(count) \ #define MESSAGE_EXPLAIN_PASSWORD_N_CLASSES(count) \
P3_( \ P3_( \
"A valid password should be a mix of upper and lower case letters, digits , and\n" \ "A valid password should be a mix of upper and lower case letters, digits , and\n" \
"other characters. You can use a password containing at least %d charact er\n" \ "other characters. You can use a password containing at least %d charact er\n" \
"from at least %d of these 4 classes.\n" \ "from at least %d of these 4 classes.\n" \
"An upper case letter that begins the password and a digit that ends it\n "An upper case letter that begins the password and a digit that ends it d
" \ o not\n" \
"do not count towards the number of character classes used.\n", \ "count towards the number of character classes used.\n", \
\ \
"A valid password should be a mix of upper and lower case letters, digits , and\n" \ "A valid password should be a mix of upper and lower case letters, digits , and\n" \
"other characters. You can use a password containing at least %d charact ers\n" \ "other characters. You can use a password containing at least %d charact ers\n" \
"from at least %d of these 4 classes.\n" \ "from at least %d of these 4 classes.\n" \
"An upper case letter that begins the password and a digit that ends it\n "An upper case letter that begins the password and a digit that ends it d
" \ o not\n" \
"do not count towards the number of character classes used.\n", \ "count towards the number of character classes used.\n", \
count), (count) count), (count)
#define MESSAGE_EXPLAIN_PASSWORD_ALL_CLASSES(count) \ #define MESSAGE_EXPLAIN_PASSWORD_ALL_CLASSES(count) \
P3_( \ P3_( \
"A valid password should be a mix of upper and lower case letters, digits , and\n" \ "A valid password should be a mix of upper and lower case letters, digits , and\n" \
"other characters. You can use a password containing at least %d charact er\n" \ "other characters. You can use a password containing at least %d charact er\n" \
"from all of these classes.\n" \ "from all of these classes.\n" \
"An upper case letter that begins the password and a digit that ends it\n "An upper case letter that begins the password and a digit that ends it d
" \ o not\n" \
"do not count towards the number of character classes used.\n", \ "count towards the number of character classes used.\n", \
\ \
"A valid password should be a mix of upper and lower case letters, digits , and\n" \ "A valid password should be a mix of upper and lower case letters, digits , and\n" \
"other characters. You can use a password containing at least %d charact ers\n" \ "other characters. You can use a password containing at least %d charact ers\n" \
"from all of these classes.\n" \ "from all of these classes.\n" \
"An upper case letter that begins the password and a digit that ends it\n "An upper case letter that begins the password and a digit that ends it d
" \ o not\n" \
"do not count towards the number of character classes used.\n", \ "count towards the number of character classes used.\n", \
count), (count) count), (count)
#define MESSAGE_EXPLAIN_PASSWORD_ALL_OR_3_CLASSES(count) \ #define MESSAGE_EXPLAIN_PASSWORD_ALL_OR_3_CLASSES(count) \
P3_( \ P3_( \
"A valid password should be a mix of upper and lower case letters, digits , and\n" \ "A valid password should be a mix of upper and lower case letters, digits , and\n" \
"other characters. You can use a password containing at least %d charact er\n" \ "other characters. You can use a password containing at least %d charact er\n" \
"from all of these classes, or a password containing at least %d characte rs\n" \ "from all of these classes, or a password containing at least %d characte rs\n" \
"from just 3 of these 4 classes.\n" \ "from just 3 of these 4 classes.\n" \
"An upper case letter that begins the password and a digit that ends it\n "An upper case letter that begins the password and a digit that ends it d
" \ o not\n" \
"do not count towards the number of character classes used.\n", \ "count towards the number of character classes used.\n", \
\ \
"A valid password should be a mix of upper and lower case letters, digits , and\n" \ "A valid password should be a mix of upper and lower case letters, digits , and\n" \
"other characters. You can use a password containing at least %d charact ers\n" \ "other characters. You can use a password containing at least %d charact ers\n" \
"from all of these classes, or a password containing at least %d characte rs\n" \ "from all of these classes, or a password containing at least %d characte rs\n" \
"from just 3 of these 4 classes.\n" \ "from just 3 of these 4 classes.\n" \
"An upper case letter that begins the password and a digit that ends it\n "An upper case letter that begins the password and a digit that ends it d
" \ o not\n" \
"do not count towards the number of character classes used.\n", \ "count towards the number of character classes used.\n", \
count), (count) count), (count)
#define MESSAGE_EXPLAIN_PASSPHRASE(count) \ #define MESSAGE_EXPLAIN_PASSPHRASE(count) \
P3_(\ P3_(\
"A passphrase should be of at least %d word, %d to %d characters long, an d\n" \ "A passphrase should be of at least %d word, %d to %d characters long, an d\n" \
"contain enough different characters.\n", \ "contain enough different characters.\n", \
\ \
"A passphrase should be of at least %d words, %d to %d characters long, a nd\n" \ "A passphrase should be of at least %d words, %d to %d characters long, a nd\n" \
"contain enough different characters.\n", \ "contain enough different characters.\n", \
count), (count) count), (count)
#define MESSAGE_RANDOM \ #define MESSAGE_RANDOM \
_("Alternatively, if no one else can see your terminal now, you can pick _("Alternatively, if no one else can see your terminal now, you can pick
this\n" \ this as\n" \
"as your password: \"%s\".\n") "your password: \"%s\".\n")
#define MESSAGE_RANDOMONLY \ #define MESSAGE_RANDOMONLY \
_("This system is configured to permit randomly generated passwords only. \n" \ _("This system is configured to permit randomly generated passwords only. \n" \
"If no one else can see your terminal now, you can pick this as your\n" \ "If no one else can see your terminal now, you can pick this as your\n" \
"password: \"%s\". Otherwise come back later.\n") "password: \"%s\". Otherwise come back later.\n")
#define MESSAGE_RANDOMFAILED \ #define MESSAGE_RANDOMFAILED \
_("This system is configured to use randomly generated passwords only,\n" \ _("This system is configured to use randomly generated passwords only,\n" \
"but the attempt to generate a password has failed. This could happen\n" \ "but the attempt to generate a password has failed. This could happen\n" \
"for a number of reasons: you could have requested an impossible password \n" \ "for a number of reasons: you could have requested an impossible password \n" \
"length, or the access to kernel random number pool could have failed.") "length, or the access to kernel random number pool could have failed.")
#define MESSAGE_TOOLONG \ #define MESSAGE_TOOLONG \
 End of changes. 7 change blocks. 
21 lines changed or deleted 21 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)