LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Random Passwords Anyone ?
#1
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.

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 -

[Image: pw.png]

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.
Reply


Messages In This Thread
Random Passwords Anyone ? - by bitsnpcs - 01-31-2018, 06:52 PM
Re: Random Passwords Anyone ? - by bitsnpcs - 01-31-2018, 06:59 PM
Re: Random Passwords Anyone ? - by bitsnpcs - 01-31-2018, 07:04 PM
Re: Random Passwords Anyone ? - by bitsnpcs - 01-31-2018, 07:08 PM
Re: Random Passwords Anyone ? - by bitsnpcs - 01-31-2018, 07:27 PM
Re: Random Passwords Anyone ? - by ian_r_h - 02-01-2018, 12:45 PM
Re: Random Passwords Anyone ? - by bitsnpcs - 02-01-2018, 05:43 PM
Re: Random Passwords Anyone ? - by bitsnpcs - 02-01-2018, 07:52 PM
Re: Random Passwords Anyone ? - by bitsnpcs - 02-01-2018, 07:58 PM
Re: Random Passwords Anyone ? - by ian_r_h - 02-02-2018, 12:22 PM
Re: Random Passwords Anyone ? - by bitsnpcs - 02-02-2018, 01:46 PM
Re: Random Passwords Anyone ? - by bitsnpcs - 02-02-2018, 08:42 PM
Re: Random Passwords Anyone ? - by bitsnpcs - 02-02-2018, 08:47 PM
Re: Random Passwords Anyone ? - by ian_r_h - 02-03-2018, 12:21 PM
Re: Random Passwords Anyone ? - by bitsnpcs - 02-03-2018, 03:03 PM
Re: Random Passwords Anyone ? - by ian_r_h - 02-05-2018, 11:07 AM
Re: Random Passwords Anyone ? - by bitsnpcs - 02-05-2018, 11:17 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)