diff --git a/ops/nixos/modules/tvl-slapd/contents.ldif b/ops/nixos/modules/tvl-slapd/contents.ldif index 4f883926f..16d51ca7c 100644 --- a/ops/nixos/modules/tvl-slapd/contents.ldif +++ b/ops/nixos/modules/tvl-slapd/contents.ldif @@ -27,3 +27,12 @@ sn: tazjin title: tazjin mail: mail@tazj.in userPassword: {SSHA}67H341jRfAFBDz/R9+T3fHQiPfjwTbpQ + +dn: cn=riking,ou=users,dc=tvl,dc=fyi +objectClass: organizationalPerson +objectClass: inetOrgPerson +cn: Kane York +sn: riking +title: riking +mail: rikingcoding@gmail.com +userPassword: {SSHA}6rPxMOofHMGNTEYdyBOYbza7NT/RmiGz diff --git a/ops/nixos/modules/tvl-slapd/genpasswd.rb b/ops/nixos/modules/tvl-slapd/genpasswd.rb new file mode 100644 index 000000000..8f6f8d758 --- /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}]]"