If the result is OK it indicates that our password is secure, now, we must be careful and keep this password in a safe place, in case we forget it. We will have to copy the password to validate in the terminal and this command will show us the result. We can also check a strong password using: cat|cracklib-check For example, we will analyze a password that is too simple and popular. Once the application is installed we will use the cracklib-check parameter to check password status. To install cracklib in Ubuntu or Debian we will use the following command: sudo apt-get install libcrack2 Set password This analyzes all aspects of the password and gives us a result. To check if this is true, we will only need to install an application called cracklib. Many people may think that the password you are using is strong. How to check the strength of a password in Ubuntu Randpw() & randpwĮach time we execute any of these commands, the password that it will generate will be totally different and will not be related to any other previously generated. dev/null | base64 -w 0 | rev | cut -b 2- | rev You only have to write one of these lines in the terminal (Ctrl + Alt + T):ĭate +%s | sha256sum | base64 | head -c 32 echo In addition to the tools that we have just seen, we will also be able to use a series of commands that will generate random passwords. By this I mean that next to the password it will show us a phonetic transcription so that we can better remember the password. If you simply run it, it will ask you for a series of data to work with, and based on that it will create a "memorizable" password. It is a program designed to generate passwords " memorizable". To launch the command we will only have to type in the terminal (Ctrl + Alt + T): apg It comes installed in Ubuntu and its derivatives. The other option that we can use to generate our secure password is APG, Abbreviation of Automatic Password Generator. If we prefer use OpenSSL to generate our secure password, we will have to use the following command: openssl rand -base64 32 APG If we want create our password using GPG, we will execute the following command: gpg -gen-random -armor 1 32 OpenSSL In case of not having these tools, we can install them using the following command sequence in the terminal (Ctrl + Alt + T): sudo apt install gnupg2 & sudo apt install openssl GPG In Gnu / Linux we have some tools that give us the ability to automatically generate a secure password. To write this article I am using Ubuntu 16.04. How to generate strong passwords in Ubuntu
0 Comments
Leave a Reply. |