Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
deb13:otp_authenticator_for_php [2026/08/30 23:43] Bernard Condraudeb13:otp_authenticator_for_php [2026/08/30 23:47] (current) Bernard Condrau
Line 33: Line 33:
 echo $output;</code> echo $output;</code>
   - Give the scripts correct ownership and permissions:<code>sudo chown www-data:www-data /home/bco/html/pyotp-env/otp.py   - Give the scripts correct ownership and permissions:<code>sudo chown www-data:www-data /home/bco/html/pyotp-env/otp.py
-sudo chown www-data:www-data /home/bco/html/otp.sh</code>+sudo chown www-data:www-data /home/bco/html/otp.sh 
 +sudo chmod +x /home/bco/html/otp.sh</code> 
 +  - In Synology, you can check the OTP like this:<code>synootp username=user code=otp-code</code>