This website requires JavaScript.
Explore
Help
Sign in
cyplo
/
dotfiles
Watch
1
Star
0
Fork
You've already forked dotfiles
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
ba4c654f0c
dotfiles
/
tools
/
genpasswd
5 lines
76 B
Text
Raw
Normal View
History
Unescape
Escape
genpasswd tool added
2015-12-12 07:56:13 +00:00
#!/bin/bash
l=$1
Change default genpasswd length to 32
2016-09-18 13:58:16 +01:00
[ "$l" == "" ] && l=32
Fix the number of characters being put out from genpasswd (#143)
2017-10-17 15:44:57 +01:00
openssl rand -base64 $l | cut -c-$l
Reference in a new issue
Copy permalink