Skip to content
www.linuxonlinehelp.eu
Professional Linux PC & Server Support since 2004
  • Index
  • Blog
  • Hotline & Contact
  • GDPR
  • Legal Notice
www.linuxonlinehelp.eu
  • Index
  • Blog
  • Hotline & Contact
  • GDPR
  • Legal Notice

Password: Simple script generator on a linux console

Posted on 5. December 2016

If you need a password creator for your daily needs you can do this with a default tool called openssl / libressl and a small bash script:

Howto:

  • open a console
  • open as user a editor like nano or vi with $nano pwcreate.sh
  • insert this:
#!/bin/sh
/bin/bash -c "for i in {1..20}; do openssl rand -base64 32; done"
exit 0
  • exit and save the script
  • set it to runable with $chmod 755 pwcreate.sh
  • test it.. with ./pwcreate.sh
  • should echo like this:
6gUUuothdHwwaWHjA/UhyCiV3FWpPC1lBQTIY3IiQn8=
ozqloLyWXQyBJlcVXPVLY2PBpRV04uVkWrP6c1epxCs=
gjLE6MWeK+c6EBx1wV/uUxubtrLoeUpXb4GCIEQK3b8=
X4RoYhASR6i4BfwDYoB2+/gNWY1P35MM6jJYaOEpV0M=
dXoLBGrRC+oei6cm6N1bD8k/ntZi5grtKLEH6SytTXQ=
2DZ1yAi96xvGlHQLQoexUhPc2w1iIqoeVW8zHaMmsvU=
Vmq4r5ZXC2EKu5Ze7SLBbKavpkLQC0RRrXEGlDmxfpY=
FSXmp+cVKPvpq/JhyhuGHJ2ue3L6hLEcX6XfkUCrYqg=
GvbWjPYvoOWJPOMOG6oihGFQv9wNgwZO2Go/ogJkmBM=
z6P+VHsGBPKTpR6yzThKjyGVVwa/WWtuv/G/aO27bEM=
qBozaA2PMMy+zhVrvUNVSbP2mg9KshsXYfTzuTvmlkI=
ARYyGx2dE1yfPJydBlvaNXpKmRbZI7CHbcCPDHgTcNo=
7PrqMZqFJ7gqeGzWjdqFCdIHvnl3vgoYAxiL4wN2Jcw=
q6Wwi1rG0j0WqXuUhdIpZ2C7BergeqSExDv87a/DIsw=
d7R6nCuYo6lo+gFiwroaAeG5RxPxWrPDf8oJxv+toHU=
7EQZysp2leEqP6eDp8M6+DeT71gpyqYEiSzMvMLjMys=
B7J3JdrDxFCW3rV09Ut+wLukVgSUk41SroBQTzrgirY=
yXrgYLD2YK2DN+aZCF4N6WXO/IL5RC6JM2mxW3xAnbc=
Wr/QF46wo5Dtobl5maojZc2jrF4bvO1sNWed8OpTsTc=
juTzIS+ul4rAbyHOrFxKCn1A7HogaeUpJjhVcxjHQDo=
  • ready to use, take one line only! and run again for next!
  • If the passwords are to short for your needs replace 32 with 64 digits!!!
  • enjoy…freedom

Filed under: FreeBSD, Howto, IT-Security, Linux News, Newbie Info, news, Support, sustainability

← Previous PostNext Post →
Klick to Search on Index

Job Recruiters

Exploring new opportunities as an International Senior IT Analyst or IT Product-Manager. Open to exciting roles worldwide – let’s connect!

Bookmark me..

qrcode bookmark www.linuxonlinehelp.eu

Categories

Affiliate Android apache Archiving avm AWS Backup Blogging Cleanup cloud Collaboration Tools Console debian Firewall FreeBSD Hardware Bugs Howto Internet Planetary Filesystem IT-Security Laptop Linux News luks Maintenance Micro Server MySQL Newbie Info news nextcloud Openmips Openwrt OSS Bug Reports Raspian Router samba Socialmedia Software Bugs Support sustainability Technic ubuntu Webserver Webui Windows Wordpress Workarounds

Social Media

  • GitHub
  • Instagram
  • Linkedin Profile
  • Weatherstation
  • Wiki (PW needed)
  • Xing Profile

Bookmarks

  • DSGVO GDPR
  • Internetrecht-Laws

IT Security Bookmarks

  • DSA Debian Security Bugs
  • Kali Linux Tool OS
  • Privoxy Proxy NoAds
  • Tails Ram OS Secure
  • Tor Net Anonymous
  • USN Ubuntu Security Bugs
  • Vulnerability Database

Linux Bookmarks

  • Debian Forum
  • Debian Linux Home
  • Devuan NEW!
  • Download Ubuntu
  • Elementary OS Linux
  • Linux Kernel Bugs Library
  • LXDE Window Manager
  • Openbox Windowmanager
  • Openmips Multimedia OS
  • Openwrt LEDE Bugs
  • Openwrt Router OS
  • Raspberry Pi Project
  • Tiny Core Linux
  • Ubuntu Forum German
  • Ubuntu Linux Home
  • Xfce4 Desktop Home

Unix Bookmarks

  • Forum DesktopBSD
  • FreeBSD Unix OS
  • FreeBSD Wiki
  • Monowall Firewall OS 32bit
  • OPN Sense (mOnOWall)
  • PF Sense Firewall OS BSD 64bit
© 2026 - www.linuxonlinehelp.eu | All rights reserved
Powered by Linuxonlinehelp