- 论坛徽章:
- 0
|
回复 2# shang2010
感谢回复,不过我查到的资料好像跟你说的有点出入,http://linuxcommand.org/man_pages/useradd8.html
-r This flag is used to create a system account. That is, a user
with a UID lower than the value of UID_MIN defined in
/etc/login.defs and whose password does not expire. Note that
useradd will not create a home directory for such an user,
regardless of the default setting in /etc/login.defs. You have
to specify -m option if you want a home directory for a system
account to be created. This is an option added by Red Hat
除了UID 小和密码不会过期外,不知道-r 创建出来的系统用户和一般用户有什么区别呢?
|
|