
参数是-M, /usr/sbin/useradd -M -s shell类型态槐 用帆胡友户名做逗
man useradd:
-M
Do no create the user's home directory, even if the system wide
setting from /etc/login.defs (CREATE_HOME) is set to yes.
useradd <用户名>就可以了。但是,建议最好加主主目录
useradd 时加上 -s /sbin/nologin
必须得有主目录