1.mail [email protected]-S "Message title": Sends a message to the specified user, where the end of the file is added "." Indicates the end of the message, and then enter the cc: If you need to send to someone else, add the person to CC, or directly enter, the message can be issued. Entering mail directly will get a list of messages received by the current user, where n represents the new message,& followed by a question mark to see the meaning of each parameter of the instruction.
2.PWCK: Check/etc/passwd The information in this account profile and the actual home directory exists, but also can be compared to the/etc/passwd/etc/shadow in the data field error, will prompt the user revision.
3.pwconv: Move the account and password within the/etc/passwd to/etc/shadow
4.pwunconv: Write the password bar data in/etc/shadow back to/etc/passwd, and delete the/etc/shadow file
5.CHPASSWD: Read the unencrypted password, and after encryption, the encrypted password is written to/etc/shadow, this instruction is used in a large number of building accounts in the case, can accept the data in the standard input, the data format is "Username:password";
This article is from "Tiger Brother's Blog" blog, please be sure to keep this source http://7613577.blog.51cto.com/7603577/1598240
Linux mail is sent with some infrequently used change password operations