识别当前oracle加密
我目前在使用PL/SQL构建的Oracle WebDB中运行应用程序。我必须在安装在我电脑上的Oracle Enterprise Manager控制台中更改WebDB用户密码的唯一访问权限。我们的web控制台和用户更改密码页面不再可用识别当前oracle加密,oracle,security,plsql,Oracle,Security,Plsql,我目前在使用PL/SQL构建的Oracle WebDB中运行应用程序。我必须在安装在我电脑上的Oracle Enterprise Manager控制台中更改WebDB用户密码的唯一访问权限。我们的web控制台和用户更改密码页面不再可用 我正在尝试编写一个新的更改密码页面。是否有任何方法可以找出OEM控制台更新sys.user$表时使用的加密类型,以便我可以在新的密码更改页面中复制该表?您可以在PLSQL中使用动态sql来执行正确的操作 'Alter user -user- identified
我正在尝试编写一个新的更改密码页面。是否有任何方法可以找出OEM控制台更新sys.user$表时使用的加密类型,以便我可以在新的密码更改页面中复制该表?您可以在PLSQL中使用动态sql来执行正确的操作
'Alter user -user- identified by "password";'
语句。您可以在PLSQL中使用动态sql来执行正确的
'Alter user -user- identified by "password";'
语句。您不能直接更新
SYS.USER$
视图。这不是加密,而是加密
使用PL/SQL中的语句标识的用户。然后,密码被散列并存储在SYS.USER$
视图中。您应该使用executeimmediate
语法使它们成为动态的:
DECLARE
dml_create_user VARCHAR2(256) := '';
s_user_to_create := 'ju' ;
s_user_password := 'the_passwd' ;
BEGIN
dml_create_user :=
'create user '||s_user_to_create
|| 'identified by '||s_user_password
|| ' default tablespace TSR01 '
|| ' temporary tablespace TST01 '
|| ' profile DEFAULT ' ;
EXECUTE IMMEDIATE dml_create_user ;
END;
您不能直接更新
SYS.USER$
视图。这不是加密,而是加密
使用PL/SQL中的语句标识的用户。然后,密码被散列并存储在SYS.USER$
视图中。您应该使用executeimmediate
语法使它们成为动态的:
DECLARE
dml_create_user VARCHAR2(256) := '';
s_user_to_create := 'ju' ;
s_user_password := 'the_passwd' ;
BEGIN
dml_create_user :=
'create user '||s_user_to_create
|| 'identified by '||s_user_password
|| ' default tablespace TSR01 '
|| ' temporary tablespace TST01 '
|| ' profile DEFAULT ' ;
EXECUTE IMMEDIATE dml_create_user ;
END;
不是我的区域,但肯定密码是散列的而不是加密的?不是我的区域,但肯定密码是散列的而不是加密的?