In this article, we’ll discuss how to grant users access to Linux. Option 1: “Username” with the command username can be used. The password for user “username” has been reset. Option 2: Use the command U username”.

Check the status of a locked account using either the command or by modifying the /etc/shadow file to exclude the specified user name. Using the command. # passwd -S day geek or # passwd –status day geek LK 2019-05-30 7 90 7 -1 (Password has been locked.)

The password is now unblocked, allowing the user to access his or her account. If the user’s password has been forgotten, it may be necessary to unlock the user account and reset the user’s account password.

Using an SSH client, log in to your server. Switch to the root user: Sudo us -n You can use the userdel command to remove old users. The user’s username should be replaced with a dash (-). n Optional: Using the -r option with the command, you may also delete that person’s home directory and mail spool.

Select the security page in the Administrator application…. Click Account Management. … Select the users you wish to unlock…. Select Unlock user and reset password…. The Unlock Selected Users button will now be active.

The user command modifies a user’s attributes and access permissions. This command may be used to secure and unlock a user ID, add or delete roles from a user ID, and modify characteristics such as name, description, e-mail address, and pager number.