Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8092751
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T20:21:13+00:00 2026-06-05T20:21:13+00:00

I am attempting to implement a form on APEX that allows the user (in

  • 0

I am attempting to implement a form on APEX that allows the user (in this case dba’s) to select a database and then change their username and password.

I was able to set up the input fields correctly but I am totally lost on how to tie it in with the actual database. I am assuming I will have to use a database link to access different databases.

Is this possible?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T20:21:14+00:00Added an answer on June 5, 2026 at 8:21 pm

    I devised a solution that does not require stored procedures or elevated access for a single user. Its a bit hacked together but it works!

    1. The user inputs their credentials and desired new password through a regular APEX form.

    2. The form data gets processed in an HTML region with an iframe in it using substitution strings. i.e:<iframe height='300' width='100%' scrolling="no" src="http://***SERVER***/cgi-bin/chguserpwd.cgi dbname=&DATABASE_NAME.&username=&USERNAME.&oldpwd=&CURR_PASSWORD.&newpwd=&NEW_PASSWORD."></iframe>

    3. The cgi script does the work and returns the result through the iframe

      #!/usr/bin/ksh 
      my_input=$QUERY_STRING;
      dbname=`echo "$QUERY_STRING" |awk '{FS="&"} {print $1}'|awk '{FS="="} {print $2}'`
      username=`echo "$QUERY_STRING" |awk '{FS="&"} {print $2}'|awk '{FS="="} {print $2}'`
      oldpwd=`echo "$QUERY_STRING" |awk '{FS="&"} {print $3}'|awk '{FS="="} {print $2}'`
      newpwd=`echo "$QUERY_STRING" |awk '{FS="&"} {print $4}'|awk '{FS="="} {print $2}'`
      print "Content-Type: text/html\n\n"; print " Database Name is       $dbname ............ User is $username "; 
      
      cd **dir**
      ./chguserpwd  $dbname $username $oldpwd  $newpwd    
      
    4. Execute the SQL from the cgi-script ./chguserpwd

      set markup HTML on
      prompt .
      alter user &1 identified by &2;
      prompt Password has been changed
      
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm attempting to implement a feature where a user can select some text in
I have a web form that I am attempting to implement dynamic drop down
I am attempting to implement thread-safe usage of ConcurentHashMap within singleton spring service that
I'm attempting to implement OpenID with ASP.NET MVC (Yeah, we haven't heard that one
I'm attempting to implement a Save/Load feature into my small game. To accomplish this
I am attempting to implement a function that sorts a randomly generated vector using
I'm attempting to use Flask and the Flask-Login extension to implement user authentication in
I am attempting to implement TrialPay/Offerwall/Dealspot on a Facebook app. In their documentation they
i am attempting to implement a built in controller that is part of the
I am attempting to implement xmpp chat/collaboration between two C# desktop clients that exchange

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.