Comprehensive data protection for all workloads
Post Reply
Bjornen66
Novice
Posts: 3
Liked: never
Joined: Sep 23, 2024 9:47 am
Full Name: Bjorn Svensson
Contact:

Locked out account in rocky linux 9.4

Post by Bjornen66 »

Hi!
I use rocky Linux 9.4 as hardened repository for Veeam. The account I created during the installation is now locked out (don't ask how I did it).
So I need to unlock the account using emergency mode. There are instructions how to change password in emergency mode but changing password does not unlock the account. So I wonder if some one here knows how to unlock the account.
Thanks
PTide
Product Manager
Posts: 6553
Liked: 765 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Locked out account in rocky linux 9.4

Post by PTide »

Hi,

Have you tried to get into a single-user mode and check the account with faillock utility?

Thanks!
Bjornen66
Novice
Posts: 3
Liked: never
Joined: Sep 23, 2024 9:47 am
Full Name: Bjorn Svensson
Contact:

Re: Locked out account in rocky linux 9.4

Post by Bjornen66 »

Hi!

Yes, I tried faillock and and all I got was, Error reading tally directory: No such file or directory.
My /var folder is empty, do I have to mount /var maybe.

Thanks
PTide
Product Manager
Posts: 6553
Liked: 765 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Locked out account in rocky linux 9.4

Post by PTide »

Sounds like it's time to file a support case. Please post your case ID here.

Thanks!
tdewin
Veeam Software
Posts: 1818
Liked: 655 times
Joined: Mar 02, 2012 1:40 pm
Full Name: Timothy Dewin
Contact:

Re: Locked out account in rocky linux 9.4

Post by tdewin »

Just documenting here. If you have the feeling an account is locked and you are absolutely sure you did it and there are no bad actors in your network you can try to unlock it with fail lock eg

validate if an account (in this example veeamsvc) has invalid attempts with

Code: Select all

faillock --user veeamsvc
unlock or reset the account

Code: Select all

faillock --user veeamsvc --reset
Again use with care. A locked account might indicate failed attempts by bad actors
Post Reply

Who is online

Users browsing this forum: No registered users and 46 guests