APG: Password generator

Source: Internet
Author: User
APG: Password generator-Linux Enterprise Application-Linux server application information. For more information, see. To ensure security, we often use passwords in many places. If the password is too simple, the security will be compromised. If you want to set a complicated password and are afraid of brainpower, why not use the password generation tool to help you. The automatic Password Generator ("APG" for short) is such a dedicated Password Generator.

Install APG

The APG tool is available in most software repositories of Linux releases. Therefore, to install it, you only need to use the package management tool of the release to automatically obtain it.

Archlinux: # pacman-S apg
Debian/Ubuntu: # apt-get install apg

Use APG

If you run apg without adding any parameters in the terminal, six random passwords will be generated by default:

VodokByp
BappOtfo
Dyocvith9
TeucOfPai
RyudEnbo
NantEcMa

The above is the result of executing apg in my system.

To increase the password difficulty, you can add some parameters to the apg:

M-refers to the minimum number of digits used to generate the password. The default value is 8.
M mode-used to generate a password, such as a password containing uppercase/lowercase letters, numbers, and special characters
For example, to generate a 16-bit password that must contain uppercase letters, lowercase letters, numbers, and special characters, run:

Apg-m sncl-m 16

The result is as follows:

Lev} TwookVadtak6
$ OnOdcedVoacyig8
Cyd6SlogOpchoik-
5Phu: slujw.shug
Vig4draynItbycs-
Cevyet = ojRodreb3

For more detailed usage of apg, you can use man apg.

Suggestions

To generate a password, consider the "84" rule, that is, the password must contain at least eight digits, plus at least one uppercase letter, one lowercase letter, one digit, and one special character.

Link: http://linuxtoy.org/archives/apg.html

Source: linuxtoy Author: linuxtoy
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.