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,
Venkat
For 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.
Similar Messages
-
Creating new graphics object from a existing one and sending it for print
Hello,
i have a graphics object which is big in size, I am creating a new graphics object from the existing one as given below
//map is a graphic object
Graphic g1 = (Graphic)map.create(x,y,width,height);
Graphic g2 = (Graphic)map.create(x,y,width1,height1);
Graphic g3 = (Graphic)map.create(x,y,width2,height2);
arrayList.add(g1);
arrayList.add(g2);
arrayList.add(g3);
Now I want to send the graphic object g1,g2,g3 for print in the method
public int print (Graphics g, PageFormat pf, int idx) throws PrinterException {
// Printable's method implementation
if (curPageFormat != pf) {
curPageFormat = pf;
pages = repaginate (pf);
if (idx >= 3)) {
return Printable.NO_SUCH_PAGE;
g = (Graphics) arrayList.get(idx);
return Printable.PAGE_EXISTS;
This is not working... what is wrong. can anybody suggest..
I tried standardprint.java to print a object inside a scrollpane, it is not printing the entire diagram. so I am thinking of something like this.... Please let me know what to do....
Thanks
SerjThe easy way to do this is create a copy using Windows Explorer.
Open the project and go to File > Rename.
Then you have your 2013 ready made project.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
USER LICENSE TO CREAT NEW USER IDS.
Hi All,
I Want to creat the 5 new user ids in production client, but the issue is client requires the new names for the alredy exsting user ids with the same authorizations and roles.
For this i am going to creat a new user ids and assign the same role and profiles and lock the existing ones. But creating new ids in production client i required to know the LICENSE details.
Please any one suggest me how to find out the required LICENSE'S are availble are not.what is the process to know the LICENSE details, is there any related sap notes to understand the LICENSE information.
Regards,
Reddy VIn transaction SU01 in the change mode, in personalization tab page, select the row personalization for license administration by double clicking it. The edit personalization data dialog box appears.
If you can get the user license information to create new user id in transaction SU01 then try License Administration Workbench - Transaction SLAW or LICENSE_ADMIN
Hope it helps.
Regards,
Mona -
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 -
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.
¯\_(ツ)_/¯ -
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. -
Unable to create new user when logged as SYS or SYSTEM user. Oracle 11g
Hello I installed oracle 11g databse. The installation went OK.
But when I tried to create a new user or alter an existing I always got "ORA-01031: insufficient privileges".
However I was able to alter SYS user when I was loged in as SYS or SYSTEM user when I was loged in as SYSTEM.
I am also able to create new tables, drop tables, query tables, create and drop synonyms and all other things except manipulate with users;
Can anybody tell me where could be the problem?
Thanks a lot in advance.
Message was edited by:
user609545I have checked the roles DBA, RESOURCE..(I am sorry byt I dont know what is role CREATE). SYS user has all these roles with admin option and default checked.
I am using oracle Enterprise manager, but I dont know where should I click on the red mark? Where can I find it? -
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 -
[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 -
Create new user process - BPM11g
I need to develop a Create New User Process in BPM11g.
Managers can start this process and create new users for new employee so that the new employee can log in the workspace and start to work.
How can I achieve this in 11g?
I find this perhaps involves weblogic authentication and user role API.
Is anyone familiar with these?Hey
CREATE USER "TEST" PROFILE "DEFAULT"
IDENTIFIED BY "test" DEFAULT TABLESPACE "USERS"
ACCOUNT UNLOCK;
GRANT "DBA" TO "TEST";
But be careful to grant all privileges (DBA)
Regards -
Can't create new users after GroupWise is moved from NetWare to Linux
Hi,
I moved GroupWise (Version 6.5 SP 6, single domain and single office)
from NetWare 6.5 server to SUSE Linux Enterprise server 9. It seems the
GroupWise server is running oaky. Existing users are able to connect
their mail box and send and receive messages. But I can't create new
users on the GroupWise server.
I used ConsoleOne installed on the Linux server to create new GroupWise
users. It seemed that I was able to do it. The new users appear on the
NDS and the GroupWise File IDs were assigned for these users. And I was
able to add these new users to distribution lists. But the users DB
files (userXXX.db) were not created under /grpwise/po/ofuser on the Linux
server and they cannot connect to the server. Old users cannot find them
in Novell GroupWise Address book.
Does anyone how to fix the problem?
Thanks in advance!
JinkangHi,
[email protected] wrote:
>
> Hi,
>
> I moved GroupWise (Version 6.5 SP 6, single domain and single office)
> from NetWare 6.5 server to SUSE Linux Enterprise server 9. It seems the
> GroupWise server is running oaky. Existing users are able to connect
> their mail box and send and receive messages. But I can't create new
> users on the GroupWise server.
>
> I used ConsoleOne installed on the Linux server to create new GroupWise
> users. It seemed that I was able to do it. The new users appear on the
> NDS and the GroupWise File IDs were assigned for these users. And I was
> able to add these new users to distribution lists. But the users DB
> files (userXXX.db) were not created under /grpwise/po/ofuser on the Linux
> server and they cannot connect to the server. Old users cannot find them
> in Novell GroupWise Address book.
>
> Does anyone how to fix the problem?
This clearly sounds like your domain (which is the part of groupwise
which you admin against) doesn't/can't talk to the postoffice, so the
change you made (to the domain) does never get to the PO (which is where
the addressbook of your other users come from, and is what is
responsible for creating the user DB). This seems very likely to be
caused by your move not being done properly, and old information (either
path or IP address) for the PO still being in the domain and/or domain
database.
So how's the domain linked to the PO?
CU,
Massimo Rosen
Novell Product Support Forum Sysop
No emails please!
http://www.cfc-it.de -
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
Maybe you are looking for
-
Query For Sales Order Amendments
Hi, Does anyone have a query that lists the amendments to a Sales Order? I basically want to create an alert that runs this query once a day and shows me the sales orders that have been amended that particular day. Any help on this would be gratefull
-
How to add check box in SAP B1 grid controls..
hi all, Anyone know how to add check box in SAP grid control? It will be great if you could show me some sample code. thanks. regards, sohch
-
COMMIT problem in TopLink, Struts, JSP and ADF Databinding sample
In the sample Developing a J2EE Application using TopLink, Struts, JSP and ADF Databinding, I followed all the steps to build a department browse page and a edit page. But when I get to Step number 23 in "Create a JSP to Edit Departments" I have a pr
-
Hi experts May any body help to do Electronic Bank statement-How it is run Config is Ok and I can run mannual bank statement -FF67 but how electronic bank statement run Thanks
-
Photos that were on my iPhone 3Gs disappeared when I sync'd onto my PC.
I had photos that were on my iPhone 3Gs that disappeared when I sync'd the phone to my PC (Windows XP 2007). Where did they go and how do I get them a) back or b) get the photos moved to My Pictures folder? I did find the iPod Photo Cache within My P