Thursday, January 19, 2012

Displaying defaults for useradd

If you are take a look at the defaults that useradd will use for  new logins, you can use the command
# useradd -D

Output
GROUP=100
HOME=/home
INACTIVE=-1
EXPIRE=
SHELL=/bin/bash
SKEL=/etc/skel
CREATE_MAIL_SPOOL=yes

For more information, see Default values used by useradd command

No comments: