Linux Tips-/etc/default/useradd file analysis

Source: Internet
Author: User
Linux Tips-/etc/default/useradd file analysis in the/etc/default/useradd file for setting the added user rule file. 1 # useradddefaultsfile2GROUP100 # User Group ID... linux Tips-/etc/default/useradd file analysis in the/etc/default/useradd file to set the added user rule file. 1 # useradd defaults file 2 GROUP = 100 # User group id 3 HOME =/home # Create your home directory in/HOME. 4 INACTIVE =-1 # whether to enable account expiration and suspension.-1 indicates that the account is not enabled. Www.2cto.com 5 EXPIRE = # end date of the account. If this parameter is not set, the account is not enabled. 6 SHELL =/bin/bash # SHELL type 7 SKEL =/etc/skel # add the default file storage location of the user's directory by default. That is to say, when a user uses useradd to add a user, all files in the user's home directory are copied from this directory. 8 CREATE_MAIL_SPOOL = yes # whether to create a user email buffer. yes indicates the creator junjieguo.
Related Article

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.