14387 shaares
5333 private links
5333 private links
How to Generate Random Passwords?
There are several ways to generate random passwords. In this section, I am going to introduce three of these ways.
1) Using the mkpasswd Command
The easiest method, not only in the three that will be mentioned here, but also among all known random password generation methods. The mkpasswd is a Linux command that generates passwords and can apply them automatically to users. If you can’t locate that command on your Linux box, it might be not installed. To obtain it, install the expect package that contains among many useful tools the mkpasswd command.