Oracle 安全篇

oracle内部有两个建好的用户:system和sys。用户可直接登录到system用户以创建其他用户,因为system具有创建别 的用户的 权限。 在安装oracle时,用户或系统管理员首先可以为自己建立一个用户。

语法[创建用户]: create user 用户名 identified by 口令[即密码];

例子: create user test identified by test;

语法[更改用户]: alter user 用户名 identified by 口令[改变的口令];

例子: alter user test identified by 123456;

SQL> create user oracleusr     //用户名:oracleuser

  2  identified by oracle      //登陆验证密码:oracle (密码是大小写敏感的)

  3  default tablespace users  //用户的默认表空间:users

  4  quota 10m on users        //默认表空间中可以使用的空间配额:10MB

  5  temporary tablespace temp //用户使用的临时表空间

  6  password expire;          //密码状态,过期。登陆的时候要求用户修改。

猜你喜欢

转载自blog.csdn.net/mnhdxhcky/article/details/85173714