Hello,
here is a function for making random passwords. It works for the session you are in, and will need re-adding in a new session, eg you can close and open terminal and randpw will work but if you reboot you need to re-add the function.
If you copy/paste this (or type it) into your terminal and hit enter.
Every time you need a new random password open your terminal and type
and it will generate one and save you having to type the entire function out again that session.
An example -
Be sure to save any random passwords you use somewhere safe, like the password locker/safe, didn't we used to have one of these in Linux Lite ?
I will post some other ways to do this soon.
here is a function for making random passwords. It works for the session you are in, and will need re-adding in a new session, eg you can close and open terminal and randpw will work but if you reboot you need to re-add the function.
Code:
randpw(){ < /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-16};echo;}
If you copy/paste this (or type it) into your terminal and hit enter.
Every time you need a new random password open your terminal and type
Code:
randpw
and it will generate one and save you having to type the entire function out again that session.
An example -
Be sure to save any random passwords you use somewhere safe, like the password locker/safe, didn't we used to have one of these in Linux Lite ?
I will post some other ways to do this soon.