Create a new user with Privileges to execute Seeded API's
Hi,
We have a requirement from our client, they want to create a new user with Privileges to execute Seeded API’s,
So they dont want to execute using APPS user.
We want to know is it possible to have a new user for executing seeded API's and if so what all priveleges we need to have.
We are on 12.1.3 with 11.2.0.3 two node RAC Database on Exadata and Exalogic servers.
Waiting for your suggestions and replies.
Thanks
Hi,
Plz update this forum,
and give me a suggestion at the earliest,
Waiting for your valuable advice.
Thanks
Similar Messages
-
How to create full new user with all privileges
how to create full new user with all privileges?
and how to delete existing users?
Thanks in advance..Common solution is probably to use sudo for privilege elevation, wiki should help
-
How can i create a new user with only read rights ?
How can i create a new user with only read rights ?
You are asking about a Database User I hope.
You can look into the Oracle 8i Documentation and find various privillages listed.
In particular, you may find:
Chapter 27 Privileges, Roles, and Security Policies
an intresting chapter.
You may want to do this with the various tools included with 8i - including the
Oracle DBA Studio - expand the Security node and you can create USERS and ROLES.
Or use SQL*Plus. To create a
user / password named John / Smith, you would login to SQL*Plus as System/manager (or other) and type in:
Create user John identified by Smith;
Grant CONNECT to John;
Grant SELECT ANY TABLE to John;
commit;
There is much more you can do
depending on your needs.
Please read the documentation.
-John
null -
How can I create a new User with the Java API like OIDDAS do?
Hello,
I'm currently working on an BPEL based process. And i need to create an OCS user. So far I can create an user in the OID. But I cant find any documentation about given this user an email account,calendar and content function etc.
Did anybody know if there are some OIDDAS Webservices? Or did anybody know how to do this using the Java APIs?You are asking about a Database User I hope.
You can look into the Oracle 8i Documentation and find various privillages listed.
In particular, you may find:
Chapter 27 Privileges, Roles, and Security Policies
an intresting chapter.
You may want to do this with the various tools included with 8i - including the
Oracle DBA Studio - expand the Security node and you can create USERS and ROLES.
Or use SQL*Plus. To create a
user / password named John / Smith, you would login to SQL*Plus as System/manager (or other) and type in:
Create user John identified by Smith;
Grant CONNECT to John;
Grant SELECT ANY TABLE to John;
commit;
There is much more you can do
depending on your needs.
Please read the documentation.
-John
null -
Create a new user for oracle 10G ASM instance with sysdba system privilege
Hi,
In our Golden Gate Project, we require the SYS user credential to connect to the Oracle 10g ASM instance to read the database transaction logs.But our client is not providing the SYS user credential to connnect to ASM instance.
I'm getting the error message "ORA-01109: database not open",When I tried to create a new user using the below the steps in oracle 10g ASM instance
1. Login using "sqlplus / as sysdba"
2. Create user <username> identified by <password>;
But in oracle 11g ASM instance, I'm able to create new user by connecting the ASM instance with SYSASM role without issues.
Is there is any workaround to create a new user with sysdba system privilege in oracle 10g ASM instance?.
Thanks in advance .Hi,
Recreate the password file for the ASM instance as follows:
Unix:
orapwd file=<ORACLE_HOME>/dbs/PWD<SID> password=<sys_password>
Windows:
orapwd file=<ORACLE_HOME>/database/PWD<SID>.ora password=<sys_password>
Now sys password is reset, we are ready to use sys for ASM management. I decided to create another user ASMDBA as I tried above.
SQL> create user ASMDBA identified by test01;
User created.
SQL> grant SYSASM, SYSOPER to ASMDBA;
Grant succeeded.
SQL> select * from v$pwfile_users;
USERNAME SYSDBA SYSOPE SYSASM
SYS TRUE TRUE TRUE
ASMDBA FALSE TRUE TRUE
Please see this link : http://orachat.com/how-to-change-asm-sys-password-creating-sysasm-user-11g/
Thank you -
How to create a new user aaa with same rights as existing user bbb ?
Assume user bbb already exists in Oracla 10g database.
How can I create a new user aaa with the same rights/permissions as the old user bbb?
Is this procedure/command also working if the old user is user "system" (=dbadmin)?There is some possibilty to generate a EXPDP dump file which contains only DDL statements related to account and
privileges: EXCLUDE/INCLUDE parameter can help.
For example, following EXPDP statements seem to work with SYSTEM account:
expdp / schemas=system content=metadata_only exclude=table,sequence,package,function,procedure,synonym,,type view dumpfile=DPD:system.dmp logfile=DPD:system.log
Export: Release 10.2.0.2.0 - Production on Thursday, 14 February, 2008 9:41:36
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Produc
tion
With the Partitioning, OLAP and Data Mining options
Starting "OPS$XXX"."SYS_EXPORT_SCHEMA_01": /******** schemas=system con
tent=metadata_only exclude=table,sequence,package,function,procedure,synonym,type view dumpfile=DPD:system.dmp logfile=DPD:system.log
Processing object type SCHEMA_EXPORT/USER
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/POST_SCHEMA/PROCACT_SCHEMA
Master table "OPS$XXX"."SYS_EXPORT_SCHEMA_01" successfully loaded/unload
ed
Dump file set for OPS$XXX.SYS_EXPORT_SCHEMA_01 is:
C:\TEMP\SYSTEM.DMP
Job "OPS$XXX"."SYS_EXPORT_SCHEMA_01" successfully completed at 09:41:41
impdp / sqlfile=dpd:system.sql dumpfile=DPD:system.dmp logfile=DPD:system.logImport: Release 10.2.0.2.0 - Production on Thursday, 14 February, 2008 9:42:46
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Produc
tion
With the Partitioning, OLAP and Data Mining options
Master table "OPS$XXX"."SYS_SQL_FILE_FULL_05" successfully loaded/unload
ed
Starting "OPS$XXX"."SYS_SQL_FILE_FULL_05": /******** sqlfile=dpd:system
.sql dumpfile=DPD:system.dmp logfile=DPD:system.log
Processing object type SCHEMA_EXPORT/USER
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/POST_SCHEMA/PROCACT_SCHEMA
Job "OPS$XXX"."SYS_SQL_FILE_FULL_05" successfully completed at 09:42:50and system.sql is:
-- CONNECT OPS$XXX
-- new object type path is: SCHEMA_EXPORT/USER
-- CONNECT SYSTEM
ALTER USER "SYSTEM" IDENTIFIED BY VALUES '970BAA5B81930A40'
TEMPORARY TABLESPACE "TEMP";
-- new object type path is: SCHEMA_EXPORT/SYSTEM_GRANT
GRANT GLOBAL QUERY REWRITE TO "SYSTEM";
GRANT CREATE MATERIALIZED VIEW TO "SYSTEM";
GRANT SELECT ANY TABLE TO "SYSTEM";
GRANT CREATE TABLE TO "SYSTEM";
GRANT UNLIMITED TABLESPACE TO "SYSTEM" WITH ADMIN OPTION;
-- new object type path is: SCHEMA_EXPORT/ROLE_GRANT
GRANT "DBA" TO "SYSTEM" WITH ADMIN OPTION;
GRANT "AQ_ADMINISTRATOR_ROLE" TO "SYSTEM" WITH ADMIN OPTION;
GRANT "MGMT_USER" TO "SYSTEM";
-- new object type path is: SCHEMA_EXPORT/DEFAULT_ROLE
ALTER USER "SYSTEM" DEFAULT ROLE ALL;
-- new object type path is: SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
BEGIN
sys.dbms_logrep_imp.instantiate_schema(schema_name=>SYS_CONTEXT('USERENV','CURRENT_SCHEMA'), export_db_name=>'BAS002.REGRESS.RDBMS.DEV.US.ORACLE.COM', inst_scn=>'1456160');
COMMIT;
END;
-- new object type path is: SCHEMA_EXPORT/POST_SCHEMA/PROCACT_SCHEMA
BEGIN
SYS.DBMS_AQ_IMP_INTERNAL.CLEANUP_SCHEMA_IMPORT;
COMMIT;
END;
/ These export and import steps don't take into account privileges granted on schema objects belonging to another user likely due to to the EXCLUDE statements.
Message was edited by:
Pierre Forstmann -
Create New user with ...
Hi all
I need to create new user with the following privileges :
1- access any table data (read only)
2- access the tables structure (read only)
3- access the tables relations (read only)
thanx in advanceHi,
giggs11 wrote:
I did the following :
create user youruser identified by yourpassword;
grant connect to youruser;
grant SELECT_CATALOG_ROLE to username;
but I cann't see my tables
there is no erroExample :-
Step 1:-
sql> Conn system/manager@orcl;
connected.
step 2:-
SQL> create user trial identified by trial;
User created.
Step 3:-
SQL> grant connect to trial;
Grant succeeded.
SQL>grant SELECT_CATALOG_ROLE to trial;
Grant succeeded.
SQL> grant select any table to trial;
Grant succeeded.
Step 4:
SQL> conn trial/trial@orcl;
Connected.
SQL> select * from tab;
no rows selected
Step 5:
SQL> select * from scott.dept;
DEPTNO DNAME LOC
10 ACCOUNTING NEW YORK
20 RESEARCH DALLAS
30 SALES CHICAGO
40 OPERATIONS BOSTON
Step 6:
SQL> desc scott.dept;
Name Null? Type
DEPTNO NOT NULL NUMBER(2)
DNAME VARCHAR2(14)
LOC VARCHAR2(13)
you must read about privileges..
http://download.oracle.com/docs/cd/B10501_01/server.920/a96521/privs.htm
Regards
S.Azar
DBA
"Question is Unquestionable"
Edited by: azarmohds on Aug 15, 2009 6:28 AM
Edited by: azarmohds on Aug 15, 2009 6:32 AM -
This process does not appear to work for me. I'm running 10.8.3. I created a new user for a guest staying with me. They have gone now and I am attempting to either change the password or delete the user. It won't allow me to choose the user I created. I am logged in as myself and it states that I am an "Admin". The user I'm attempting to change is listed as a "standard" user and there is a white checkmark inside an orange circular background on the user pic in the list of users.
Can someone help me? I am having a hard time believing that OSx will allow me to create users and allow them use of my computer and it's drives, yet it will not allow me to change the password so I can monitor what they might have been doing while logged on? What if this were my child? This guest left under sketchy circumstances, and I'd really like to be able to ensure they were not using my computer to do illegal things or to have illegal communications.
Any help would be appreciated. (It's odd that it was so simple to "create" a user and set a password for them.......but it's complicated or a little known process to reverse.
Thanks.Here are two screen shots to show you what I am seeing. The first screen shot shows it allowing me to select (highlighted in blue) my admin user (which is what I am locced in as). The second screen shot shows it allowing me to select the "Guest" user (highlighted in blue). However when I click on the user "Orion" nothing happens. It will not change to highlight that user.
-
ORA-01031 SYSMAN Insufficient Privileges Creating a new user
I have installed Oracle 11g R2 onto Windows 7 64bit
I then created a new database, at the end it moaned about the service and listener was not running or allocated to each other and also there was no web admin tool available.
To resolve this I managed to use Net Configuration Assistant to get the listener sorted.
I then had to run:
set ORACLE_HOSTNAME=localhost
set ORACLE_SID=mydb
set ORACLE_UNQNAME=mydb
I then ran
emca -config dbcontrol db -repos recreate
This gave me the web admin tool to create a new user.
I logged in as SYSMAN tried to create a new user and got the "ORA-01031 Insufficient Privileges, you do not have enough privileges to perform this operation." error
Can someone please help.
ThanksIt isn't that simple. As SYSMAN used for 11.2.0.3 database control:
orcl> select privilege from user_sys_privs;
PRIVILEGE
CREATE PUBLIC SYNONYM
SELECT ANY DICTIONARY
UNLIMITED TABLESPACE
ALTER SESSION
orcl>but as SYSMAN used for 12.1 Cloud Control:SQL> select privilege from user_sys_privs;
PRIVILEGE
ALTER USER
DROP USER
CREATE SESSION
CREATE PUBLIC SYNONYM
CREATE JOB
CREATE MATERIALIZED VIEW
SELECT ANY DICTIONARY
CREATE TABLE
ALTER SESSION
CREATE USER
CREATE SYNONYM
DROP PUBLIC SYNONYM
MANAGE SCHEDULER
CREATE VIEW
CREATE DATABASE LINK
15 rows selected.
SQL>so you have to be a bit careful when you give a yes/no answer.
Edited by: JohnWatson on Nov 12, 2012 11:38 AM
Forgot to include a quote: this is replying to the question about whether SYSMAN can create users. -
How to create new user with more than one default folder
hi
A new user created in OCS has only one default folder(Inbox).
I want to create new user with customized default folder.
for example:
a new user has more than one default folder(Inbox,Outbox,Draft,Dustbin...)
And also I want to automaticly enable the functions:
When sending messages, place a copy in Outbox
Keep message drafts in Draft
Move deleted messages to Dustbin
who know that?
thanksThe same reason that Apple and 3rd Party vendors put multi-size templates in one file I expect. I am trying to construct an in-house standard template for use in our company, and it is easier to manage if there is only one file to send to people rather than many - both initially and for subsequent edits / updates to the template.
Of course it would be possible to create several templates (one for each size). But since it is clear that templates can be combined, it appears sensible to do this - unless the doing of it is horridly complicated -
have recently had problems with itunes freezing on me so having done various things to remody it , im now going to try to create a new user account but i cant find where to start things ! ive been told to go to the start menu but where the heck is it ?
Leigh...
but cannot do this because I cannot access Mac App Store
If you can't access the App Store from the Apple menu, Dock, or Applications folder installing the Mac OS X 10.6.8 Update Combo will reinstall the App Store for you.
It's ok to do this even you are already running v10.6.8.
Plants vs. Zombies, and that is all for additional software on here
FYI: Some third party software can cause issues with the App Store > Mac App Store: Sign in sheet does not appear, or does not accept typed text
Apple is not responsible for incompatibility isssues with third party software. -
Create new user with specific UID
I have posted this question in the 10.4 group but I need to do it on Leopard, too.
Creating a new user from the Accounts GUI creates users with UID's 502 onwards. How do I create a user from scratch with a specific UID, e.g. 1234?
I know that modifying user 502 won't work because trash files etc. are set up with 502 in their path names.
Any help, links to help etc. appreciated.Peter,
In Leopard, UIDs can be changed just as Baltwo described. I do not know if this will also change the UID of files in the user's HOME folder, but you can do that yourself. In fact, it would be a good idea to do so, manually, in any case.
Go ahead and change the UID for the user as described. This should be done from a different, admin account. Then, open /Applications/Utilities/Terminal. Type the following, followed by a <RETURN>:
<pre style="overflow:auto; font-family: 'Monaco'; font-size: 10px">sudo chown -R username /Users/username</pre>
In the above text, you will replace all instances of "username" with the short name for the user in question. If the short name is "fred," for example, you would type the following exactly:
<pre style="overflow:auto; font-family: 'Monaco'; font-size: 10px">sudo chown -R fred /Users/fred</pre>
When you press <RETURN>, you will be asked for your admin password. Enter it (it will not be echoed) and again press <RETURN>.
Scott -
How to create a new user in IDM 8.1 with random generated password?
Hi, i want create a new user using a modified tabbed user fom that cannot ask for password and confirm password to the administrator but randomly generate a new password (only when the form is opened in user creation) according to password policy and display it on the form.
I think it is possible because Reset User Password Form does it, but i don't know how put this kind og logic in an other form.
thanks
MarcoIf you want to generate a users password randomly then you could take a look at the com.waveset.provision.PasswordGenerator class inside the Identity Mgr REF kit. Here's an example:
<Rule name='generateRandomPassword'>
<Comments>generate a random password</Comments>
<RuleArgument name='accountId' value='Configurator'>
<Comments>accountId of the user</Comments>
<String>Configurator</String>
</RuleArgument>
<RunAsUser>
<ObjectRef type='User' id='#ID#Configurator' name='Configurator'/>
</RunAsUser>
<block trace='true'>
<defvar name='session'>
<or>
<ref>context</ref>
<ref>display.session</ref>
</or>
</defvar>
<defvar name='wsuser'>
<invoke name='getObject' class='com.waveset.ui.FormUtil'>
<ref>session</ref>
<s>User</s>
<ref>accountId</ref>
</invoke>
</defvar>
<defvar name='pwgenerator'>
<new class='com.waveset.provision.PasswordGenerator'>
<ref>session</ref>
</new>
</defvar>
<invoke name='generatePassword'>
<ref>pwgenerator</ref>
<ref>wsuser</ref>
</invoke>
</block>
</Rule> You'll want to take the password.password field and inside the Default event handler check to see if waveset.id is null, if it is then call the Rule above.
HTH,
Paul -
How do i create a new user in visual basic
hello all!
I'm customizing TS Operator Interface and I'm trying to add a new user with VB code.
is anyone has any idea how to do this?
Advanced thanks,Avi.Hello Avi,
Looks like the TSengine doesn't handle the save and update operations when invoking 'NewUser' method, so you have to handle these by your own. The following code (which is the menu callback for creating a new user in an Operator interface) might give you an answer for your question:
Private Sub NewUser_Click()
Dim objNewUser As User
Dim tmpUser As User
Dim users As PropertyObject
Dim OkCancel As Boolean
Dim loginName As String
Dim usersFilePath As String
Const USERS_FILE_NAME As String = "\users.ini"
Const USER_LISTS As String = "UserLists.Users" 'section of file containing user lists
'Check if the current user has 'EditUsers' privileges
If Data.TestEngine.CurrentUserHasPrivilege(Priv_EditUsers) Then
OkCancel = Data.TestEngine.DisplayNewUserDialog("New User", True, objNewUser)
If OkCancel Then
'Get user login name
loginName = objNewUser.loginName
'Get users file path
usersFilePath = Data.TestEngine.ConfigDirectory
usersFilePath = usersFilePath + USERS_FILE_NAME
'Create new object for all users
Set users = Data.TestEngine.NewPropertyObject(PropValType_Container, False, "", 0)
'Read all users from users.ini
Call users.Read(usersFilePath, USER_LISTS, 0)
'Check if user name already exist
If Not Data.TestEngine.UserNameExists(loginName) Then
'Insert new user into user object
Call users.SetPropertyObject(loginName, PropOption_InsertIfMissing, objNewUser)
'Write user object back to users.ini
Call users.Write(usersFilePath, USER_LISTS, 0)
End If
End If
End If
End Sub
After executing the code above you'll have to restart the operator interface in order to see the newly created user in the 'TSEngine.DisplayLoginDialog' (seems to be a bug here).
Hope this solved your problem and
feel free for further questions
Regards,
Silvius
Silvius Iancu -
Error when creating a new user in Data Federator XI 3.0
Hi there,
I am completely new to Data Federator so please bear with me.
I have successfully created a new user but I am not able to run the command:
GRANT EXECUTE ON PROCEDURE executeUpdateNativeQuery TO user1
as I get the following error: Incorrect procedure name: 'executeUpdateNativeQuery' (Error code: 10000)
I am following page 482 of the Data Federator User Guide.
Thanks!
Jason>
Jason Hattrick wrote:
> I am completely new to Data Federator so please bear with me.
>
> I have successfully created a new user but I am not able to run the command:
>
> GRANT EXECUTE ON PROCEDURE executeUpdateNativeQuery TO user1
>
> as I get the following error: Incorrect procedure name: 'executeUpdateNativeQuery' (Error code: 10000)
>
> I am following page 482 of the Data Federator User Guide.
>
> Thanks!
> Jason
Hi Jason
There is a typo in the documentation, the name of the procedure is:
executeNativeUpdateQuery
By the way, you can get the full procedure list by entering the following query in the administrator
SELECT * FROM leselect.system.procedures
Hope this helps,
Fred
Maybe you are looking for
-
Fields missing in Excise Account Assignment Table
Hello experts, I am doing CIN configuration in ECC 5.0 and i am assigning Excise GL accounts as per "Excise Transaction". All GL Accounts have been assigned as per excise transaction except 3 Fields ie; " GL A/c for RG23A ECS",
-
so i got the update on my ipod touch 5th gen and i got asked me for my old itunes acount and password so i can get the back up from icloud, except i no longer have that info for the back up and it wont let me by pass at all, i need a way to just rest
-
How to install my onboard Networkcard and where do i find the drivers?
I have updated my computer with some hardware and i now need to install the sound and network drivers again. I think i found the sound drivers but i cant find the network driver. Anyone got a link for me? And how do you install these drivers? Just r
-
Tomcat 5- dns lookup- jvm params
Hello Experts, I am writing a filter to restrict access to the parts of the web application based on domain name. In my doFilter method I added this code: HttpServletRequest req = (HttpServletRequest) request; String id = req.getSession().getId(); St
-
Problem With SQL Query (updateable report)
Hi, I have a report which I have set as type 'SQL Query (updateable report)'. I have added a 'row selector' to the report but when I run it I get the following error message: failed to parse SQL query: ORA-00904: "COL60": invalid identifier The repor