hello

123 阅读1分钟
useradd -m -d /home/xuedagong -s /bin/bash xuedagong
#-m 表示创建相应的用户目录
#-d 设置用户目录的路径
# -s 设置登录bash

/**
useradd的帐号建立在 /etc/passwd
**/