Score:1

Is there a GUI or package that you can install to enforce password policies?

us flag

Things like Minimum length and Captial Letters. Along with Lockout policies. If there isnt a GUI, how would you complete this using command prompt. (Password History, Max password age, Min password age, Min length, Numb Cap, Numb Special, Numb Number, Reversible encryption, Lockout duration, Lockout threshold, Lockout reset time)

muru avatar
us flag
Does this answer your question? [How do I enforce a password complexity policy?](https://askubuntu.com/questions/244115/how-do-i-enforce-a-password-complexity-policy) And https://askubuntu.com/questions/59459/how-do-i-enable-account-lockout-using-pam-tally for the locking
Score:2
cn flag

Of course, password policies can be adapted in linux. Some options may be exposed depending on the desktop environments you use, although there may be no extensive GUI that exposes all possible options.

In the system file /etc/login.defs, you can define minimum length of the password, how long a password is valid, how long it takes before being able to enter a new password after having entered a wrong password, etc. Consult man login.defs for all options.

You can also check password history, where the system will check whether a new password you use has been entered before. That is set in the /etc/pam.d/common-auth system file.

Finally, you can control the requirements for the password string itself in the file /etc/pam.d/common-password. This functionality is provided by libpam-pwquality, which is installed by default in Ubuntu.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.