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

hp_unix新增用户和组
用root登录后,可以如下添加用户和组:
1.新加用户:useradd -m -s  /usr/bin/sh   test
2.为用户分配组: usrmod -G db, test  test
oralce建立用户
1.用root登录后, su 到 oracle用户
2.用数据库dba用户登入:sqlplus “ /as sysdba”
3.建立xcom用户:create user test identified by pwd default tablepace
4.授权用户:  grant connect,resource  to test
               grant execute on dbms_pipe to test
               grant execute on dbms_lob to test
               grant execute on dbms_lock to test