Root herself failed to change the password
Normal user failed to change password
1. Reporting such an error is: password: authentication token operation error, usually due to the permissions of the password file, but may also be the root directory space is full.
Using the Lsattr command to view the file properties that hold the user and password, you find the I option: (I: Do not arbitrarily change files or directories.) As a result, all users cannot change their passwords because they have no permission to do so.
2. We need to use the chattr command to revoke the I permission, and then modify, it is ok.
3. Then test root and Xiaogang users to change their passwords.
Test the root user to change the password
Test xiaogang users to change their passwords
4. For security reasons, it is better to change the password and protect the file where the user and password are stored.
Also chattr + I /etc/passwd
5 ordinary users to modify their passwords, is required, the password must be complex, and in the password dictionary some characters can be set.
Read More:
- ERROR: You must wait longer to change your password passwd: Authentication token manipulation error
- Authentication token manipulation error appears in ubuntu18.04 password modification
- remote: XXX Incorrect username or password (access token) fatal: Authentication failed for XXX
- R-DataCamp-Data Manipulation with dplyr in R
- 【Linux】psql: FATAL: Ident authentication failed for user “username” Error and Solution
- About writing [if] and [else] statements in JSP, Syntax error on token “else”, delete this token
- CDH HDFS webui browser authentication (after Kerberos authentication is enabled)
- Token bucket implementation with adaptive token generation rate
- Syntax error on token “eat”, identifier expected after this token
- Syntax error on token “}“, delete this token
- An authentication error occurred in the remote desktop connection
- Error in Python connection to mongodb pymongo.errors.OperationFailure : Authentication failed.
- [Solved] Access /oauth/token in SpringCloud OAuth2 and report server_error
- Error resolution of unexpected token in JSON at position 0
- Putty logs in and prompts no supported authentication methods available
- Unexpected token appears in JS
- Method of modifying file and folder permission by Chmod command in Linux
- Unexpected token o in JSON at p
- Syntax error: unexpected token in uni app project compilation