Linux activation expiration account-Linux general technology-Linux technology and application information. The following is a detailed description. When I learned the usermod command, I got my account expired.
Usermod-E limit 1-1-1 myusercount
But I want to save it.
Usermod-E 2039-12-31 myusercount
A few words failed, so I understood the chage command and still did not solve the problem. It seems that there was no corresponding information in/etc/passwd, and I didn't find a good solution on the Internet, so I had to ask the master, the Master said to look at the shadow file, so he manually modified the shadow file and unblocked it. As for how to change the shadow file, man shadow only needs to look at the content of each field, the following is a shadow record for a usable User:
| CODE: junjie2: $1 $ YDW. HyX3 $ uUM7PB5Y35rijisxaXGjX0: 13922: 0: 99999: 0 ::: |