CREATE a USER: password default / initial?

Suppose I have create a new user in Oracle with the

CREATING USER

command as explained on:

http://download-West.Oracle.com/docs/CD/B19306_01/server.102/b14200/statements_8003.htm

What default initial password has this new user?

How can I change the password?

Peter

Published by: user559463 on February 15, 2010 06:00

If the user already exists prior to importation, REMAP_SCHEMA important objects inside. You can connect the user to scheme with the existing password used when creating the user.

If the user does not exist prior to importation, import automatically creates a useless password. You cannot connect unless you reset the password for the target database when the import is complete.

http://download.Oracle.com/docs/CD/B14117_01/server.101/b10825/dp_import.htm

HTH
-André

Tags: Database

Similar Questions

  • Cannot create the user password in Win 7 Home Premium

    I have win 7 Home Premium 32 bit computer. I tried to add a new user account with Admin permissions and I get the message of password policy requirements when you try to create a password. The original user was initially permissons admin so I deleted this user and creates a new one with persmissons standard, creating a new password is the same message. So now I have a single standard 2 users and an admin without password both

    No worries - it was the tool hp Center which was causing all the problems. I have uninstllaed everything to do with HP and now I am running.

    Thanks for your feed back.

  • Invalid user password

    As the administrator of my computer, I created a user password recently for safety because my girls using my computer and I don't want to have administrative privileges. I write my password down and created a secret hint, but my password does not work and I can't get in the guest computer.

    Thank you. I looked again in other forums and found the same answer, and it worked. Thank you for for your time.

  • Administrator log - on: can someone tell me why Windows Vista Premium does not create a user profile ADMINISTRATOR for me by default

    Can someone tell me why Windows Vista Premium does not create a user profile ADMINISTRATOR for me by default, as I am the main user and why he keeps me access to many programs and features in Windows, including installation and view and edit privileges?  How can I set up my profile as ADMINISTRATOR rather than another user profile and get rid of all the other profiles?  Please write to * address email is removed from the privacy * for your answer.

    Steve

    Can someone tell me why Windows Vista Premium does not create a user profile ADMINISTRATOR for me by default, as I am the main user and why he keeps me access to many programs and features in Windows, including installation and view and edit privileges?  How can I set up my profile as ADMINISTRATOR rather than another user profile and get rid of all the other profiles?  Please write toEmail removed privacy for your answer.

    Steve

    Let me soce entry details:

    1. all computers need to have at least one administrator account. It will not work without it.
    It does NOT, however, create a profile For YOU defaultAdmin. It belongs to the user or the owner to create and decide who is Admin, and who is a regular user.
    2. even an admin account will not get to install and change the settings automatically. UAC (user account control) always appears to ask for confirmation of the task by clicking on continue, or by typing the admin password.
    3 be the main user is not to be an administrator. It is up to the user/owner of the computer to be configured as such.
    That said, now my question... How do you know that you're not an admin?

    t-4-2

  • Recovered stolen computers. They have created a user and do not know password. No matter what work-around?

    Have Windows Vista Ultimate Edition.  The thief has created a user account and apparently deleted others.  How can I bypass a unknown password for the account is created.

    Reinstall Vista.

    http://support.Microsoft.com/default.aspx/KB/189126

    "Microsoft's strategy concerning lost or forgotten passwords"

    Microsoft cannot help you recover the passwords of the files and Microsoft who are lost or forgotten product features. Mick Murphy - Microsoft partner

  • Is it safe to change passwords and profile of the user by default DB?

    Version of the grid: 11.2.0.4.0

    RDBMS version: 11.2.0.4.0

    Platform: Oracle Linux 6.4

    To comply with upcoming security audit, we need all DB users except users of the application to conform to the password of our firm strategy.

    Currently, all of our DB users belong to the DEFAULT profile which is not to impose restrictions such as the complexity of password, password expiration.

    To implement password policy, I created 3 profiles and a password check the operation.

    Here are the 3 profiles, that I introduce

    MANH_ADM - for SYS, SYSTEM, SYSMAN users. Associated with a password check function that responds to the lack of policies of our firm.

    MANH_NONADM - for users who were created by default when you create a new database. Associated with a password check the operation comply with the policies of our firm

    MANH_APP - users for the Application. Very mild. No restrictions as requested by the team of apps. No associated password policy.

    Here is an excerpt of the script we used to implement all our DBs It Security.

    change the profile of these users to a custom profile named MANH_NONADM and changes the password for all users by default DB.

    ALTER USER OUTLN PROFILE MANH_NONADM;

    ALTER USER PROFILE MANH_NONADM DIP.

    ALTER USER ORACLE_OCM PROFILE MANH_NONADM;

    ALTER USER APPQOSSYS PROFILE MANH_NONADM;

    ALTER USER WMSYS PROFILE MANH_NONADM;

    ALTER USER EXFSYS PROFILE MANH_NONADM;

    -For the oracle text, do not apply

    ALTER USER CTXSYS PROFILE MANH_APP;

    -MGMT_VIEW used OEM Database control. Do not apply

    ALTER USER MGMT_VIEW PROFILE MANH_APP;

    -Used by the Manager of the company, do not apply

    ALTER USER PROFILE MANH_APP DBSNMP.

    -XDB stores metadata and data in Oracle XML DB. Do not apply

    ALTER USER XDB PROFILE MANH_APP;

    -ALTER USER XS$ PROFILE NULL MANH_NONADM;

    ALTER USER PROFILE ANONYMOUS MANH_NONADM;

    ALTER USER ORDPLUGINS PROFILE MANH_NONADM;

    ALTER USER ORDSYS PROFILE MANH_NONADM;

    ALTER USER ORDDATA PROFILE MANH_NONADM;

    ALTER USER SI_INFORMTN_SCHEMA PROFILE MANH_NONADM;

    ALTER USER MDSYS PROFILE MANH_NONADM;

    ALTER USER OLAPSYS PROFILE MANH_NONADM;

    ALTER USER MDDATA PROFILE MANH_NONADM;

    ALTER USER SPATIAL_WFS_ADMIN_USR PROFILE MANH_NONADM;

    ALTER USER SPATIAL_CSW_ADMIN_USR PROFILE MANH_NONADM;

    ALTER USER APEX_PUBLIC_USER PROFILE MANH_NONADM;

    ALTER USER FLOWS_FILES PROFILE MANH_NONADM;

    ALTER USER APEX_030200 PROFILE MANH_NONADM;

    ALTER USER OWBSYS PROFILE MANH_NONADM;

    ALTER USER OWBSYS_AUDIT PROFILE MANH_NONADM;

    -Change password

    ALTER USER OUTLN IDENTIFIED BY uNani8987 #;

    ALTER USER IDENTIFIED BY Hg DIP $ i9CLai;

    ALTER USER ORACLE_OCM IDENTIFIED BY Hg$ i9CLak;

    ALTER USER IDENTIFIED BY pR DBSNMP $ YeoT3i; -> This messed up Enterprise manager

    ALTER USER IDENTIFIED BY pR APPQOSSYS $ YeoT3m;

    ALTER USER WMSYS IDENTIFIED BY Hg$ i9CLna;

    ALTER USER EXFSYS IDENTIFIED BY Hg$ i9CLnb;

    ALTER USER CTXSYS IDENTIFIED BY Hg$ i9CLns;

    EDIT ANONYMOUS USER IDENTIFIED BY Hg$ i9CLnc;

    ALTER USER IDENTIFIED BY Hg XDB $ i9CLnd;

    -ALTER USER XS$ NULL IDENTIFIED BY Hg$ i9CLne;

    ALTER USER ORDPLUGINS IDENTIFIED BY Hg$ i9CLnaf;

    ALTER USER ORDSYS IDENTIFIED BY Hg$ i9CLnag;

    ALTER USER ORDDATA IDENTIFIED BY Hg$ i9CLnah;

    ALTER USER IDENTIFIED BY pR SI_INFORMTN_SCHEMA $ YeoT3m;

    ALTER USER MDSYS IDENTIFIED BY julsi8987 #;

    ALTER USER IDENTIFIED BY pR OLAPSYS $ YeoT3w;

    ALTER USER MDDATA IDENTIFIED BY uNani8987 #;

    ALTER USER SPATIAL_WFS_ADMIN_USR IDENTIFIED BY Hg$ i9CLai;

    ALTER USER SPATIAL_CSW_ADMIN_USR IDENTIFIED BY Hg$ i9CLak;

    ALTER USER IDENTIFIED BY pR MGMT_VIEW $ YeoT3i;

    ALTER USER IDENTIFIED BY UI APEX_PUBLIC_USER $ YeoT3m;

    ALTER USER FLOWS_FILES IDENTIFIED BY Hg$ i9CLna;

    ALTER USER APEX_030200 IDENTIFIED BY Hg$ i9CLnb;

    ALTER USER OWBSYS IDENTIFIED BY Hg$ i9CLnb;

    ALTER USER IDENTIFIED BY pR OWBSYS_AUDIT $ YeoT3s;

    The script above was performed on one of our criticisms of production DBs. After this, Enterprise manager has stopped working because the default password of DBSNMP has changed. To solve this problem, password of DBSNMP must be changed in a special way as described in 259387.1

    Now I fear that other DB features may not work if I change the password of users by default.

    So, we want to know if it is safe to

    1. change the password of the default DB users mentioned above?

    2. change the user profile DB default DEFAULT value for a custom profile as shown above?

    Max wrote:

    Version of the grid: 11.2.0.4.0

    RDBMS version: 11.2.0.4.0

    Platform: Oracle Linux 6.4

    To comply with upcoming security audit, we need all DB users except users of the application to conform to the password of our firm strategy.

    Currently, all of our DB users belong to the DEFAULT profile which is not to impose restrictions such as the complexity of password, password expiration.

    To implement password policy, I created 3 profiles and a password check the operation.

    Here are the 3 profiles, that I introduce

    MANH_ADM - for SYS, SYSTEM, SYSMAN users. Associated with a password check function that responds to the lack of policies of our firm.

    MANH_NONADM - for users who were created by default when you create a new database. Associated with a password check the operation comply with the policies of our firm

    MANH_APP - users for the Application. Very mild. No restrictions as requested by the team of apps. No associated password policy.

    Here is an excerpt of the script we used to implement all our DBs It Security.

    change the profile of these users to a custom profile named MANH_NONADM and changes the password for all users by default DB.

    ALTER USER OUTLN PROFILE MANH_NONADM;

    ALTER USER PROFILE MANH_NONADM DIP.

    ALTER USER ORACLE_OCM PROFILE MANH_NONADM;

    ALTER USER APPQOSSYS PROFILE MANH_NONADM;

    ALTER USER WMSYS PROFILE MANH_NONADM;

    ALTER USER EXFSYS PROFILE MANH_NONADM;

    -For the oracle text, do not apply

    ALTER USER CTXSYS PROFILE MANH_APP;

    -MGMT_VIEW used OEM Database control. Do not apply

    ALTER USER MGMT_VIEW PROFILE MANH_APP;

    -Used by the Manager of the company, do not apply

    ALTER USER PROFILE MANH_APP DBSNMP.

    -XDB stores metadata and data in Oracle XML DB. Do not apply

    ALTER USER XDB PROFILE MANH_APP;

    -ALTER USER XS$ PROFILE NULL MANH_NONADM;

    ALTER USER PROFILE ANONYMOUS MANH_NONADM;

    ALTER USER ORDPLUGINS PROFILE MANH_NONADM;

    ALTER USER ORDSYS PROFILE MANH_NONADM;

    ALTER USER ORDDATA PROFILE MANH_NONADM;

    ALTER USER SI_INFORMTN_SCHEMA PROFILE MANH_NONADM;

    ALTER USER MDSYS PROFILE MANH_NONADM;

    ALTER USER OLAPSYS PROFILE MANH_NONADM;

    ALTER USER MDDATA PROFILE MANH_NONADM;

    ALTER USER SPATIAL_WFS_ADMIN_USR PROFILE MANH_NONADM;

    ALTER USER SPATIAL_CSW_ADMIN_USR PROFILE MANH_NONADM;

    ALTER USER APEX_PUBLIC_USER PROFILE MANH_NONADM;

    ALTER USER FLOWS_FILES PROFILE MANH_NONADM;

    ALTER USER APEX_030200 PROFILE MANH_NONADM;

    ALTER USER OWBSYS PROFILE MANH_NONADM;

    ALTER USER OWBSYS_AUDIT PROFILE MANH_NONADM;

    -Change password

    ALTER USER OUTLN IDENTIFIED BY uNani8987 #;

    ALTER USER IDENTIFIED BY Hg DIP $ i9CLai;

    ALTER USER ORACLE_OCM IDENTIFIED BY Hg$ i9CLak;

    ALTER USER IDENTIFIED BY pR DBSNMP $ YeoT3i; ---> This messed up Enterprise manager

    ALTER USER IDENTIFIED BY pR APPQOSSYS $ YeoT3m;

    ALTER USER WMSYS IDENTIFIED BY Hg$ i9CLna;

    ALTER USER EXFSYS IDENTIFIED BY Hg$ i9CLnb;

    ALTER USER CTXSYS IDENTIFIED BY Hg$ i9CLns;

    EDIT ANONYMOUS USER IDENTIFIED BY Hg$ i9CLnc;

    ALTER USER IDENTIFIED BY Hg XDB $ i9CLnd;

    -ALTER USER XS$ NULL IDENTIFIED BY Hg$ i9CLne;

    ALTER USER ORDPLUGINS IDENTIFIED BY Hg$ i9CLnaf;

    ALTER USER ORDSYS IDENTIFIED BY Hg$ i9CLnag;

    ALTER USER ORDDATA IDENTIFIED BY Hg$ i9CLnah;

    ALTER USER IDENTIFIED BY pR SI_INFORMTN_SCHEMA $ YeoT3m;

    ALTER USER MDSYS IDENTIFIED BY julsi8987 #;

    ALTER USER IDENTIFIED BY pR OLAPSYS $ YeoT3w;

    ALTER USER MDDATA IDENTIFIED BY uNani8987 #;

    ALTER USER SPATIAL_WFS_ADMIN_USR IDENTIFIED BY Hg$ i9CLai;

    ALTER USER SPATIAL_CSW_ADMIN_USR IDENTIFIED BY Hg$ i9CLak;

    ALTER USER IDENTIFIED BY pR MGMT_VIEW $ YeoT3i;

    ALTER USER IDENTIFIED BY UI APEX_PUBLIC_USER $ YeoT3m;

    ALTER USER FLOWS_FILES IDENTIFIED BY Hg$ i9CLna;

    ALTER USER APEX_030200 IDENTIFIED BY Hg$ i9CLnb;

    ALTER USER OWBSYS IDENTIFIED BY Hg$ i9CLnb;

    ALTER USER IDENTIFIED BY pR OWBSYS_AUDIT $ YeoT3s;

    The script above was performed on one of our criticisms of production DBs. After this, Enterprise manager has stopped working because the default password of DBSNMP has changed. To solve this problem, password of DBSNMP must be changed in a special way as described in 259387.1

    Now I fear that other DB features may not work if I change the password of users by default.

    So, we want to know if it is safe to

    1. change the password of the default DB users mentioned above?

    2. change the user profile DB default DEFAULT value for a custom profile as shown above?

    (1) as far as the database is concerned, EM is just another app, which just happens to connect with the credentials for DBSNMP.

    (2) any process that connects to the database must know what username and password to use for this connection.

    (3) any process that connects to the database (EM, or YOUR_CORPORATE_APP or sitting in front of a keyboard) necessarily must keep their passwords somewhere - in your head, the sticky notes stuck on screen (practical baaad), in a text file and in the case of the MA, in an xml file.

    (4) so whenever you change a password, the process that uses this password needs to know what the password is, and store it in all repository it uses for this purpose.  That's what note ml, tell you how and where to put the new password in the repository that MS uses to remember his password.

    (5) therefore the same principle will apply to all other user accounts.  If you (or a process on your behalf) changes a password, you (or some process on your behalf) should inform the user in a manner in which the user can understand and take the necessary measures.

    If you change a password, you must inform the user.  Period.  Full stop.

    And that's really what are the notes of ML SYSMAN and DBNSMP.  There is really nothing 'special' to their topic.  The processes that use these accounts (EM, or YOUR_CORPORATE_APP or sitting in front of a keyboard) keep their passwords somewhere - in your head, on sticky notes pasted (practical baaad) onscreen, in a text file and in the case of the MA, in an xml file.  So whenever you change a password, the process that uses this password needs to know what is the new password.

  • Complete list of all the users (by default) created Oracle database for import DB?

    Hello

    Can someone please give me a list of all versions of Oracle DB: 10.2.0.3 list of users of database created (by default).

    and if someone can give me a script to remove all unnecessary patterns except necessary schemas of oracle.

    I want to do a complete database of a database of test IMP, I dump exp and want to make sure to remove all unnecessary patterns I can do the import immediately in the db.

    is this a correct way.

    Please notify.

    DB version: 10.2.0.3

    Thank you
    Anto

    Another good reference is ML Doc 160861.1 (created Oracle database users: password, use and references to files)

    HTH
    Srini

  • Problem with creating user Notifications / change user password

    Hello

    I'm having a problem send emails to users when an account is created in the IOM.

    I've added a notification to the user and Manager of the user on the task to create a user in the definition of user Xellerate process but emails are not sent.
    I know that if I create another task in order to send emails and call it through the answer in the task of creating a user, it will work.
    My purpose is to avoid adding tasks for something IOM should be able to OOTB.

    I'm also unable to send an email when a password is updated... I did the same thing for the user to create and I know that the task (change user password) is called by looking at newspapers, but emails are not being sent.

    Has anyone encountered this kind of problems?
    I'm having these problems in the task of user Xellerate process... I've added notifications to other process tasks (mostly tasks for approval) and that they are working correctly.


    Thanks in advance

    I ran into several question all about change the default behaviors of the user Xellerate object and the process. The Xellerate object and the process have additional built in secuity to prevent users from accedentily their spoil, so when you make changes as you try to do that they do not work. I have a few SRs open on this, because I have a customer who would like to have sent notifications when new users are created by IOM. As a work-around, I drive offshore the purpose of user AD resource notifications because each IOM user automatically gets an ad and Exchange account.

  • Is it possible to create a master password that will work on all user accounts?

    I have 4 user accounts on this computer.  3 are standard, for my children.  One is my admin account.  I want my children to have their own secure password, but I still want to be able to connect to their accounts.  Is it possible to create a master password which will allow me to connect to all 3 standard accounts?  One password to rule them all, so to speak?

    Help!

    Thank you

    cpalmer122958

    I have 4 user accounts on this computer.  3 are standard, for my children.  One is my admin account.  I want my children to have their own secure password, but I still want to be able to connect to their accounts.  Is it possible to create a master password which will allow me to connect to all 3 standard accounts?  One password to rule them all, so to speak?

    Sorry, this is not possible.

  • SRP547w - change the default IP address and create additional users

    Hello

    Ive changed the IP address of your laptop to connect to the router with IP 192.168.15.1 but I want to now change the IP address of the router to the defaul to another subnet, while it is accessible with other workstations on the LAN, but I couldn't find the option to set the Ip address of the router.

    I am connected with the admin user.

    Could someone make me to know the options menu to make this please?

    I also wanted to add users from addiontal.  Aid indicates there is a user list option Add an entry, but in the bar of the Administration, the left menu option displays options to user management & user privileges.  Management of users, it is possible to change the user 2 default names, but I wanted to lift them and create new ones.

    Is someone could also let me know how to add new users?

    Thank you

    Hi Jeff,

    You can change the IP address of the router / subnet by changing the settings of DHCP server (Interface > LAN > DHCP server).

    There are only two user levels that can be configured on the SRP500 - as you have noticed, you can change these names, but not to add to the list.

    Kind regards

    Andy

  • Cannot create a user account

    I can no longer create a user account on my computer without a following error message is displayed. It is said that my account name cannot contain characters other than letters and numbers. the name in which I entered did not include one of these special characters, so I don't know what I did wrong. I can also change an existing account name, or what I can change my account picture. Help, please!

    Hello

    If you logged in as ADMINISTRATOR, then this account is probably corrupted.

    Try these to erase corruption and missing/damaged file system repair or replacement.

    1. run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup

    2. start - type in the search - box COMMAND find top - RIGHT CLICK – RUN AS ADMIN

    sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    3. then run checkdisk - schedule it to run at next boot, then apply OK your way out, then restart.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    -----------------------------------------------

    After the foregoing:

    Try to use the ADMIN which is accessible from Safe Mode - repeatedly tap F8 as you start - ADMIN
    has no password by default (unless someone has changed). Use this ADMIN to perform the functions
    suggested below (use of the hidden ADMIN account) If you are unable to access the mode without failure.

    Then do-, use the hidden administrator account to lower your user account (to the lowest level) APPLY/OK
    then go back and reset it to the Admin APPLY/OK - this clearly allows corruption. Do this several times. Do the
    same for other accounts that may be difficult. Then if necessary you can also reset your password
    in the accounts. Do not forget to leave your Admin account and the other to the desired level.

    Make another Admin account with your password and use it to fix the others if necessary. (just for
    repair, don't use regular account, not a safety valve) always keep a spare ADMIN account.

    DO NOT LEAVE THE ENABLED LSA OR USE DAILY. If it corrupts you are toast!

    How to enable or disable the real built-in Administrator account in Vista
    http://www.Vistax64.com/tutorials/67567-administrator-account.html

    You can run the Admin account hidden from the prompt by if necessary.

    This tells you how to access the System Recovery Options and/or a Vista DVD
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    If you cannot use old account properly then you can always use an Admin to migrate to a new
    (remember to always leave an Admin who is not used except for testing and difficulty account).

    Difficulty of a corrupted user profile
    http://windowshelp.Microsoft.com/Windows/en-AU/help/769495bf-035C-4764-A538-c9b05c22001e1033.mspx

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • How ATG BCC admin user password is encrypted in ATG10.2

    Hello

    I migrate data from external system profile to ATG. The external system uses the SHA256 algorithm to hash the user password. And ATG also uses the same algorithm. But I found that the string encodings are different in the two systems. So I customized the implementation for the hash of the password in the ATG. I guess that the same hashing algorithm of password to use in publication environments and CSC also for internal users. But the user "admin" is created when data is imported into the system, initially using script CIM. I think that the admin user password is not chopped with OOB implementation (SHA256) because I consider than salt password 'admin' in the table dpi_user in the edition of schema. Can someone let me know how the admin user password is encrypted?

    Thank you

    Mohan

    Hi David,

    My problem is solved. ATG uses the value of connection as its salt value password instead of generating a random salt for admin, merchandising, users of the services.

    Concerning

    Mohan

  • How to preconfigure the root without intervention of the user password the first time ESXi boots.

    Is there a way to pre-configure the password and the IP address by using a script so that I can use a USB stick for getting started with ESXi and vSphere Center allows you to access the host with the preconfigured password and IP address with the intervention of the user for the initial set, for example to jump the "F2" after that the ESXi is first started.
    Someone has posted a way to share intellectual property, but not post for the password part.
    Thanks in advance...

    If you're on vSphere 5, you can use the auto-deploy functionality combined with profiles of the host.

    See Using vSphere 5 auto-déployer in your lab to the Duncan House for a complete scenario.

    If you are not yet on vSphere 5, you can do an installation by script. See the blog of Scripted install with ESXi (again by Duncan).

    In the PowerCLI book, there is a script handy to create a kickstart file. See the video of our Dutch VMUG presentation for a demo.

  • Create a user in 100 databases

    I need to create a user in 100 databases. Manually connecting to 100 databases and creating a user are very difficult for me...

    So is it possible to do this easily?

    You can try (assuming you have the common system on all databases password)
    (1) take a database in this ORACLE_HOME keep all entrances to tns in your environment.
    $ORALCLE_HOME/network/admin/tnsnames.ora--->Should mentions tns and all databases

    (2) a list of all the databases in a single file say dblist.lst
    Cat dblist.lst
    Test1
    test2

    (3) create a sql file that contains the result of a command; CREATE_USER. SQL

    Cat create_user.sql

    trigger the echo
    set the position
    create user identified by default tablespace of ;
    grant create session to ;
    other privileges

    (4) keep the environmental variables of the ORACLE_HOME, path to the file say env_ORACLE

    (5) shell script should like

    because I in 'cat dblist.sql '.
    do
    . //env_ORACLE
    sqlplus-s system /@$i @create_user.sql
    fact

  • create the user in a form

    I want to create a user in a trigger of form such as Pre_insert or other trigger

    CREATE a USER: daten.oracle_user PROFILE "DEFAULT" IDENTIFIED BY "xy".
    DEFAULT PASSWORD EXPIRATION
    TABLESPACE TEMPORARY "USERS."
    TABLESPACE 'TEMP' ACCOUNT UNLOCK;
    GRANT 'CONNECT' to: daten.oracle_user;
    GRANT "DBA" to: daten.oracle_user;

    does not work when I compile. How can I solve the problem to create a user in a form?

    highly recommended German responses.

    I use

    ORACLE FORMS DEVELOPER AND SERVER FORMS 6i (Patch 2) RELEASE NOTES

    and I think its a version of database 8. but I am not shure

    Hello!
    Do not do that the DDL statements in a before insert trigger
    cause you are submitting a commit in the middle of a transaction of forms!

    Use a key trigger or button as a trigger:

    forms_ddl ( 'CREATE USER ' || :daten.oracle_user || ' PROFILE "DEFAULT" IDENTIFIED BY "xy"' ||
                ' PASSWORD EXPIRE DEFAULT' ||
                ' TABLESPACE "USERS" TEMPORARY' ||
                ' TABLESPACE "TEMP" ACCOUNT UNLOCK' );
    forms_ddl ( 'GRANT "CONNECT" TO ' || :daten.oracle_user );
    forms_ddl ( 'GRANT "DBA" TO ' || :daten.oracle_user );
    

    Concerning

Maybe you are looking for