#1 Global Leader in Data Resilience

How to Reset Hardened Repository ISO Appliance Account Lockout

KB ID: 4663
Product: Veeam Backup & Replication | 12.2
Published: 2024-09-16
Last Modified: 2024-10-01
mailbox
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please, try again later.

Article Applicability

This article discusses the Hardened Repository ISO, which is currently in Community Preview release state.

As a Community Preview feature, the ISO and resulting appliance are not supported by Veeam Support. For assistance with issues or to share feedback, please use the Veeam R&D forums.

Purpose

This article documents how to unlock the accounts used with the Veeam Hardened Repository ISO, veeamsvc or vhradmin, when they become locked out.

The Veeam Hardened Repository ISO deploys Rocky Linux with the DISA STIG security profile, which utilizes faillock to lock user accounts after 3 incorrect password attempts. For security reasons the root account is disabled, which means the only way reset the faillock state is to boot the appliance into single user mode.

Solution

Note: Unlocking requires console access and an appliance reboot.

  1. Disable all jobs to the repository, if any.
  2. Connect to the host with the console.
  3. With the console open and visible so you can watch it boot, reboot the appliance.
  4. When the GRUB boot menu appears, use the arrow keys to highlight the first item and press 'e' to edit the entry.
  5. At the end of the line that starts with linux add the following:
rd.lvm.lv=systemvol/var rd.lvm.lv=systemvol/varlog init=/bin/sh
grub config
  1. Press Ctrl+x to boot with the specified parameters.
  2. After booting, mount the necessary partitions:
mount /dev/mapper/systemvol-var /var
mount /dev/mapper/systemvol-varlog /var/log
  1. Delete from the faillock folder the file named after the user.
rm /var/log/faillock/veeamsvc
rm /var/log/faillock/vhradmin
  1. Reboot the appliance:
/usr/sbin/reboot -f
  1. The system will boot and the account will no longer be locked out.
To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please, try again later.

You have selected too large block!

Please try select less.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
Verify your email to continue your product download
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please, try again later.