Role/privileges to make alter another user's account !

Dear Friends ,
I am using Oracle10g R2 database . In oracle , I want to give a special permission which is
"alter user username account unlock"to a normal user . i.e., a normal user of oracle database has the right to alter all other user's account unlock permission if necessary .
For this reason , which permission/privileges I need to give that user , is it possible to do ?
Edited by: shipon_97 on Oct 21, 2009 9:35 AM
Edited by: shipon_97 on Oct 21, 2009 9:36 AM

It's been already discussed in other threads but with a focus on changing users' passwords. Same applies to account lock status.
In short, with user sys or system, create a procedure that inputs an account name and unlocks the account. Grant execute on this procedure to your designated user.

Similar Messages

  • Exporting photos from iPhoto admins account to another users iphoto account

    Hi all
    Probably a silly question but I have just set up another family member with their own login on my mac and am wondering how to transfer/export pictures from my iPhoto folders to the other user login' iPhoto

    Enable iPhoto Sharing in your iPhoto (Preferences -> Sharing), leave iPhoto running and use Fast User Switching to open the other account. In that account, enable 'Look For Shared Libraries'. Your Library will appear in the other source pane. Pics can then be dragged from your Library in the iPhoto Window to theirs.
    Remember iPhoto must be running in both accounts for this to work.
    Regards
    TD

  • How do stop automatically logging in to another user's account?

    My computer connects to SBC Yahoo DSL via PPPoE. The SBC Yahoo DSL account and password are set (in Internet Connect) so that when you click on Safari, the computer is able to connect to the internet without having to type in the account name and password each time.
    The problem is, there are multiple users on my computer who have Yahoo (or some variation of Yahoo, such as SBC Yahoo! or My Yahoo!) as a homepage. When one logs off, and I log onto my Yahoo homepage, I find I am still logged into the account of the user who just logged off. How do I stop this from happening?

    Hi mhoesq,
    Thanks for clarifying the different identities.
    Now, when each of you go to different parts of Yahoo, do you have a similar setup as with Safari, that is, each has a Yahoo identity and password ( I presume this if it says welcome so and so) and have you checked an automatic log-in/ remember me sort of thing.
    If that is the case ( and here I'm guessing) then if each person does not log out of their Yahoo account but just closes Safari, then the next time someone else logs in, Yahoo will think it is the same person.
    Safari will remember a user's homepage, and Yahoo will remember who is logged in.
    So adding to the scenario that you have described, if User A actively logs out of their yahoo account and then closes Safari and logs out of the Mac, then I would imagine when User B logs in, fires up Safari and is automatically logged in to a new yahoo account then it should say Welcome User B.
    There are a lot of presumptions here, but this may be the explanation.
    regards, roam

  • ITunes importing content from another user's account

    I have an iPod. My husband has an iPad and his own iTunes account, and we share the same computer. When I connect my iPod to my computer, it imports content from his iTunes account onto my iPod. I do not want this, because I do not have the space required for the content he will get. How can I fix it so my iTunes account will not sync my content and his content onto my iPod? Please respond with any helpful information. Also, I do not want his content to even show up in my library, as I do not think this should happen.

    maashysteria wrote:
    When I connect my iPod to my computer, it imports content from his iTunes account onto my iPod
    do you use the same user account/itunes library ?
    if so, click here for options.
    JGG

  • My phone synced to another user's account, some apps now require that user's password

    I inadvertantly synced my phone to someone else's profle. Now some of my apps have been converted to their apps.  cannot update as they require that person's password.
    How can i delete the apps, and download them again as mine (ie bank, google...)

    Settings>iTunes and App Store. Tap the other person's ID and sign out. Sign in with your own ID.
    To delete the apps, tap an hold down on the icons until they wiggle, then tap the X on the icons to delete the apps. Tap the home button when you are done. Then download the apps with your own ID.

  • Yes another user with problem with Apple Mobile Device Support, I am getting the error message: Service 'Apple Mobile Device'(Apple Mobile Device) failed to start. Vertify that you have sufficient privileges to start system service....

    Yes another user with problem with Apple Mobile Device Support, I am getting the error message: Service 'Apple Mobile Device'(Apple Mobile Device) failed to start. Vertify that you have sufficient privileges to start system service....I hit retry and it came up again. I hit ignore and it prompted me to hit finish so Itunes can open.   I looked thru alot of these posts on here to try and resolve this problem myself but it's not working too well...I downloaded Itunes to my desktop so I can right click it with the program i downloaded called WinRAR. I extracted it and then went into the folder called Itunes64setup. I saw the file called AppleMobileDeviceSupport64 in there so I began to try and download it on it's own. Well that didn't work as I planned and got this error message:
    Apple Mobile Device Support wasn't installed on your computer. The installer encountered errors before Apple Mobile Device Support could be configured. Your system has not been modified. To retry these operations at a later time,please run the installer again.
    Well I tried to run it again and came up with the same message...I see that some people got great support to help them so I am hoping someone can help me as well. I know "b nor" is very qualfied and hopefully can help me! Please advise what I can do. Thank you

    Hi Iss9243,
    Welcome to the Support Communities!
    You've already tried some great troubleshooting steps, but the article below gives you quite a few more for this issue.  Hope it helps ....
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    Cheers,
    - Judy

  • Hello and HELP! Over the years I have saved Invoices in my Documents. I have just tried to open them and all I am getting is " cannot be opened, Invoice**** is used by another user, do you want to make a copy?" That's on all my invoices.

    Can someone help please.
    I have just "lost" ( cannot open) all my saved Invoices in the Document folder.  All I am getting is " cannot open, Invoice ** is used bey another user, do you want to make copy? " That doesn't work either. I can't get anything on the time capsule either. How can I reset to an earlier time? Or what can I do?
    Thank you

    Did you recently reinstall the OS then copy all your files back over? Do a Get info on one of the documents and see if your current UserName is listed and has Read & Write permissions. If not select the Documents folder and check that for Read & Write permissions for your UserName. If it doesn't have R & W permissions Add it so it does.

  • I am unable to open documents ending with .doc (rather than docx, which I can open). The error message states "[name of document]" is being used by "another user." Do you want to make a copy? Help!!!

    How can I open a Word document, when I receive this error message "[name of document]" is being used by "another user." Do you want to make a copy?
    (This only occurs on the documents I have saved as .doc; the ones saved as "docx" open for me. Help!

    Did you recently reinstall the OS then copy all your files back over? Do a Get info on one of the documents and see if your current UserName is listed and has Read & Write permissions. If not select the Documents folder and check that for Read & Write permissions for your UserName. If it doesn't have R & W permissions Add it so it does.

  • Privilege to allow a user to create a view in another user's schema

    Hello,
    I need to allow a user to create a view in another user's schema.
    Say, to connect as USER_A and run statement: 'create view USER_B_SCHEMA.myview as select...'
    Is there any way to accomplish that without granting USER_A privilege to CREATE ANY VIEW? I want to keep USER_A at the lowest profile possible.
    Thanks!

    You have the option to create an stored procedure, here a test case (no optimized, no bug free):
    SYS@orcl > create user sp_owner identified by sp_owner;
    SYS@orcl > grant create any view to sp_owner;
    SYS@orcl> create procedure sp_owner.create_view (
      2  view_name varchar2, view_sql varchar2 ) is
      3  begin
      4    execute immediate 'create view '||view_name||' as '||view_sql;
      5  end;
      6  /
    Procedure created.
    SYS@orcl > create user test identified by test;
    SYS@orcl > grant create session to test;
    SYS@orcl > grant execute on sp_owner.create_view to test;
    TEST@orcl> execute sp_owner.create_view('scott.emp_vw','select * from scott.emp')
    PL/SQL procedure successfully completed.HTH
    Enrique
    PS. If your problem was solved, consider marking the question as answered.

  • Error :- Another User has altered the quantity of Batch B01

    Hello Experts,
    I have created a addon through which in Sales Order while entering the quantity and pressing tab automatic Batch allocation
    is done row wise for items . This process is working fine while entering .
    But from last two days while adding the Sales order with batch allocated sap is throwing an error message that
    "Another User has altered the quantity of Batch B01 in Warehouse SYD in row - 11"
    This is not my addon error message .This error is thrown by SAP which has blocked the Sales Order Entry.
    I am confused about what to do with this .Since this problem need to be resolve urgently .
    Please help me regarding this.
    thanks ,
    Amit

    Hi Jisha,
    The problem which i was facing is not yet fully solved .
    Since in SAP 8.8 the message is much more understandable as this is happening because another user has allocated the
    batch quantity for the same item and the Batch is allocated for another user.
    If you can try creating a Item - X of Quantity - 10 into two Batches A  and B
    A- 5 Qty
    B - 5 Qty
    Then if one User say "User - A'" opens the Sales Order Form and select the Item - X  with Quantity - 5 and then select the Batch option system will automatically allocate the first Batch (A) for 5 Qty  and the Order is not yet saved.
    Same time if another user "User - B" opens a sales order and select the same Item - X with quantity - 5 and then select the
    Batch Option system will automatically allocate the first Batch (A) for 5 Qty (But actually the first user has already allocated the
    5 Qty for Batch - A ) . Then while adding the Order "User - A"  order gets allocated with Item - X 5 Qty into the Batch table.
    When the second user tries to add the order with Item -X allocated in also Batch - A system generates this message
    " Another User modified the quantity of Batch A" since this batch is already allocated by user - A.
    This was the cause for this message and still i have not found any solution for that.
    Just told the clent to reallocate the batch for the items where this message is thrown .
    Thanks & Regards,
    Amit

  • CREATE/DROP synonyms in another user's schema without ANY privilege

    What's the best way to enable a user to create/drop synonyms in another user's schema without doing any of the following?:
    1) Granting CREATE/DROP ANY SYNONYM or CREATE/DROP PUBLIC SYNONYM to the synonym creator.
    2) Logging in as the user that will own the synonym to create the synonym.
    * Although option #2 might be ideal, it would require reworking a lot of code in our environment.
    I thought about creating a stored procedure in the syn-owner's schema that issues the "CREATE SYNONYM" DDL command and then granting EXECUTE on this proc to the syn-creator -- but, it's my understanding that it's best to avoid putting DDL inside stored code.
    Any ideas?
    Oracle version is 10.2.0.4

    DBA should recognize"should" is the operative word here :)
    One clarification: the user from which the DBA's are planning to revoke the "ANY" privs is an account used internally by one of our ETL tools -- not a developer account. In fact, only the ETL tool itself and the DBA's can log into the account in TST/PRD (developers can log in with it in DEV). Even so, the DBA's still want to revoke "ANY" privs from ALL non-DBA accounts in ALL databases (including DEV). I kind of think that this is overkill, but then again, I don't make the rules here!
    Anyhow, it seems that what we need here is the insight of a political scientist rather than that of a DBA. (not that your perspective is not valued!!)
    Seems that I'll be going back to the drawing board...
    Thanks for your help.

  • Create new user like another user with select privilege???

    our user requested create another user similar to "apps" , but only "selec t" privilege to "apps" objects and other user's objects which grant to "apps".
    In this case they can use tool login and do some work.
    Does anyone know how to "create a new user like APPS", bur only copy APPS "select" privilege to this new user?
    Thanks.

    This has been discussed many times in the forums. Pl see this thread Re: How to create a read only database or conduct a search for more hits.
    HTH
    Srini

  • Granting table privileges on another users tables

    Can anyone tell me what privilege needs to be granted to a user to be able to grant insert/update/select/delete/execute on another users tables/packages?
    I had thought that 'grant any privilege' was the one to have... and - the user I am trying to use to grant the privileges on the other users schema has this however - I'm still getting : ORA-01031: insufficient privileges when trying to run the grants.
    Any ideas what I'm doing wrong here?

    Ok... well...
    The 'with grant' option doesn't appear to be the issue.
    The user attempting to perform the grants:
    i.e. GRANT SELECT ON user_2.table_1 TO view_role
    has the 'grant any object privilege' and - that seems to be enough. When I run the statement above as a simply as typed - it works fine.
    However - what I'm actually doing is concatenating that together in a string and running (from a package created by/as user_1) and doing an execute immediate...
    i.e.
    l_sql := 'GRANT ' || l_rec.privilege || ' ON ' || l_rec.owner || '.' || l_rec.table_name || ' TO ' || p_role;
    EXECUTE IMMEDIATE l_sql;
    And - it's this that's giving me the insufficient privileges...
    I do not have invokers rights set on the package - so that shouldn't be an issue. And - I can't find any documented restriction on doing this (and - in fact - it works fine if I create the package as user_2 and run it as user_2 - the owner of the objects).
    I'm at a loss.

  • Export object privileges to another user

    dear,
    i want to export thr object privilege to another user on oracle 10g. how can do it? i try to export the user/scheam than immport to another user but still no work..
    Regards

    I guess he want user B to have same object privileges as user A
    If this is the case, it depends on what object privileges user A has.
    You can find that out from user_tab_privs after logon as user A.
    If the GRANTABLE = 'NO' you have to logon as each schema holder to grant the privs.

  • Java Database User Role Privileges Framework

    Hello
    I am looking Java Framework which automatic generates Java Code for
    Database User Role Privileges Administration.
    Like in database we have a table of Users
    Now we have table of Author, Book etc. (Related to Library)
    Now i want to give insert permission to user1
    update and delete permission to user2 etc.
    Is there any framework related
    Remeber i do not need User Role Privileges in database.
    I need a framework to do this job.
    Thanks in Advance.

    There are tables created under the SAPSR3DB or SAP<SID>DB schema with extension .UME, such as SAPSR3DB.UME.ACL_ACL or SAPSR3DB.UME_ACL_ACLENTRY for AS-JAVA.
    There are other tables with the UME extension too.
    Regards,
    Anwar

Maybe you are looking for