Skip to content

Commit

Permalink
Restore all OTP templates with post-restore-data (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephdl committed Apr 7, 2020
1 parent c6a7720 commit 85c1605
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions createlinks
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,13 @@ event_templates('otp-save', qw(
/etc/pam.d/cockpit
));

# Expand all files related to restore OTP
event_templates('post-restore-data', qw(
/etc/nethserver/cockpit.otp.force
/etc/nethserver/otp.secret
/etc/pam.d/cockpit
));

# expand cockpit PAM following `ShellOverrideStatus`
event_templates('nethserver-sssd-save', qw(
/etc/pam.d/cockpit
Expand Down

0 comments on commit 85c1605

Please sign in to comment.