[DCN]Q&A:How Do I Unlock a Common Linux User?

Created: Jun 29, 2019 08:52:50Latest reply: Jun 29, 2019 09:12:08 27 1 0 0
  Rewarded Hi-coins: 0 (problem resolved)

If a common Linux user gets locked after multiple wrong passwords are entered, how do I unlock the user?

  • x
  • convention:

Featured Answers
Official Created Jun 29, 2019 09:12:08 Helpful(0) Helpful(0)

Perform the following steps to unlock a common user as the root user.
Step1: Log in to the Linux OS as the root user.
Step2: Run the pam_tally2 -u swift -r command to unlock the common user. In this example, the user name is swift.
Step3: After the account is unlocked, log in as the swift user. If you forget the user password, you can log in as the root user and run the passwd swift command to reset the password.
  • x
  • convention:

All Answers
DCN_Documentation Official Created Jun 29, 2019 09:12:08 Helpful(0) Helpful(0)

Perform the following steps to unlock a common user as the root user.
Step1: Log in to the Linux OS as the root user.
Step2: Run the pam_tally2 -u swift -r command to unlock the common user. In this example, the user name is swift.
Step3: After the account is unlocked, log in as the swift user. If you forget the user password, you can log in as the root user and run the passwd swift command to reset the password.
  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!

Login and enjoy all the member benefits

Login
Fast reply Scroll to top