How to turn off 2FA login

I can’t disable 2FA using the “./occ twofactorauth: disable username” command, after entering, I am not permission.
644 has root privileges and does not allow changing to 744.

Try to use the sudo command to execute the occ command, like e.g.

sudo -u <web-server-user> php <path-to-occ-command>/occ twofactorauth:disable <username>

ok done thx