diff options
Diffstat (limited to 'ops/nixos/modules/tvl-slapd/genpasswd.rb')
-rw-r--r-- | ops/nixos/modules/tvl-slapd/genpasswd.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ops/nixos/modules/tvl-slapd/genpasswd.rb b/ops/nixos/modules/tvl-slapd/genpasswd.rb new file mode 100644 index 000000000000..8f6f8d75842e --- /dev/null +++ b/ops/nixos/modules/tvl-slapd/genpasswd.rb @@ -0,0 +1,5 @@ +require 'securerandom' + +passwd = SecureRandom.urlsafe_base64(15) + +puts "your password: [[#{passwd}]]" |