来源:
http://docs.oracle.com/cd/B28359_01/server.111/b31189/ch9.htm
需要用到product_user_profile表。
使用system用户登录,执行以下脚本:
@?/sqlplus/admin/pupbld.sql
插入一条记录:
insert into PRODUCT_USER_PROFILE values ('SQL*Plus' , 'HS_USER', 'HOST' ,'' , '', 'DISABLED' ,'' , '');
commit;
使用效果:
SQL> !
SP2-0544: Command "! (HOST)" disabled in Product User Profile
SQL> host dir
SP2-0544: Command "host" disabled in Product User Profile
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/21986929/viewspace-766976/
,如需转载,请注明出处,否则将追究法律责任。