Skip to content

Instantly share code, notes, and snippets.

@skhatri
Created January 3, 2013 03:32
Show Gist options
  • Select an option

  • Save skhatri/4440542 to your computer and use it in GitHub Desktop.

Select an option

Save skhatri/4440542 to your computer and use it in GitHub Desktop.
bulk update crowd user password for md5 directory
update cwd_user set credential = concat('{MD5}',
utl_raw.cast_to_varchar2(utl_encode.base64_encode
(dbms_obfuscation_toolkit.md5 (input => utl_raw.cast_to_raw('password')))))
where directory_id = (select id from cwd_directory where lower_directory_name = 'user-md5-directory')
/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment