January 2018
Intermediate to advanced
376 pages
8h 45m
English
The /etc/default/useradd file has the rest of the default settings. In this case, we'll look at the one from the CentOS machine.
# useradd defaults fileGROUP=100HOME=/homeINACTIVE=-1EXPIRE=SHELL=/bin/bashSKEL=/etc/skelCREATE_MAIL_SPOOL=yes
The EXPIRE= line sets the default expiration date for new user accounts. By default, there is no default expiration date. INACTIVE=-1 means that user accounts won't be automatically locked out after the users' ...