一、useradd username不会在/home下建立一个文件夹username
(1)会在/etc/passwd下面添加注册的账户:
(2)会在/etc/shadow 文件下建立注册用户的密码:
(3)不会在/home下建立一个文件夹username:
二、adduser username
一、useradd username不会在/home下建立一个文件夹username
(1)会在/etc/passwd下面添加注册的账户:
(2)会在/etc/shadow 文件下建立注册用户的密码:
(3)不会在/home下建立一个文件夹username:
二、adduser username