diff --git a/docs/tutorials/tut1.rst b/docs/tutorials/tut1.rst index 634e47e3e..b379de538 100644 --- a/docs/tutorials/tut1.rst +++ b/docs/tutorials/tut1.rst @@ -41,7 +41,7 @@ Let's create a password and provide it to PostgREST. Think of a nice long one, o export LC_CTYPE=C # read random bytes and keep only alphanumerics - echo "jwt-secret = \"$(< /dev/urandom tr -dc A-Za-z0-9 | head -c32)\"" >> tutorial.conf + echo "jwt-secret = \"$(LC_ALL=C tr -dc 'A-Za-z0-9' > tutorial.conf check the :code:`tutorial.conf` (created in the previous tutorial) the line with the password: