1ALTER DATABASE LINK private_link
2 CONNECT TO hr IDENTIFIED BY hr_new_password;
3
4ALTER PUBLIC DATABASE LINK public_link
5 CONNECT TO scott IDENTIFIED BY scott_new_password;
6
7ALTER SHARED PUBLIC DATABASE LINK shared_pub_link
8 CONNECT TO scott IDENTIFIED BY scott_new_password
9 AUTHENTICATED BY hr IDENTIFIED BY hr_new_password;
10
11ALTER SHARED DATABASE LINK shared_pub_link
12 CONNECT TO scott IDENTIFIED BY scott_new_password;