How do i create a user without password in oracle 10g?

妖精的绣舞 提交于 2019-12-11 02:53:35

问题


I am trying to create a user without any password by using queries-

create user abc;
create user 'abc'@'localhost';

but neither of them works. It is given on oracle docs that it is valid to create user with no password by including no IDENTIFIED BY clause.

Please help me with this query.


回答1:


Either use:

  • Oracle wallet. User is identified via password, but the password is not prompted manually.
  • External authentication. CREATE USER XY IDENTIFIED EXTERNALLY; The user XY must then have OS account on the DB server.



回答2:


you can create user without password by using externally keyword OS authentication of that user is used as password,user should have access permission on database .



来源:https://stackoverflow.com/questions/15265955/how-do-i-create-a-user-without-password-in-oracle-10g

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!