The/etc/default/useradd file is a default configuration file that needs to be called when you use Useradd to add a user, and you can use the "useradd-d parameter" format to modify the contents of the file.
[Email protected] ~]# Cat/etc/default/useradd
# useradd defaults file
group=100
Home=/home Note: The user's home directory is built in/house.
Inactive=-1 Note: If account expiration is enabled, 1 means not enabled.
expire= Note: The account termination date is not set to indicate not enabled.
Shell=/bin/bash Note: The new user defaults to all shell types.
Skel=/etc/skel Note: Configure the default file storage path for the new user home directory.
Create_mail_spool=yes Note: Create a MAIL file.
This article is from the blog "Write to Yourself", so be sure to keep this source http://zhaodongwei.blog.51cto.com/4233742/1766279
Linux/etc/default/useradd configuration file