New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2FA not completely restored after disaster recovery #6109
Comments
how solve this ? drop an action to trigger otp-save, do you know what is the event name of the disaster recovery |
Just expand all required templates inside the post-restore-config or post-restore-data event: |
|
But 2FA users files are in |
Test case
|
Tested: VERIFIED All configured |
After a disaster recovery procedure, the
2FA
feature is enabled but not honored for NS users (both privileged and normal).Steps to reproduce
2FA
for NS users;2FA
works.Expected behavior
2FA
should works as before.Actual behavior
2FA
is configured but not honored.This happens because
2FA
config files (/etc/nethserver/otp.secret
,/etc/nethserver/cockpit.otp.force
and/etc/nethserver/sshd.otp.force
) are empty or inexistent.The workaround is to run:
Components
The text was updated successfully, but these errors were encountered: