Creating new user having same access as that of SYSTEM user.
Hi, is it possible in oracle to create a new user having same access as that of SYSTEM user?
If yes what would be syntax?
If not i would like to create a user having most of admin rights likes exporting and importing schemas and all.
How it can be done?
Any help would be appreciated.. :)
Try the below command here "SYF" is the user wchich will be created that will have system privileges: -
CREATE USER "SYF" PROFILE "DEFAULT" IDENTIFIED BY "*******" DEFAULT TABLESPACE "USERS" TEMPORARY TABLESPACE "TEMP" ACCOUNT UNLOCK
GRANT CREATE MATERIALIZED VIEW TO "SYF"
GRANT CREATE TABLE TO "SYF"
GRANT GLOBAL QUERY REWRITE TO "SYF"
GRANT SELECT ANY TABLE TO "SYF"
GRANT UNLIMITED TABLESPACE TO "SYF" WITH ADMIN OPTION
GRANT EXECUTE ON "SYS"."CHECK_UPGRADE" TO "SYF"
GRANT EXECUTE ON "SYS"."DBMS_ALERT" TO "SYF"
GRANT EXECUTE ON "SYS"."DBMS_AQ" TO "SYF" WITH GRANT OPTION
GRANT EXECUTE ON "SYS"."DBMS_AQADM" TO "SYF" WITH GRANT OPTION
GRANT EXECUTE ON "SYS"."DBMS_AQELM" TO "SYF" WITH GRANT OPTION
GRANT EXECUTE ON "SYS"."DBMS_AQ_IMPORT_INTERNAL" TO "SYF" WITH GRANT OPTION
GRANT EXECUTE ON "SYS"."DBMS_DEFER_IMPORT_INTERNAL" TO "SYF"
GRANT EXECUTE ON "SYS"."DBMS_REPCAT" TO "SYF"
GRANT EXECUTE ON "SYS"."DBMS_RULE_EXIMP" TO "SYF" WITH GRANT OPTION
GRANT EXECUTE ON "SYS"."DBMS_SYS_ERROR" TO "SYF"
GRANT EXECUTE ON "SYS"."DBMS_TRANSFORM_EXIMP" TO "SYF" WITH GRANT OPTION
GRANT READ ON DIRECTORY "SYS"."DPUMP" TO "SYF"
GRANT WRITE ON DIRECTORY "SYS"."DPUMP" TO "SYF"
GRANT ALTER ON "SYS"."INCEXP" TO "SYF"
GRANT DEBUG ON "SYS"."INCEXP" TO "SYF"
GRANT DELETE ON "SYS"."INCEXP" TO "SYF"
GRANT FLASHBACK ON "SYS"."INCEXP" TO "SYF"
GRANT INDEX ON "SYS"."INCEXP" TO "SYF"
GRANT INSERT ON "SYS"."INCEXP" TO "SYF"
GRANT ON COMMIT REFRESH ON "SYS"."INCEXP" TO "SYF"
GRANT QUERY REWRITE ON "SYS"."INCEXP" TO "SYF"
GRANT REFERENCES ON "SYS"."INCEXP" TO "SYF"
GRANT SELECT ON "SYS"."INCEXP" TO "SYF"
GRANT UPDATE ON "SYS"."INCEXP" TO "SYF"
GRANT ALTER ON "SYS"."INCFIL" TO "SYF"
GRANT DEBUG ON "SYS"."INCFIL" TO "SYF"
GRANT DELETE ON "SYS"."INCFIL" TO "SYF"
GRANT FLASHBACK ON "SYS"."INCFIL" TO "SYF"
GRANT INDEX ON "SYS"."INCFIL" TO "SYF"
GRANT INSERT ON "SYS"."INCFIL" TO "SYF"
GRANT ON COMMIT REFRESH ON "SYS"."INCFIL" TO "SYF"
GRANT QUERY REWRITE ON "SYS"."INCFIL" TO "SYF"
GRANT REFERENCES ON "SYS"."INCFIL" TO "SYF"
GRANT SELECT ON "SYS"."INCFIL" TO "SYF"
GRANT UPDATE ON "SYS"."INCFIL" TO "SYF"
GRANT ALTER ON "SYS"."INCVID" TO "SYF"
GRANT DEBUG ON "SYS"."INCVID" TO "SYF"
GRANT DELETE ON "SYS"."INCVID" TO "SYF"
GRANT FLASHBACK ON "SYS"."INCVID" TO "SYF"
GRANT INDEX ON "SYS"."INCVID" TO "SYF"
GRANT INSERT ON "SYS"."INCVID" TO "SYF"
GRANT ON COMMIT REFRESH ON "SYS"."INCVID" TO "SYF"
GRANT QUERY REWRITE ON "SYS"."INCVID" TO "SYF"
GRANT REFERENCES ON "SYS"."INCVID" TO "SYF"
GRANT SELECT ON "SYS"."INCVID" TO "SYF"
GRANT UPDATE ON "SYS"."INCVID" TO "SYF"
GRANT EXECUTE ON "SYS"."SET_TABLESPACE" TO "SYF"
GRANT ALTER ON "XDB"."X$PT4PA7MVGH9J9E2BE328FS4HIHF4" TO "SYF" WITH GRANT OPTION
GRANT DEBUG ON "XDB"."X$PT4PA7MVGH9J9E2BE328FS4HIHF4" TO "SYF" WITH GRANT OPTION
GRANT DELETE ON "XDB"."X$PT4PA7MVGH9J9E2BE328FS4HIHF4" TO "SYF" WITH GRANT OPTION
GRANT FLASHBACK ON "XDB"."X$PT4PA7MVGH9J9E2BE328FS4HIHF4" TO "SYF" WITH GRANT OPTION
GRANT INDEX ON "XDB"."X$PT4PA7MVGH9J9E2BE328FS4HIHF4" TO "SYF" WITH GRANT OPTION
GRANT INSERT ON "XDB"."X$PT4PA7MVGH9J9E2BE328FS4HIHF4" TO "SYF" WITH GRANT OPTION
GRANT ON COMMIT REFRESH ON "XDB"."X$PT4PA7MVGH9J9E2BE328FS4HIHF4" TO "SYF" WITH GRANT OPTION
GRANT QUERY REWRITE ON "XDB"."X$PT4PA7MVGH9J9E2BE328FS4HIHF4" TO "SYF" WITH GRANT OPTION
GRANT REFERENCES ON "XDB"."X$PT4PA7MVGH9J9E2BE328FS4HIHF4" TO "SYF" WITH GRANT OPTION
GRANT SELECT ON "XDB"."X$PT4PA7MVGH9J9E2BE328FS4HIHF4" TO "SYF" WITH GRANT OPTION
GRANT UPDATE ON "XDB"."X$PT4PA7MVGH9J9E2BE328FS4HIHF4" TO "SYF" WITH GRANT OPTION
GRANT ALTER ON "XDB"."XDB$ACL" TO "SYF" WITH GRANT OPTION
GRANT DEBUG ON "XDB"."XDB$ACL" TO "SYF" WITH GRANT OPTION
GRANT DELETE ON "XDB"."XDB$ACL" TO "SYF" WITH GRANT OPTION
GRANT FLASHBACK ON "XDB"."XDB$ACL" TO "SYF" WITH GRANT OPTION
GRANT INDEX ON "XDB"."XDB$ACL" TO "SYF" WITH GRANT OPTION
GRANT INSERT ON "XDB"."XDB$ACL" TO "SYF" WITH GRANT OPTION
GRANT ON COMMIT REFRESH ON "XDB"."XDB$ACL" TO "SYF" WITH GRANT OPTION
GRANT QUERY REWRITE ON "XDB"."XDB$ACL" TO "SYF" WITH GRANT OPTION
GRANT REFERENCES ON "XDB"."XDB$ACL" TO "SYF" WITH GRANT OPTION
GRANT SELECT ON "XDB"."XDB$ACL" TO "SYF" WITH GRANT OPTION
GRANT UPDATE ON "XDB"."XDB$ACL" TO "SYF" WITH GRANT OPTION
GRANT ALTER ON "XDB"."XDB$CHECKOUTS" TO "SYF" WITH GRANT OPTION
GRANT DEBUG ON "XDB"."XDB$CHECKOUTS" TO "SYF" WITH GRANT OPTION
GRANT DELETE ON "XDB"."XDB$CHECKOUTS" TO "SYF" WITH GRANT OPTION
GRANT FLASHBACK ON "XDB"."XDB$CHECKOUTS" TO "SYF" WITH GRANT OPTION
GRANT INDEX ON "XDB"."XDB$CHECKOUTS" TO "SYF" WITH GRANT OPTION
GRANT INSERT ON "XDB"."XDB$CHECKOUTS" TO "SYF" WITH GRANT OPTION
GRANT ON COMMIT REFRESH ON "XDB"."XDB$CHECKOUTS" TO "SYF" WITH GRANT OPTION
GRANT QUERY REWRITE ON "XDB"."XDB$CHECKOUTS" TO "SYF" WITH GRANT OPTION
GRANT REFERENCES ON "XDB"."XDB$CHECKOUTS" TO "SYF" WITH GRANT OPTION
GRANT SELECT ON "XDB"."XDB$CHECKOUTS" TO "SYF" WITH GRANT OPTION
GRANT UPDATE ON "XDB"."XDB$CHECKOUTS" TO "SYF" WITH GRANT OPTION
GRANT ALTER ON "XDB"."XDB$CONFIG" TO "SYF" WITH GRANT OPTION
GRANT DEBUG ON "XDB"."XDB$CONFIG" TO "SYF" WITH GRANT OPTION
GRANT DELETE ON "XDB"."XDB$CONFIG" TO "SYF" WITH GRANT OPTION
GRANT FLASHBACK ON "XDB"."XDB$CONFIG" TO "SYF" WITH GRANT OPTION
GRANT INDEX ON "XDB"."XDB$CONFIG" TO "SYF" WITH GRANT OPTION
GRANT INSERT ON "XDB"."XDB$CONFIG" TO "SYF" WITH GRANT OPTION
GRANT ON COMMIT REFRESH ON "XDB"."XDB$CONFIG" TO "SYF" WITH GRANT OPTION
GRANT QUERY REWRITE ON "XDB"."XDB$CONFIG" TO "SYF" WITH GRANT OPTION
GRANT REFERENCES ON "XDB"."XDB$CONFIG" TO "SYF" WITH GRANT OPTION
GRANT SELECT ON "XDB"."XDB$CONFIG" TO "SYF" WITH GRANT OPTION
GRANT UPDATE ON "XDB"."XDB$CONFIG" TO "SYF" WITH GRANT OPTION
GRANT ALTER ON "XDB"."XDB$D_LINK" TO "SYF" WITH GRANT OPTION
GRANT DEBUG ON "XDB"."XDB$D_LINK" TO "SYF" WITH GRANT OPTION
GRANT DELETE ON "XDB"."XDB$D_LINK" TO "SYF" WITH GRANT OPTION
GRANT FLASHBACK ON "XDB"."XDB$D_LINK" TO "SYF" WITH GRANT OPTION
GRANT INDEX ON "XDB"."XDB$D_LINK" TO "SYF" WITH GRANT OPTION
GRANT INSERT ON "XDB"."XDB$D_LINK" TO "SYF" WITH GRANT OPTION
GRANT ON COMMIT REFRESH ON "XDB"."XDB$D_LINK" TO "SYF" WITH GRANT OPTION
GRANT QUERY REWRITE ON "XDB"."XDB$D_LINK" TO "SYF" WITH GRANT OPTION
GRANT REFERENCES ON "XDB"."XDB$D_LINK" TO "SYF" WITH GRANT OPTION
GRANT SELECT ON "XDB"."XDB$D_LINK" TO "SYF" WITH GRANT OPTION
GRANT UPDATE ON "XDB"."XDB$D_LINK" TO "SYF" WITH GRANT OPTION
GRANT ALTER ON "XDB"."XDB$H_INDEX" TO "SYF" WITH GRANT OPTION
GRANT DEBUG ON "XDB"."XDB$H_INDEX" TO "SYF" WITH GRANT OPTION
GRANT DELETE ON "XDB"."XDB$H_INDEX" TO "SYF" WITH GRANT OPTION
GRANT FLASHBACK ON "XDB"."XDB$H_INDEX" TO "SYF" WITH GRANT OPTION
GRANT INDEX ON "XDB"."XDB$H_INDEX" TO "SYF" WITH GRANT OPTION
GRANT INSERT ON "XDB"."XDB$H_INDEX" TO "SYF" WITH GRANT OPTION
GRANT ON COMMIT REFRESH ON "XDB"."XDB$H_INDEX" TO "SYF" WITH GRANT OPTION
GRANT QUERY REWRITE ON "XDB"."XDB$H_INDEX" TO "SYF" WITH GRANT OPTION
GRANT REFERENCES ON "XDB"."XDB$H_INDEX" TO "SYF" WITH GRANT OPTION
GRANT SELECT ON "XDB"."XDB$H_INDEX" TO "SYF" WITH GRANT OPTION
GRANT UPDATE ON "XDB"."XDB$H_INDEX" TO "SYF" WITH GRANT OPTION
GRANT ALTER ON "XDB"."XDB$H_LINK" TO "SYF" WITH GRANT OPTION
GRANT DEBUG ON "XDB"."XDB$H_LINK" TO "SYF" WITH GRANT OPTION
GRANT DELETE ON "XDB"."XDB$H_LINK" TO "SYF" WITH GRANT OPTION
GRANT FLASHBACK ON "XDB"."XDB$H_LINK" TO "SYF" WITH GRANT OPTION
GRANT INDEX ON "XDB"."XDB$H_LINK" TO "SYF" WITH GRANT OPTION
GRANT INSERT ON "XDB"."XDB$H_LINK" TO "SYF" WITH GRANT OPTION
GRANT ON COMMIT REFRESH ON "XDB"."XDB$H_LINK" TO "SYF" WITH GRANT OPTION
GRANT QUERY REWRITE ON "XDB"."XDB$H_LINK" TO "SYF" WITH GRANT OPTION
GRANT REFERENCES ON "XDB"."XDB$H_LINK" TO "SYF" WITH GRANT OPTION
GRANT SELECT ON "XDB"."XDB$H_LINK" TO "SYF" WITH GRANT OPTION
GRANT UPDATE ON "XDB"."XDB$H_LINK" TO "SYF" WITH GRANT OPTION
GRANT ALTER ON "XDB"."XDB$NLOCKS" TO "SYF" WITH GRANT OPTION
GRANT DEBUG ON "XDB"."XDB$NLOCKS" TO "SYF" WITH GRANT OPTION
GRANT DELETE ON "XDB"."XDB$NLOCKS" TO "SYF" WITH GRANT OPTION
GRANT FLASHBACK ON "XDB"."XDB$NLOCKS" TO "SYF" WITH GRANT OPTION
GRANT INDEX ON "XDB"."XDB$NLOCKS" TO "SYF" WITH GRANT OPTION
GRANT INSERT ON "XDB"."XDB$NLOCKS" TO "SYF" WITH GRANT OPTION
GRANT ON COMMIT REFRESH ON "XDB"."XDB$NLOCKS" TO "SYF" WITH GRANT OPTION
GRANT QUERY REWRITE ON "XDB"."XDB$NLOCKS" TO "SYF" WITH GRANT OPTION
GRANT REFERENCES ON "XDB"."XDB$NLOCKS" TO "SYF" WITH GRANT OPTION
GRANT SELECT ON "XDB"."XDB$NLOCKS" TO "SYF" WITH GRANT OPTION
GRANT UPDATE ON "XDB"."XDB$NLOCKS" TO "SYF" WITH GRANT OPTION
GRANT ALTER ON "XDB"."XDB$RESCONFIG" TO "SYF" WITH GRANT OPTION
GRANT DEBUG ON "XDB"."XDB$RESCONFIG" TO "SYF" WITH GRANT OPTION
GRANT DELETE ON "XDB"."XDB$RESCONFIG" TO "SYF" WITH GRANT OPTION
GRANT FLASHBACK ON "XDB"."XDB$RESCONFIG" TO "SYF" WITH GRANT OPTION
GRANT INDEX ON "XDB"."XDB$RESCONFIG" TO "SYF" WITH GRANT OPTION
GRANT INSERT ON "XDB"."XDB$RESCONFIG" TO "SYF" WITH GRANT OPTION
GRANT ON COMMIT REFRESH ON "XDB"."XDB$RESCONFIG" TO "SYF" WITH GRANT OPTION
GRANT QUERY REWRITE ON "XDB"."XDB$RESCONFIG" TO "SYF" WITH GRANT OPTION
GRANT REFERENCES ON "XDB"."XDB$RESCONFIG" TO "SYF" WITH GRANT OPTION
GRANT SELECT ON "XDB"."XDB$RESCONFIG" TO "SYF" WITH GRANT OPTION
GRANT UPDATE ON "XDB"."XDB$RESCONFIG" TO "SYF" WITH GRANT OPTION
GRANT ALTER ON "XDB"."XDB$RESOURCE" TO "SYF" WITH GRANT OPTION
GRANT DEBUG ON "XDB"."XDB$RESOURCE" TO "SYF" WITH GRANT OPTION
GRANT DELETE ON "XDB"."XDB$RESOURCE" TO "SYF" WITH GRANT OPTION
GRANT FLASHBACK ON "XDB"."XDB$RESOURCE" TO "SYF" WITH GRANT OPTION
GRANT INDEX ON "XDB"."XDB$RESOURCE" TO "SYF" WITH GRANT OPTION
GRANT INSERT ON "XDB"."XDB$RESOURCE" TO "SYF" WITH GRANT OPTION
GRANT ON COMMIT REFRESH ON "XDB"."XDB$RESOURCE" TO "SYF" WITH GRANT OPTION
GRANT QUERY REWRITE ON "XDB"."XDB$RESOURCE" TO "SYF" WITH GRANT OPTION
GRANT REFERENCES ON "XDB"."XDB$RESOURCE" TO "SYF" WITH GRANT OPTION
GRANT SELECT ON "XDB"."XDB$RESOURCE" TO "SYF" WITH GRANT OPTION
GRANT UPDATE ON "XDB"."XDB$RESOURCE" TO "SYF" WITH GRANT OPTION
GRANT ALTER ON "XDB"."XDB$WORKSPACE" TO "SYF" WITH GRANT OPTION
GRANT DEBUG ON "XDB"."XDB$WORKSPACE" TO "SYF" WITH GRANT OPTION
GRANT DELETE ON "XDB"."XDB$WORKSPACE" TO "SYF" WITH GRANT OPTION
GRANT FLASHBACK ON "XDB"."XDB$WORKSPACE" TO "SYF" WITH GRANT OPTION
GRANT INDEX ON "XDB"."XDB$WORKSPACE" TO "SYF" WITH GRANT OPTION
GRANT INSERT ON "XDB"."XDB$WORKSPACE" TO "SYF" WITH GRANT OPTION
GRANT ON COMMIT REFRESH ON "XDB"."XDB$WORKSPACE" TO "SYF" WITH GRANT OPTION
GRANT QUERY REWRITE ON "XDB"."XDB$WORKSPACE" TO "SYF" WITH GRANT OPTION
GRANT REFERENCES ON "XDB"."XDB$WORKSPACE" TO "SYF" WITH GRANT OPTION
GRANT SELECT ON "XDB"."XDB$WORKSPACE" TO "SYF" WITH GRANT OPTION
GRANT UPDATE ON "XDB"."XDB$WORKSPACE" TO "SYF" WITH GRANT OPTION
GRANT ALTER ON "XDB"."XS$DATA_SECURITY" TO "SYF" WITH GRANT OPTION
GRANT DEBUG ON "XDB"."XS$DATA_SECURITY" TO "SYF" WITH GRANT OPTION
GRANT DELETE ON "XDB"."XS$DATA_SECURITY" TO "SYF" WITH GRANT OPTION
GRANT FLASHBACK ON "XDB"."XS$DATA_SECURITY" TO "SYF" WITH GRANT OPTION
GRANT INDEX ON "XDB"."XS$DATA_SECURITY" TO "SYF" WITH GRANT OPTION
GRANT INSERT ON "XDB"."XS$DATA_SECURITY" TO "SYF" WITH GRANT OPTION
GRANT ON COMMIT REFRESH ON "XDB"."XS$DATA_SECURITY" TO "SYF" WITH GRANT OPTION
GRANT QUERY REWRITE ON "XDB"."XS$DATA_SECURITY" TO "SYF" WITH GRANT OPTION
GRANT REFERENCES ON "XDB"."XS$DATA_SECURITY" TO "SYF" WITH GRANT OPTION
GRANT SELECT ON "XDB"."XS$DATA_SECURITY" TO "SYF" WITH GRANT OPTION
GRANT UPDATE ON "XDB"."XS$DATA_SECURITY" TO "SYF" WITH GRANT OPTION
GRANT ALTER ON "XDB"."XS$PRINCIPALS" TO "SYF" WITH GRANT OPTION
GRANT DEBUG ON "XDB"."XS$PRINCIPALS" TO "SYF" WITH GRANT OPTION
GRANT DELETE ON "XDB"."XS$PRINCIPALS" TO "SYF" WITH GRANT OPTION
GRANT FLASHBACK ON "XDB"."XS$PRINCIPALS" TO "SYF" WITH GRANT OPTION
GRANT INDEX ON "XDB"."XS$PRINCIPALS" TO "SYF" WITH GRANT OPTION
GRANT INSERT ON "XDB"."XS$PRINCIPALS" TO "SYF" WITH GRANT OPTION
GRANT ON COMMIT REFRESH ON "XDB"."XS$PRINCIPALS" TO "SYF" WITH GRANT OPTION
GRANT QUERY REWRITE ON "XDB"."XS$PRINCIPALS" TO "SYF" WITH GRANT OPTION
GRANT REFERENCES ON "XDB"."XS$PRINCIPALS" TO "SYF" WITH GRANT OPTION
GRANT SELECT ON "XDB"."XS$PRINCIPALS" TO "SYF" WITH GRANT OPTION
GRANT UPDATE ON "XDB"."XS$PRINCIPALS" TO "SYF" WITH GRANT OPTION
GRANT ALTER ON "XDB"."XS$ROLESETS" TO "SYF" WITH GRANT OPTION
GRANT DEBUG ON "XDB"."XS$ROLESETS" TO "SYF" WITH GRANT OPTION
GRANT DELETE ON "XDB"."XS$ROLESETS" TO "SYF" WITH GRANT OPTION
GRANT FLASHBACK ON "XDB"."XS$ROLESETS" TO "SYF" WITH GRANT OPTION
GRANT INDEX ON "XDB"."XS$ROLESETS" TO "SYF" WITH GRANT OPTION
GRANT INSERT ON "XDB"."XS$ROLESETS" TO "SYF" WITH GRANT OPTION
GRANT ON COMMIT REFRESH ON "XDB"."XS$ROLESETS" TO "SYF" WITH GRANT OPTION
GRANT QUERY REWRITE ON "XDB"."XS$ROLESETS" TO "SYF" WITH GRANT OPTION
GRANT REFERENCES ON "XDB"."XS$ROLESETS" TO "SYF" WITH GRANT OPTION
GRANT SELECT ON "XDB"."XS$ROLESETS" TO "SYF" WITH GRANT OPTION
GRANT UPDATE ON "XDB"."XS$ROLESETS" TO "SYF" WITH GRANT OPTION
GRANT ALTER ON "XDB"."XS$SECURITYCLASS" TO "SYF" WITH GRANT OPTION
GRANT DEBUG ON "XDB"."XS$SECURITYCLASS" TO "SYF" WITH GRANT OPTION
GRANT DELETE ON "XDB"."XS$SECURITYCLASS" TO "SYF" WITH GRANT OPTION
GRANT FLASHBACK ON "XDB"."XS$SECURITYCLASS" TO "SYF" WITH GRANT OPTION
GRANT INDEX ON "XDB"."XS$SECURITYCLASS" TO "SYF" WITH GRANT OPTION
GRANT INSERT ON "XDB"."XS$SECURITYCLASS" TO "SYF" WITH GRANT OPTION
GRANT ON COMMIT REFRESH ON "XDB"."XS$SECURITYCLASS" TO "SYF" WITH GRANT OPTION
GRANT QUERY REWRITE ON "XDB"."XS$SECURITYCLASS" TO "SYF" WITH GRANT OPTION
GRANT REFERENCES ON "XDB"."XS$SECURITYCLASS" TO "SYF" WITH GRANT OPTION
GRANT SELECT ON "XDB"."XS$SECURITYCLASS" TO "SYF" WITH GRANT OPTION
GRANT UPDATE ON "XDB"."XS$SECURITYCLASS" TO "SYF" WITH GRANT OPTION
GRANT "AQ_ADMINISTRATOR_ROLE" TO "SYF" WITH ADMIN OPTION
GRANT "CONNECT" TO "SYF"
GRANT "DBA" TO "SYF" WITH ADMIN OPTION
GRANT "MGMT_USER" TO "SYF"
BEGIN
dbms_resource_manager_privs.grant_switch_consumer_group(
grantee_name => 'SYF',
consumer_group => 'SYS_GROUP',
grant_option => FALSE
END;
BEGIN
dbms_resource_manager.set_initial_consumer_group(
user => 'SYF',
consumer_group => 'SYS_GROUP'
END;
Similar Messages
-
Creating new user having same access as that of SYSTEM user in Express Edit
Hi, is it possible in oracle to create a new user having same access as that of SYSTEM user?
If yes what would be syntax?
If not i would like to create a user having most of admin rights likes exporting and importing schemas and all.
How it can be done?
Any help would be appreciated.. :)
I am using Express Edition 11g.same access as that of SYSTEM usergrant dba to <username>;
Its not exactly system equivalent, sys does grant a few rights directly to system database user but its pretty darn close.
exporting and importing schemasgrant datapump_exp_full_database to <username>;
grant datapump_imp_full_database to <username>; -
Create new user same as a existing roles and Privileges
Hi Team,
I am a junior DBA. New user Joined in Application team. So, Client requested me.....
Crerate new user with same privileges as like as existing user.
As of now i am creating user like "create user username identified by "password". Then grant privileges to that user. earliar I never comapare or copied users.
Please suggest any one how to create new user as like as existing user roles and privileges.
Thanks,
VenkatFor basic cloning:
select dbms_metadata.get_ddl('USER', '...') FROM DUAL;
SELECT DBMS_METADATA.GET_GRANTED_DDL('ROLE_GRANT','...') FROM DUAL;
SELECT DBMS_METADATA.GET_GRANTED_DDL('SYSTEM_GRANT','...') FROM DUAL;
SELECT DBMS_METADATA.GET_GRANTED_DDL('OBJECT_GRANT','...') FROM DUAL;
SELECT DBMS_METADATA.GET_granted_DDL(‘TABLESPACE_QUOTA’, ‘...’) FROM dual;
Then just replace the username with the new one you want to create. -
Old user account not accessible - Had to create new user account
Why was I forced to create a new user account in order to access Apple discussions? The last time I had posted to Apple discussions was 11/06. From the emails notifying me of replies to my post, I can still go to the link where my question and the replies are. Last week I wanted to post another question. Instead I encountered a circular problem. Every time I tried to log in to discussions with my Apple ID and password (the same as my .Mac name and password, which were working fine for accessing .Mac), I was told that there was an error in my password. When I tried again, I was repeatedly re-directed to a "create new user account" web page that listed my .Mac email address as my Apple ID, as it should have. I tried to re-create my old user account with my own [real] name (as before) and was told that name was in use! Of course, it was me! (I had always used by real first name and surname as my name on Apple discussions.) So finally, very frustrated, I created a new name, a nickname, for discussions, and it worked. Now, all my previous posts are gone. It's as if I didn't exist in the Apple world until today, 9/16/07, but I originally had established my user account in 2004. I tried asking about this in a phone call to Apple support, but I was re-directed to the .Mac web site. Then I posted a question at .Mac feedback to no avail. I had a feeling that as soon as I "obeyed" and created a new user account that wouldn't be recognized as myself, my past posts would be sent into oblivion. I don't like losing all my previous posts that were attached to my user account. I have found this problem very frustrating and would really like an explanation.
Hi decemberbaby,
Try this procedure.
Delete all the Apple Cookies in your browser, and empty the Cache.
Go here Discussions Sign In, and try logging in with your original Apple ID again.
If that still doesn't work, delete the Cookies again, and go to My Info, and log in with the original Apple ID.
If you get the error message "Your Apple ID or password was entered incorrectly.", click on "Did you forget your password? Click here for assistance".
On the page that opens, you can also click on "Forget your Apple ID
ali b -
Unable to create new user thru Portal
Hi,
I am unable to create user from the oracle portal web page under the Administer tab.
I have logged in as user PORTAL30 which has DBA rights.
When I click the Create new user link, it generates an error page WWC-00000.
Would appreciate if any can help me out urgently.
OS: NT4 SP5
9iAS 1.0.2.1
Vipul
nullCindy,
Thanks for the solution. It worked fine after changing servername to lowercase.
The servername was set in in httpd.conf by the 9iAS installer itself. I would like to express that Oracle should have checked before launching or should have listed it in the release notes.
Once again thanks for the inputs, Cindy.
Regards,
Vipul
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by cindy:
I too was having the same problem. I found this in another post:
"this is reported as
BUG:1534919
the solution is to use lower case server name in httpd.conf. It must be in lower case."
I made the change and am now able to create users.<HR></BLOCKQUOTE>
null -
Hi all,
I am trying to write a script to create new user in Active Directory using power-shell
$sam = "13653123"
try{
get-aduser -Identity $sam -ErrorAction Stop
catch [Microsoft.ActiveDirectory.Management.ADIdentityNotFoundException]
$error1= [System.Windows.Forms.MessageBox]::Show("ERROR : Account Not found")
$SamAccountName = $sam
$gn = "Jack Sparrow"
$Initials = "ZX"
$dn = "$gn "+" $Initials"
$Department = "1260"
$title = "AM"
$pwd1 = read-host "Please enter the password"
$pwd2 = read-host "Please enter the password"
if($pwd1 -eq $pwd2)
$pwd = $pwd1 = $pwd2
try
$userprinicpalname = $SamAccountName + "@XXX.com"
New-ADUser -SamAccountName $SamAccountName -UserPrincipalName $userprinicpalname -GivenName $gn -Initials $Initials -Name $dn -DisplayName $dn -Title $title -Department $Department -Office $Department -Path "OU=XXXX,DC=XXX,DC=com" -AccountPassword (ConvertTo-SecureString $pwd -AsPlainText -force) -Enabled $True -PasswordNeverExpires $False -ErrorAction Stop
catch [Microsoft.ActiveDirectory.Management.ADPasswordComplexityException]
$error7= [System.Windows.Forms.MessageBox]::Show("ERROR : The password you entered doesnot meet the complexity set in the Password Policy" )
break
else
$error2= [System.Windows.Forms.MessageBox]::Show("ERROR : passwords donot match")
I am getting issue when The password complexity error is coming. It is showing up the error in the catch, but it is creating the account in AD and disabling it.
What I want is if any error is found and caught in the catch, then the user should not be created. How to do that?
Please provide your valuable suggestions and help me out
Naveen BasatiThis is a good way to get teh paassword to abort when it fails the test.
function Test-Password{
Param($Password)
Try{
$pwd=ConvertTo-SecureString $Password -AsPlainText -force
Set-ADAccountPassword testuser11 -NewPassword $pwd –Reset
# it worked so return the encrypted password
$pwd
Catch{
Throw $_
$sam = "13653123"
if(get-aduser -Filter "SamAccountName -eq $sam"){
Write-Host 'User already exists' -ForegroundColor green
}else{
Try{
$pwdText='x123!heLno34' # 3 levels of compexity plus length > 9
$pwd=Test-Password $pwdText
$given='Jack'
$surname='Sparrow'
$Initials='Z'
$Department='1260'
$title='AM'
$props=@{
SamAccountName=$sam
UserPrincipalName="$[email protected]"
GivenName=$given
Initials=$Initials
Name="$given $initials $surname"
DisplayName="$given $initials $surname"
Title=$title
Department=$Department
Office=$Department
Path='OU=TestOU,DC=testnet,DC=local'
AccountPassword=$pwd
Enabled=$True
PasswordNeverExpires=$False
New-ADUser @props -ErrorAction Stop
Catch{
throw $_
We just re-throw the error and it propagates to the outer try/catch block.
¯\_(ツ)_/¯ -
[syntax_error] in Creating New User - After applying SP ABAP & Basis lv 8
Hi Gurus.
actually I already created message to SAP regarding this. but i havent receieve any respond. I post here just in case maybe I can have immediate solution from you guys..
I have 2 system HLC and MFG
which is using same OS and DB
DB Information
DB client lib. SQL_Server_8.00
DB releases MSSQL 7.00.699 or higher, MSSQL 8.00.194
DBSL version 700.08
DBSL Patch Level 144
System Information
SAP versions 700
Operating System Windows NT 5.0, Windows NT 5.1, Windows NT 5.2, Wi
OP release 5.2
which have same Kernel and SP patches
Kernel release 700
Sup.Pkg lvl. 146
SAP_ABA 700 0008 SAPKA70008
SAP_BASIS 700 0008 SAPKB70008
ST-PI 2005_1_700 0006 SAPKITLQI6
PI_BASIS 2005_1_700 0005 SAPKIPYJ75
Problem
previously both of the system HLC and MFG is in level 6 SP ABAP and BASIS
when i try to create EWA report for both of them, i have missing module in the report
and i read a note that i need to upgrade to level 8.
when i upgrade both of them to level 7, then i run sgen and there are no problem on both system
but when i upgrade both of them to level 8
in my MFG system, i can run sgen with no problem.
in my HLC system, i run sgen and it take a long time to validate the programs which are need to be recompiled. so i never run sgen to recompile on HLC system after i update the SP to level 8. but i believe this shouldnt be an issue.
the day after i update the SP, one of my user raise an issue.
(same issue is not happened in MFG system only in HLC system)
when we try to create new user..
SU01 -> create new user -> fill all the details -> save -> abap dumps
Error in the ABAP Application Program
The current ABAP program "/SAPSLL/CL_IM_BP_ADDRESS======CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
The following syntax error occurred in program "/SAPSLL/SAPLBP_ADDRESS " in
include "/SAPSLL/LBP_ADDRESSTOP " in
line 22:
"Statement "/SAPSLL/DEBUG_DATA" is not defined. Check your spelling . ."
The include has been created and last changed by:
Created by: "SAP "
Last changed by: "SAP "Hi all
problem is solved..
after doing some debugging, we found out
there are some missing entries in table TRMAC
so i just copy the missing entries from my MFG server to HLC server since they are both in same condition.
now i am wondering why do the support package miss to enter the rows in TRMAC table >.<
SAPache man.. -
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 -
Creating New Users for RDBMS realm
I am currently creating new users in the RDBMS realm
by an EJB that will insert into the "Users" table. Is this
the correct way to create users or should I be calling
methods on classes in examples.security.RDBMSRealm?
Thanks
Bill.Thanks a lot for the guideline.
I can able to create multiple users using Import option of the user administration but i have one more question regarding the same.
What about the password setting of these newly created users. Or can the set the password field in test file?? Because when we export the user, it is not showing any Password field.
Thanks & Regards,
Prashant -
Ess error & unable to create new user
hi gurus...
i new to portal and i m facing problem in ess and user creation ...
1 .) my ess is showing the following error
Service cannot be reached
What has happened?
URL http://wind:8000/webdynpro/dispatcher/sap.com/pcui_gp~xssutils/XssMenu call was terminated because the corresponding service is not available.
Note
The termination occurred in system EC1 with error code 404 and for the reason Not found.
The selected virtual host was 0 .
What can I do?
Please select a valid URL.
If you do not yet have a user ID, contact your system administrator.
ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:wind_EC1_00-v:0-s:404-r:Notfound
HTTP 404 - Not found
Your SAP Internet Communication Framework Team
2) In user management .. when i m clicking on create new user tab... it shows an error and says "An error occurred; contact your system administrator " while i m the admin here and having all the right with me.
pls help me regarding this....Hi,
Did you install pcui_gp sca file suring deployment of ESS/MSS business package.?I think that sca file is missing
1 .) my ess is showing the following error
Service cannot be reached
What has happened?
URL http://wind:8000/webdynpro/dispatcher/sap.com/pcui_gp~xssutils/XssMenu call was terminated because the corresponding service is not available.
2) In user management .. when i m clicking on create new user tab... it shows an error and says "An error occurred; contact your system administrator " while i m the admin here and having all the right with me.
Is data dource configured to ABAP? then create in abap system such that users will be visible into portal.
Regards,
Koti Reddy -
Create new user in WebCenter Capture
Hi all,
Is it possible to create new user in Oracle WebCenter Capture?
In documentation I found that it can be done, but I can not find how...
Capture Users have client access to workspaces to which they have been granted access. Users are further granted access to specific client profiles. Capture user information is covered in Oracle Fusion Middleware Using Oracle WebCenter Capture. Any user that needs access to the client needs to be assigned the CaptureUser role in Oracle Enterprise Manager.
Capture System Administration Overview - 11g Release 1 (11.1.1)I found it, it is in Enterprise Manager.
WebLogic Domain ->
Right click on Fmw Domain -> choose Security -> Application Roles -
Cannot copy or create new user in portal
Hi all,
I have tried to create new users in dual stack abap & java installation. However, j2ee_admin and sap* both display critical stop with message "An error has occured, contact your system administrator." Unfortunately, there is nothing more than this message in portal. I have used visual administrator from go.bat also but the result is the same with error:
Caused by: java.lang.ClassNotFoundException: com.sap.security.core.persistence.datasource.PersistenceException
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
Any clues!
Regards.Hi Eduardo/Jo,
That's fine, I can see abap user in both visual administrator and portal's identity mgt area.
However, when attempted to logon with an super admin role abap user, the portal displays, user is locked... okay, go to portal with j2ee_admin and unlock this user... again login and message user is still locked.... Go to visual administrator the same user appears as locked. click the pencil button and try to unlock, visual admin displays message "unable to unlock user. details are available in status bar".
Following is the perhaps relevant part of the long error details.
Caused by: com.sap.security.core.persistence.datasource.PersistenceException: Attribute "islocked" on namespace "com.sap.security.core.usermanagement" of principal "UACC.R3_DATASOURCE.MOHAMMAD" is not modifiable.
So, all in all, portal cannot logon with super administrator becuase it appears locked in visual admin, cannot unlock this user in visual admin because of above error message.
Any clues, please.
Regards. -
Scritps to create new user in portal
Hi, anyone knows where can i get a script to create new users in portal?:
add new user, add user in groups, set default group
i've been trying to insert in the tables WWSEC_PERSON$ and WWSEC_FLAT$ but i couldnt get to see the user in portal application though its the tables. i guess i am forgetting some table (like something in the SSO)...
Thanks
Daniel Perez
SJDWell, actually the api also adds the user to the group, but obviously, there's something that portal does when you add it manually that we are missing in the api, and that's what i need to discover.
The code in the api, related to default group, is:
/*In FUNCTION ldap_create_user */
IF p_default_group is not null then
BEGIN
group_array := DBMS_LDAP.create_mod_array(14);
user_vals(1) := 'cn=' || lower(p_default_group) || ',' || group_id;
DBMS_LDAP.populate_mod_array (user_array, DBMS_LDAP.MOD_ADD, 'orcldefaultprofilegroup', user_vals);
user_vals.DELETE;
group_vals(1) := 'cn=' || p_oid_id || ', cn=users, ' || ldap_base;
DBMS_LDAP.populate_mod_array(group_array, DBMS_LDAP.MOD_ADD, 'uniquemember', group_vals);
group_vals.DELETE;
retval := DBMS_LDAP.modify_s(user_session,'cn=' || lower(p_default_group) || ',' || group_id, group_array);
DBMS_LDAP.free_mod_array (group_array);
END;
END IF;
/*In FUNCTION portal_create_user*/
IF p_default_group is not null then
BEGIN
wwsec_api.set_defaultgroup (p_groupid => wwsec_api.group_id (p_default_group),
p_username => p_username);
l_id := wwsec_api.id_sso(p_username => p_username);
END;
END IF;
If i try to add the user to the group anyway with add_user_to_list:
wwsec_api.add_user_to_list(p_person_id => wwsec_api.id(p_username),
p_to_group_id => wwsec_api.group_id(p_default_group),
p_is_owner => wwsec_api.NOT_OWNER);
I get a User Defined Exception.
I also can see the user in the list of members for the group and the group as the default group for the user in his profile.
Anyway i still get the same message when trying to log in:
Error: You do not have permission to perform this operation. (WWC-44131)
Message was edited by:
dani_sjd
Message was edited by:
dani_sjd -
Failed to create new user null
All Experts
I am getting the following error message when I am trying to start Java Engine. I am trying to add Java Add on to the ABAP Stack. This was taken from security.0.log .
#1.5#001143312344001E00000003000006B400044C1E4BBCD4E7#1209592910253#/System/Security/UserStoreUME##com.sap.security.core.server.userstore.UserContextUME#######SAPEngine_System_Thread[impl:5]_14##0#0#Error#1#com.sap.security.core.server.userstore.UserContextUME#Plain###
Failed to create new user null#
#1.5#001143312344001E00000005000006B400044C1E4BBCFE64#1209592910253#/System/Security/UserStoreUME##com.sap.security.core.server.userstore.UserContextUME.engineCreateUser(String)#######SAPEngine_System_Thread[impl:5]_14##0#0#Info#1#com.sap.security.core.server.userstore.UserContextUME#Java###Created new user #1#<null>#
#1.5#001143312344001E00000006000006B400044C1E4BBCFFBA#1209592910253#/System/Security/UserStoreUME##com.sap.security.core.server.userstore.UserContextUME#######SAPEngine_System_Thread[impl:5]_14##0#0#Error#1#/System/Security/UserStoreUME#Java###Error during creation of default users or role assignments: #1#
Could not create user null: LOGONID_IS_NULL#
#1.5#001143312344001E00000008000006B400044C1E4BBD03D0#1209592910253#/System/Security##com.sap.engine.services.userstore.UserContext.<init>(UserContextSpi, Properties)#######SAPEngine_System_Thread[impl:5]_14##0#0#Fatal#1#com.sap.engine.services.userstore#Plain###Can not instantiate UserContext with given properties.#
#1.5#001143312344001E0000000B000006B400044C1E4BBD5C7C#1209592910284#/System/Security##com.sap.engine.services.security#######SAPEngine_System_Thread[impl:5]_14##0#0#Error#1#com.sap.engine.services.security#Java#security_0001#com.sap.engine.services.security.exceptions.SecurityResourceBundle#Unexpected exception:##
Please suggestHi Prasanna
I am getting this error while installing the Java Add-on. The installation was in the last stage and there it got struck when it tried to reboot the java engine. I am using SAPJSF user to communicate with ABAP stack and it has the full authorizations. I even checked and see that SAPJSF user is not locked. I also tried with another user and still the same issue. As per the log it the java engine is able to login with the user, but it is trying to create a user and fialing there. I am not sure why it is creating this user.
Regards,
Mahesh -
Error while creating new user in Oracle 11i EBS
I am getting following error while creating new user. How solve this issue?
“Unable to load java class % specified profile option SIGNON_PASSWORD_CUSTOM. Please verify that the class exists and that it implements the java interface oracle.apps.fnd.security.PasswordValidation”.Following is the text from Note for Custom Password Validation logic:
Customers who wish to use their own password validation logic may do
so by writing their own Java classes that implement the
oracle.apps.fnd.security.PasswordValidation Java interface. The
interface requires 3 methods to be implemented:
1) public boolean validate(String user, String password)
- This method takes a username and password, and then returns true
or false, indicating whether the user's password is valid or invalid,
respectively.
2) public String getErrorStackMessageName()
- This method returns the name of the message to display when the
user's password is deemed invalid (i.e., the validate() method returns
false).
3) public String getErrorStackApplicationName()
- This method returns the application shortname for the
aforementioned error message.
After writing the Java class to perform customized password
validation, the customer must then set the value of the profile option
SIGNON_PASSWORD_CUSTOM to be the full name of the class. If, for
example, the name of the Java class is
oracle.apps.fnd.security.AppsPasswordValidation, then the value of the
SIGNON_PASSWORD_CUSTOM profile option must be
oracle.apps.fnd.security.AppsPasswordValidation. Note that AOL/J
will attempt to load this class dynamically. Hence it is necessary to
make the class accessible by AOL/J. This means that in Forms, the
class must first be loaded into the database using the loadjava
command.
You will need to apply the following patches for 11.5.1:
1344802
1363919
1472974
1351004
1377615
You will need to apply the following patches for 11.5.2:
1377615
Maybe you are looking for
-
Recording a DVD stops before movie is done
My sequence is fine and complete and I make a Quicktime movie however when I burn it I do not get the complete movie. It stops early but again plays completed in the movie and timeline? Thank you for your help.
-
Hey all: New web designer here: what's the latest, greatest trick for embedding obscure fonts into a page? Or is there a practical way to do this? I want to use all these beautiful and distinctive fonts, but I also want to be sure my page shows up co
-
I want to install Linux Mint Debian Edition on this machine and cannot. I have tried everything suggest on the net but to no avail. With both CD/DVD and USB ISO's I get to the main menu options at the beginning of the process, select the one I want a
-
Can I remove Adobe 9 after I installed 11.2?
Can I remove Adobe Reader 9 after I installed XI?
-
Is there a video tutorial which shows how to manually assign pages to menu items?
I have a need to build out two separate menus. In order to do that, I need to be able to manually assign pages to the menu. Thanks