Linux mail is sent with some infrequently used change password operations

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.