Linux中添加用户到某个组中

useradd water -u 6010 -g 6000 -s /sbin/nologin -d /dev/null

6010 代表 user的唯一id
6000代表 group的唯一id

你可能感兴趣的:(LNMP搭建)