我想知道使用-r
选项创建帐户的含义是什么?
# useradd -r ...
帮助说:
-r, --system
Create a system account.
System users will be created with no aging information in /etc/shadow, and their
numeric identifiers are chosen in the SYS_UID_MIN-SYS_UID_MAX range, defined in
/etc/login.defs, instead of UID_MIN-UID_MAX (and their GID counterparts for the
creation of groups).
Note that useradd will not create a home directory for such an user, regardless
of the default setting in /etc/login.defs (CREATE_HOME). You have to specify the
-m options if you want a home directory for a system account to be created.
但是,除了为uid,gid和groups分配较低的值外。
问题1 哪些文件受到影响?
问题2 此类型的系统帐户具有什么其他性能?
问题3 什么行为会忽略或停止提交?
问题4 我可以将使用“ -r”选项创建的帐户更改为没有使用该选项创建的帐户吗?
2
检查该帖子 ...
—
joseluisbz 2015年