For users not wishing to use a smartphone or to provide a backup device to enable login with TOTP the oathtool
command line tool can be used on Linux or MacOS systems to provide a one-time password as an alternative to using an authenticator client on a smartphone.
The page UDOC:TOTP: How to activate was not found -- Please check/update the page name used in the MultiExcerpt-Include macro
Use as:
oathtool -b --digits=6 --totp=sha1 "ABCDEFGHIJKLMNOPQRSTUVWXYZ012345"