天天看点

linux 一条命令创建root权限用户

[root@docker-test ~]# useradd -p "123456" toor -o -u 0      

命令解析:

-p  指定密码

-u  指定UID

-g  指定用户组