Linux User Management

Source: Internet
Author: User

/etc/skel User Environment variables, when a user is added, copies the files of that directory to the user's home directory. If you write a file in this directory, the new user's home directory will be synchronized past.

/etc/login.defs User Login related properties, such as home directory permissions, password expiration time and so on.

/etc/default/useradd Just add the user to read this file first, to create the user's initialization file.

Groupadd Weipeng – G 801 Group id801 Group name Weipeng

useradd-e ' 2017/10/06 ' Weikang indicates that the new Weikang account will expire when the 10.6 number expires. View user-related settings with Chage –l Weikang

Passwd-n 7-x 60-w 10-i danhuaqi means that the user cannot change the face within 7 days, the password must be changed after the day expires Ten Daily Pass Danhuaqi User, expired - It is forbidden to log in after days.


Linux User Management

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.