change a user password through a database link
HelloI need to change a user password in plsql for a remote database.
I have a db link Setup, but cannot see how to run the command Alter user so it willl run in the remote database.
I was hoping to do USER@dblink1 ALTER user IDENTIFIED BY newpasssword, but Oracle doesn't like the @dblink in the alter command.
Does anyone know a way around this?
Thank you
You can try something like
declare
job binary_integer;
begin
dbms_job.submit@dblink1(job,'begin execute immediate ''alter user xy identified by ..... ''; end;');
end;
Tags: Database
Similar Questions
-
Authentication of database through the database link
Is it posible to use database authentication in the APEX by link of database and how?
Also is it posible to reading user roles through the database link?
Database links to establish the connection, so you lose the context regarding which is recorded in a single user.
Custom authentication can do some PL/SQL you need, but I would say that replicate your tables locally through something as materialized views.
You could also potentially be used dba_role_privs, but do not forget roles can be turned on/off.
-
ALTER USER on read-only database link db
Oracle 11.2.0.3.6
Solaris 10
I have a primary database and one Active Data Guard standby database physical. My read-only database users must be able to change their password for read-only standby. I tried to create a stored procedure with an ALTER USER inside statement and then to have my user call the stored procedure of the unalterable standby by: MIMI EXEC. CHGPWD@PRIM ();
This translates into:
ERROR on line 1:
ORA-16000: database opened for read-only access
ORA-06512: at "MIMI. CHGPWD', line 27
ORA-06512: at line 1
How can I allow a user who cannot access the read-only database to change their password for read-only standby?
Here my stored procedure:
CREATE OR REPLACE PROCEDURE MIMI. CHGPWD IS
-CREATE OR REPLACE PROCEDURE CHGPWD IS
sql_stmt VARCHAR2 (200);
BEGIN
sql_stmt: = 'ALTER USER MIMITEST IDENTIFIED BY 111111';
EXECUTE IMMEDIATE sql_stmt;
END CHGPWD;
/
Ah, I got it! I had to create a public synonym for my stored procedure, and then create another stored procedure and use the synonym. This is explained in the documentation of Oracle packages and PL/SQL procedures coding under the section 'referring to remote objects. Here is what I have from the beginning to the end (My SID is MIMI and the unique name on the primary is MIMI_A):
Read-only mode ensures:
ALTER SYSTEM SET GLOBAL_NAMES IS FALSE SCOPE = BOTH;.
Elementary school:
ALTER SYSTEM SET GLOBAL_NAMES IS FALSE SCOPE = BOTH;.
CREATE THE PUBLIC DATABASE LINK MIMI_A.WORLD WITH THE HELP OF "MIMI_A";
ALTER SYSTEM SET GLOBAL_NAMES IS TRUE SCOPE = BOTH;. (I need to have this true on my primary game)
CREATE OR REPLACE PROCEDURE MIMI. CHGPWD IS
Working directory;
BEGIN
dbms_job. Submit (job,' BEGIN EXECUTE IMMEDIATE "ALTER USER MIMITEST IDENTIFIED BY 666666";) END ;') ;
END;
/
CREATE CHGPASS SYNONYM PUBLIC FOR MIMI. CHGPWD@MIMI_A.WORLD;
CREATE OR REPLACE PROCEDURE MIMI. LOCAL_PROCEDURE IS
BEGIN
CHGPASS;
END;
/
GRANT EXECUTE MIMI. CHGPWD TO MIMITEST;
GRANT EXECUTE MIMI. LOCAL_PROCEDURE TO MIMITEST;
Read-only mode ensures:
Mimi/oracle/1120308 > sqlplus mimitest
SQL * more: Production of the 11.2.0.3.0 version Fri Sep 19 15:55:56 2014
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Enter the password:
Connected to:
Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing options
SQL > exec MIMI. LOCAL_PROCEDURE;
PL/SQL procedure successfully completed.
-
Vista won't let me change my user password
Hello
Vista (Home Premium) won't let me change my password user (Administrator group)
I give the old password (this is the same password as my login information) and 2 times the new password.
When I click the button change password, Vista let me now that this isn't the right password!Strange, I can connect whith this password, but I can't changed more?
Hello
If you want to change the password in Windows Vista, follow these steps:
-Click on Start and go to control panel.
-Click user accounts and family safety.
This link is not available using the classic view of the control panel.
If you use the classic view just do a double-click on the icon user accounts.
-Click the link for user accounts.
-In the area called to make changes to your user account, click on the change your password link.
-In the first text box, enter your current password.
-In the other two text boxes to enter the password you want to use.
-Finally click on the button of past change and to confirm the changes.
-Close the window user accounts.
-Now your Windows Vista logon password has been changedBy the way; you need ADMIN rights to change this.
-
To change the user password problem
Hello
I'm with some problems when you try to change an oracle user password. After using the alter command, it gives the message "Change user", but when I try to connect with, it throws the error ORA-01017...
The strange part is... it works fine on my XE 11 g!
Anyone have an idea on this issue? :)
Thank you.
================
Oracle@Arc02:~ > sqlplus mybase/mypass@myinstance
SQL * more: Release 10.2.0.4.0 - Production on Tue Jan 15 11:52:48 2013
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Release 10.2.0.4.0 - Production 64-bit
With the Real Application Clusters option
SQL > alter user z48829 identified by Telemar $0n;
Modified user.
SQL > quit
Disconnected from the database to Oracle 10 g Release 10.2.0.4.0 - Production 64-bit
With the Real Application Clusters option
Oracle@dtcdbarc02:~ > sqlplus z48829/Telemar$0n@myinstance
SQL * more: Release 10.2.0.4.0 - Production on Tue Jan 15 11:53:14 2013
Copyright (c) 1982, 2007, Oracle. All rights reserved.
ERROR:
ORA-01017: name of user and password invalid. connection refused
Enter the user name:
ERROR:
ORA-01017: name of user and password invalid. connection refusedHello
Use sqlplus z48829/'Telemar$0n'@myinstance
[ora10g@pos-uat-2:/home/ora10g>]sqlplus ajay/Telemar$0n@EBPSUATN SQL*Plus: Release 10.2.0.3.0 - Production on Thu Feb 28 13:29:17 2013 Copyright (c) 1982, 2006, Oracle. All Rights Reserved. ERROR: ORA-01017: invalid username/password; logon denied Enter user-name: ^C [ora10g@pos-uat-2:/home/ora10g>]sqlplus ajay/'Telemar$0n'@EBPSUATN SQL*Plus: Release 10.2.0.3.0 - Production on Thu Feb 28 13:29:22 2013 Copyright (c) 1982, 2006, Oracle. All Rights Reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production With the Partitioning and Data Mining options 13:29:22 SQL> exit Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
Thank you
Ajay more
http://www.moreajays.com -
Does not required HSS restart after changing AD user password?
It's the ps3...
Hello
You change the AD Service user password? (User ID used to pull all users) If yes then restart them Services, if it is for any particular user or all user, simply select the refresh option now under
Security tab in the section MSAD to refresh quickly or it will take 60 minutes by default to HSS for synchronization with the AD
Hope this helps
Kind regards
Zohra.
-
Information required when changing the user password special appl
Hello
We have a requirement where we need to change the password for the following users.
IBEGUEST
IBE_ADMIN
IRC_EMP_GUEST
IRC_EXT_GUEST
OP_CUST_CARE_ADMIN
OP_SYSADMIN
ASSISTANT
Let me know whether autoconfig/application closing or not while we change the password?
Version:-EBS 11.5.10.2, DB 11.2.0.2
I think that neither autoconfig, nor do I need to stop all the services to change the above user passwords. But please confirm!Vicky1 wrote:
HelloWe have a requirement where we need to change the password for the following users.
IBEGUEST
IBE_ADMIN
IRC_EMP_GUEST
IRC_EXT_GUEST
OP_CUST_CARE_ADMIN
OP_SYSADMIN
ASSISTANTLet me know whether autoconfig/application closing or not while we change the password?
Version:-EBS 11.5.10.2, DB 11.2.0.2
I think that neither autoconfig, nor do I need to stop all the services to change the above user passwords. But please confirm!
It is not necessary. Please note that changing the password for all users of the application (except the GUEST user) does not require running AutoConfig or bouncing the application services.
What is the Impact of a seeded Oracle users disabling? [418767.1 ID]
Is it safe to Date Some Applications end users as a GUEST? [783428.1 ID]
Configuration Guide for Oracle E-Business Suite 11i [ID 189367.1]Thank you
Hussein -
No disk to change/retrieve user password recovery
I forgot my user password to enter in Windows 7 Home Premium. I don't have a recovery disk so can not go this route. Any help for Windows 7? I tried to use the 'safe mode' without success. I'm locked... :(
See the How_do_I_Log_on_to_my_Windows_7_based_computer_if_I_forgot_my_password.pdf to www.itknowledge24.com
-
change of administrative password through back command net user
Hello
I created myself as an administrator on a windows operating system 7 and my child is able to bypass the setting that I put on their use using the dos command "net user" the _ what to think Microsoft having a command where things can be changed anyway? How can I block this "net user"? System is not secure
The problem isn't with Microsoft, but with you. If you give your child account of administrator privileges, then they can change any password, regardless of the method, it uses (GUI or console command). If you want access to his account at restricted then must downgrade to the level of an ordinary user.
-
Update changed my user password
I came to my office to find the updates have been installed and it had reset. I went to the user login, he asked my password, I typed, and it would not accept my password. I don't have a disk to reset the password. That's happened?
How can I access my files that are in my log-in?
Here are my updates...
Update security for Windows Vista for x 64-based systems (KB2419640)
Update security for Windows Vista for x 64-based systems (KB2478935)
Update for Microsoft Silverlight (KB2477244)
X 64-January Windows malicious software removal tool (KB890830) 2011
Just reply to * address email is removed from the privacy *.
or call the 317-755-7323
Thank you
REDA
It's the only help by password that allow Ms.http://support.Microsoft.com/kb/940765--..--"Raj diagne" wrote in message news: 8f32e742-8697-42a3-9958-60cc4ea497a7...> I came to my office to find the updates have been installed and it had reset. I have> went to the user login, he asked my password, I typed, and it would be> does not accept my password. I don't have a disk to reset the password. What> happened?>> How can I access my files that are in my log-in?>> Here are my updates...>> Update for Windows Vista for x 64-based systems (KB2419640)>> Update for Windows Vista for x 64-based systems (KB2478935)>> The update for Microsoft Silverlight (KB2477244)>> X 64-January Windows malicious software removal tool (KB890830) 2011>>>> Please answer to * address email is removed from the privacy *.>> or call the 317-755-7323>> Thank you,>> Raj> -
Table update through the database link
I'm trying to update the tables in the clone of my production database, but has no chance. I have a few tables in the cloned database I want updated twice a week and wrote the following script, but it does not work.
INSERT ignore in local_table select * from remote_table@remote_pro_DATABASE;
ERROR on line 1:
ORA-00925: missing IN the key
Is there a better way I could update these tables from the production to the cloned?Hello
Must be a syntax error, should work. It works for me:
SQL>sho rel release 1002000400 SQL>CREATE TABLE raw_period NOLOGGING AS 2 SELECT * FROM [email protected] 3 WHERE 1 = 2; Table created. SQL> SQL>MERGE INTO raw_period t 2 USING [email protected] s 3 ON (t.sqid = s.sqid) 4 WHEN NOT MATCHED 5 THEN 6 INSERT (sqid, start_date, end_date, creation_date) 7 VALUES (s.sqid, s.start_Date, s.end_date, s.creation_date); 120 rows merged. SQL> SQL>COMMIT; Commit complete. SQL> SQL>DROP TABLE raw_period PURGE; Table dropped. SQL>
You may have a prefix s. in your Insert-column list:
SQL>MERGE INTO raw_period t 2 USING [email protected] s 3 ON (t.sqid = s.sqid) 4 WHEN NOT MATCHED 5 THEN 6 INSERT (sqid, start_date, end_date, s.creation_date) 7 VALUES (s.sqid, s.start_Date, s.end_date, s.creation_date); INSERT (sqid, start_date, end_date, s.creation_date) * ERROR at line 6: ORA-00904: "S"."CREATION_DATE": invalid identifier
Note that error message indicates line 6.
Concerning
Peter -
Import of security through caused shared services admin user password chang
Hello
I exported the SSP url for shared environment and any services in another environment. This changed the admin password which I imported.
Details:-
I went to share the services of an environment say dev and to-> application-> Foundation-> shared and exported services groups. Has taken its export and imported into the test environment.
Now that he has changed the user password of the target with the source one. However, I remove the internal ID of all the files inside.
Can someone please help? How to recover the password of it? I have no back up of the test environment shared services.
Version 11.1.2.1
Thank you very much in advance!I was hoping you had a strategy in place, it's basically restore the relational database of shared services from a backup, stop the epm services first.
It is even possible to fix your LCM file and set the admin to the way it should be, but I do not know what state the commissioning is to thus could not guarantee it would work.See you soon
John
http://John-Goodwin.blogspot.com/ -
Failed to create database link when the password has a special character
I am trying to execute the following statement in sqlplus
create alpha link database to connect to scott identified by tiger! using "db_alpha".
Note that the password of the account has an exclamation mark inside. the command fails. I tried to put the password in quotation marks (') and double quotes (""). Working the double quotes, but then the link does not work properly.
We are required to have a special character in our passwords... so, how can I get this special character in the password for the database link?
Thanks in advance,
DarrenDarren2 wrote:
#2 attempt:
SQL > create database link BLAH connect to user2 identified by 'tiger!' using 'BLAH ';
Created database link
SQL > salt {color: black} {color} ect {color: black} {color} * en {color: black} {color} om my{color:black}{color}_{color:black}{color}table{color:black}{color}@BLAH;
Salt {color: black} {color} ect * en {color: black} {color} om my{color:black}{color}_ta{color:black}{color}ble{color:black}{color}@BLAH
*
ERROR on line 1:
ORA-02085: link on the database of BLAH. AAA. BB. CCC. DDD connects to
DEVDB. AAA. BB. CCC DDD.For me, that makes no sense. If the link does not work... How did get the "invalid username/password" in the #1 attempt?
Learn about the GLOBAL_NAMES initialization parameter. Default GLOBAL_NAMES = TRUE, which means the database link is required to have the same name as the database in which it connects. Database name DEVDB link or define GLOBAL_NAMES = FALSE:
SQL> create user Darren2 2 identified by "tiger!" 3 default tablespace users 4 quota unlimited on users 5 / User created. SQL> grant create session to Darren2 2 / Grant succeeded. SQL> create table Darren2.tbl as select 'Darren2' name from dual 2 / Table created. SQL> create database link sol10@Darren2 2 connect to Darren2 3 identified by "tiger!" 4 using 'sol10' 5 / Database link created. SQL> create database link sol11@Darren2 2 connect to Darren2 3 identified by "tiger!" 4 using 'sol10' 5 / Database link created. SQL> select * 2 from tbl@sol10@Darren2 3 / NAME ------- Darren2 SQL> select * 2 from tbl@sol11@Darren2 3 / from tbl@sol11@Darren2 * ERROR at line 2: ORA-02085: database link SOL11.REGRESS.RDBMS.DEV.US.ORACLE.COM@DARREN2 connects to SOL10.REGRESS.RDBMS.DEV.US.ORACLE.COM SQL> select value from v$parameter where name = 'global_names' 2 / VALUE -------------------------------------------------------------------------------- TRUE SQL> select * from global_name 2 / GLOBAL_NAME -------------------------------------------------------------------------------- SOL10.REGRESS.RDBMS.DEV.US.ORACLE.COM SQL> alter session set global_names=false 2 / Session altered. SQL> select * 2 from tbl@sol10@Darren2 3 / NAME ------- Darren2 SQL> select * 2 from tbl@sol11@Darren2 3 / NAME ------- Darren2 SQL>
I don't have two databases, so in my sol10 database I create two database links sol10@Darren2 and sol11@Darren2 both pointing to itself (back to sol10 database). That's why I use qualifiers link db. The two links you connect as a Darren2 user with password Tiger!. The global database name is sol10 and initialization of setting global_names = true. As you can see what global_name (sol10) corresponds to the name of the link in sol10@Darren2 db (again, the link name is sol10 and Darren2 is qualifying link) select vai db link works OK. But the sol11@Darren2 link fails because the name sol11 link does not match the name db global sol10. However, as soon as I change global_names false, sol11@Darren2 works fine. It will be useful.
SY.
Published by: Solomon Yakobson on January 1st, 2009 08:41
-
Change user password in Microsoft Account
My new Windows 8 software tells me that I can change my user password by going to "account.live.com/password/reset". Only problem is that I can't.
Can someone put me out of my misery?
[Original title: account.live.com/password/reset]
Hello
https://account.live.com/ResetPassword.aspx
Change your password
http://Windows.Microsoft.com/en-us/Windows-8/change-your-passwordWindows help - a search on "password" (without the quotes).
http://Windows.Microsoft.com/en-us/Windows/search#PRD=Windows-8&q=password
Rob - SpiritX
Added:
Microsoft Account - change password (if these conditions adapts to your situation)
https://account.live.com/ResetPassword.aspxHow to change or reset password of your account in Windows 8 and 8.1 (other aid
in related tutorials)
http://www.eightforums.com/tutorials/12206-Microsoft-account-password-change-reset-Windows-8-a.htmlHow can I change my password?
http://Windows.Microsoft.com/en-us/Windows/change-passwordI hope this helps.
Rob Brown - Microsoft MVP<- profile="" -="" windows="" experience :="" bicycle="" -="" mark="" twain="" said="" it="">->
-
problem with user password change request
Hi all
I'm about to ask a question that I don't have much info. I'm not experienced with oracle forms or States but one my customer use them, my client decided to change the user password request forms and did. After that, developers are looking for config files and change the passwords in files of that too. is the application works fine but has reports of problems. as I said, there are two ways to run reports, web and run_product. When the URL is used, reports work well, but in forms (fmb) screens when the run_product procedure is used, they received the error "name of username/password invalid.
even if they change the password user return application, there always the same error. should consider what could be the possible error and what are the files? I know, that it is forms 6i application.If your customer base is 11G, this could be a problem with the passwords case-sensitive. Try to set a password with only UPPERCASE letters.
Maybe you are looking for
-
Where is the complete list of Evergreen for Firefox browsers on all platforms?
For each platform, which versions of Firefox start automatic update?
-
Several people including me have reported a problem when closing Firefox and then try to re - open. The message "FF is already running and should be closed... ' appears, but the taskbar does not display an active FF. At this point, it is necessary to
-
What USB 3.0 card is needed for the HP Pavilion 6370t?
What is needed for the HP Pavilion 6370 t USB 3.0 card?
-
I have a HP B209a Photosmart Plus, which is a wireless network printer. Print network settings appears that Microsoft Web Services are enabled, but this doesn't show any code. This printer is compatible with eprint and if not, is there any update nex
-
Pavilion dv7-1235eo: Pavilion dv7-1235eo
Hello! Pavilion dv7-1235eo with processor AMD RM-74 I and would like to know is possible to update. What CPU works on this computer?