How to unlock a user account?

QuestionsQuestions8 SkillsProUser Account ManagementAug, 23 2025
0194

To unlock a user account in Linux, you can use the passwd command with the -u option. Here's the command:

sudo passwd -u username

Replace username with the actual username of the account you want to unlock.

This command will unlock the specified user account, allowing them to log in again.

If you want to practice user management, consider exploring relevant labs on LabEx!

0 Comments

no data
Be the first to share your comment!