This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| deb13:otp_authenticator_for_php [2026/08/30 23:40] – Bernard Condrau | deb13:otp_authenticator_for_php [2026/08/30 23:47] (current) – Bernard Condrau | ||
|---|---|---|---|
| Line 28: | Line 28: | ||
| deactivate | deactivate | ||
| exit 0</ | exit 0</ | ||
| - | - Give the script correct ownership and permissions:< | ||
| - Create a php web page which calls the script:< | - Create a php web page which calls the script:< | ||
| <?php | <?php | ||
| $output = shell_exec('/ | $output = shell_exec('/ | ||
| echo $output;</ | echo $output;</ | ||
| + | - Give the scripts correct ownership and permissions:< | ||
| + | sudo chown www-data: | ||
| + | sudo chmod +x / | ||
| + | - In Synology, you can check the OTP like this:< | ||
| + | |||