#useradd -u 0 -o -g 0 username
使用 -o参数可以允许建立相同id的用户。
passwd username
添加密码
Tags: linux, passwd, root, useradd