From be5d3229a33cd62b3090b384c4f4a1454e7b1707 Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Thu, 18 Apr 2019 23:30:41 +0200 Subject: [PATCH] genpasswd --- bin/genpass.sh | 4 ++++ readme.md | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 bin/genpass.sh diff --git a/bin/genpass.sh b/bin/genpass.sh new file mode 100644 index 0000000..34d928f --- /dev/null +++ b/bin/genpass.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +_pass="$(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c16)" +echo "$_pass" diff --git a/readme.md b/readme.md index a861f43..ddb40cf 100644 --- a/readme.md +++ b/readme.md @@ -17,6 +17,7 @@ each alpine linux stable release has it's branch (master is a clone of the last - [x] Fail2ban - [x] Knockd - [x] Mariadb (bug https://bugs.alpinelinux.org/issues/9046) +- [ ] mysql backups - [x] php7-fpm (7.2) - [x] Nginx - [x] drush @@ -26,8 +27,10 @@ each alpine linux stable release has it's branch (master is a clone of the last - [x] redis - [x] zabbix-agent (4) - [x] urbackup-client +- [ ] solr - [ ] git barre repos - [ ] Proftpd +- [x] passwd generator ## how to use it on a fresh install