日期:2014-05-16  浏览次数:20572 次

用户,组 的问题
大家好,
安装oracle需要添加用户,及组命令如下:useradd -g oinstall -G dba oracle
id oracle
则出现
uid=502(orc) gid=503(oinstall) groups=503(oinstall),502(dba) context=root:system_r:unconfined_t:SystemLow-SystemHigh

groups 是oinstall 而不是dba ,新建另外一个用户也是出现上述情况,请问该怎么做才能使groups是dba,而不是oinstall

------解决方案--------------------
-g 所属主
-G 所属主(附加)
换下试试?