Generate password

in case you need a quick way to generate a password length 8

openssl rand -base64 8

6 Likes

I usually use pwgen (old ref article):

image

sudo apt install pwgen
sudo dnf install pwgen
sudo pacman -S pwgen

Edit: Found project page: Password generator CLI

4 Likes

nice. I made an alias, alias p='openssh rand -base64 8' when I type p, I get a random 8 char pw, quick n dirty. There are plenty of one-liners. It’s good to share with the group.

3 Likes