Security is one of most crucial concerns of the new generation of Internet. Various ways to strengthen security are developed day-by-day, one such tool is the APG which is considered to be among the simplest methods of tightening security over web hosting servers. As the name suggests, it offers the capability for generating complex and difficult-to-judge passwords. While some may feel comfortable building such a password manually, but this is tool is as good as doing it in the same way.
What is APG (Automated Password Generator) ? #
APG or Automated Password Generator is a Linux program that helps webmasters and server administrators with creating random, secure passwords, through the SSH of server’s. A wide range of Linux distros use APG in their repository, its installation is as simple as its usage. It uses permutations and combinations of various characters, alphabets, numbers, in-combination to generate an unpredictable password.
APG is free open source software that can be downloaded from available for download from http://www.adel.nursat.kz/apg/ for Linux and its distros.
To check the existing settings, you may simply enter ‘apg’ in the command line after which you would see a prompt that looks like the following :
Please enter some random data (only first 8 are significant)
(eg. your old password):>
As you enter the password, you’d not be able to view the characters. After hitting the Enter button, apg would instantly generate six passwords, followed by their pronunciations. Note : Do not misunderstand this to be the passwords, its just a provision made to help you remember the password but are still in a much secure format.
Below is a list of such examples :
If you do not intend to view the pronounceable passwords, you may use the “-a” flag and add a “1? at the end, as shown below :
apg -a 1
The below would be an output after to run the command:
You may then configure other settings such as specifying the minimum length of the password (-min_pass_len) and the mode (-M), this helps you determine the types of characters allowed.
You may run ‘man apg‘ from the command line to check its documentation.