Create a user who can run only 'rman script'

Dear Friends ,
I have created a 'rmanback; user who only can run the RMAN script only . I have created user like follwoing way :
1)
SQL> CREATE USER rmanback IDENTIFIED BY rmanback;
User created.
SQL> GRANT RECOVERY_CATALOG_OWNER TO rmanback;
Grant succeeded.
SQL> GRANT CONNECT, RESOURCE TO rmanback;
Grant succeeded.
2)
And My rman script is :
rman target rmanback/rmanback@orcl <<!
run
allocate channel t1 type disk;
backup format 'df_%t_%s_%p'
(database);}
3) And I make a situation where sys user cannot enter the database using its password . For this reason i give the follwoing entry in "sqlnet.ora" :
SQLNET.AUTHENTICATION_SERVICES=(NONE)
Now when I run the script then it shows the follwing error :
[oracle@localhost RMAN]$ sh rman.sh.copy
Recovery Manager: Release 10.1.0.3.0 - Production
Copyright (c) 1995, 2004, Oracle. All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-01031: insufficient privileges
Now plz tell me where is the problem . If I make any mistake then plz inform me .....
Thx
-----

SYSOPER is a privilege that is not enough for recovery manager. Talking about SYSOPER privileges to perform a backup/recover operation from a sqlplus prompt, SYSOPER can perform backup operations, but when recovery is required, the only kind of recover it can perform is a complete recover, if the user requires any kind of incomplete recover it won't be possible since SYSOPER cannot issue neither of until time|change|cancel|controlfile operations, which require the user to connect with the SYSDBA role.
If you attempt to connect to the database by means of recovery manager with an account with SYSOPER role, you will get the following error:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-01031: insufficient privilegesFor the OP, there is no way to create some sort of operator accout, since this will have to connect as SYSDBA to perform all operations required by recovery manager, you will absolutely have to rethink your security strategy, and as I previously posted, you should use OS authentication and protect access to the host server.
~ Madrid
http://hrivera99.blogspot.com/

Similar Messages

  • Need to create a user who will run the logminer what rights should be given

    I Need to create a user who will run the logminer what specific rights should be given in order to run the logminer and query the logminer views. Cant give the sysdba privilages.
    Any help in this regard will be really appericiated.
    Thanks

    I have given the following privilages
    GRANT CREATE SESSION TO NEW_USER;
    GRANT SELECT ANY TABLE TO NEW_USER;
    GRANT EXECUTE ON DBMS_LOGMNR TO NEW_USER;
    GRANT EXECUTE ON SYS.DBMS_LOGMNR_D TO NEW_USER;
    GRANT SELECT ON V_$SESSION TO NEW_USER;
    GRANT SELECT ON V_$ARCHIVED_LOG TO NEW_USER;
    GRANT SELECT ON V_$LOG TO NEW_USER;
    GRANT SELECT ON V_$LOGFILE TO NEW_USER;
    GRANT SELECT ON V_$LOGMNR_CONTENTS TO NEW_USER;
    but when i try to add the logfile it gives me the following error
    ERROR at line 1:
    ORA-06550: line 1, column 85:
    PLS-00201: identifier 'DBMS_LOGMNR.NEW' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    What additional rights can i gave to run this
    Thanks

  • VsFTPD, creating a user who can upload

    Hello everyone!
    I setup ftp-server with this configuration:
    listen=YES
    anonymous_enable=YES
    local_enable=YES
    write_enable=YES
    local_umask=022
    anon_upload_enable=YES
    anon_mkdir_write_enable=YES
    anon_other_write_enable=YES
    dirmessage_enable=YES
    xferlog_enable=yes
    connect_from_port_20=YES
    xferlog_std_format=YES
    idle_session_timeout=600
    data_connection_timeout=120
    anon_world_readable_only=NO
    I have several questions of finishing setup.
    Everything I wanna work except one. I don't know how to create the user who as a client can upload files. Now I have the directory upload, where everyone can do anything that he want (upload delete rename etc..) and others dir such as music, films where users (they all will be anonymous) can only download. I want to create user who can upload files to this directories. How can I make this? now no pam, no authantification.
    Another question. How can I limit space of upload's folder?
    another info, permissions of ftp folder: dr-xr-xr-x  3 ftp    ftp      4096 2009-10-04 21:09 ftp
    upload folder:drwxrwxrwx 2 root root 4096 2009-10-06 22:58 upload
    I think it's not pretty good that upload is root's folder. what aobut this?
    Thanks!! and sorry for my english, i first time write so long text on foreign forum))

    ok. I had done all writing in the guide. but this example is without anonymous users. I want to create two types of directories ("shared" and others) and two types of users (anonymous and several admins which must log in)
    1) anonymous users who can do anything in directory "shared" and only download in other directories.
    2) admins users can upload and delete files or folders at any directory.
    home directories aren't interesting to me.
    What permissions should specify for dir?
    thanks in advance for patience

  • Error occurred in deployment step 'Uninstall app for SharePoint': Only users who can View Pages can list Apps

    While deploying the SharePoint Hosted App I am facing the issue  'Uninstall app for SharePoint': Only users who can View Pages can list Apps"
    - Provided the permissions for App Management and Subscription Services as well as DB.
    - Added into Host web as SC Administrator
    Thanks in Advance.

    Hi,
    The user you are running with Visual Studio should have read permission on the pages of SharePoint web you are trying to deploying your app.
    I suggest you add the login user to the SharePoint web in the “Site Settings”->”People and Group”.
    Here is a similar thread for your reference:
    http://sharepoint.stackexchange.com/questions/68590/error-occurred-in-deployment-step-uninstall-app-for-sharepoint-only-users-who
    More reference:
    Step by step How to configure environment for app development:
    http://gianespo.wordpress.com/2014/01/30/step-by-step-how-to-configure-environment-for-sharepoint-app-development/
    Best regards
    Zhengyu Guo
    TechNet Community Support

  • How to craete a user who can only browse the dashboard??

    Hi friends,
    How to create a test user who can only browse the dashboards and not able to modify any of the reports using answers??
    Please tell me the steps.
    Thanks

    @Alastair: I thought it'd be nice to start a new trend in the forum.
    @bob123: Depends on how you manage your user and groups in general. Everything created in the RPD? Read from some Oracle tables? LDAP/ADSI? You can do it in the RPD, in the web catalog (Edit Group -> Group Membership ==> The table below contains a list of the current members of this group. Users can join the group by entering the group's password from the Join Catalog Group screen, or you can manually add them by clicking Add New Member below.) or outside.

  • How to set the user who can access to repository

    Hi,
    I know we can create user and group in the tools->security.And if this users is belong to Administrators Group, it can access to RPD and do some modify..
    Can we create group or user who can access RPD in some situation(like mentioned in HELP, A can access to repository on Mondays and Wednesdays, B can access to repository on Saturdays and Sundays) and how to set the privilege..
    Thanks
    anne

    Hi Anne,
    The example specified in Help is about restricting query execution on weekdays/weekends for a particular webgroup. Inorder to configure such access ,
    Double click on the web group name -> Query Limits tab ->Click on Restrict button provided against the physical connection pool ->Select Allow/Disallow by selecting a particular time period.
    Rgds,
    Dpka

  • How to find users who are running IE with different credentials ?

    How to find users who are running IE with different credentials ? 
    Is there any tool or a solution in the market will help or a i can use GPO or even Power Shell ?
    thnx & Regards ,,

    Hi Salman,
    Based on your description, we can use Windows Credential Manager to check this. Windows Credential Manager stores credentials, such as user names and passwords  that we use to log on to websites or other computers on a network.
    Regarding Credential Manager, the following article can be referred to for more information.
    Credential Manager
    http://windows.microsoft.com/en-in/windows7/what-is-credential-manager
    Manage passwords in Internet Explorer using Credential Manager
    http://www.thewindowsclub.com/manage-passwords-internet-explorer-10
    Please Note: Since the above website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Best regards,
    Frank Shen

  • I have a requirement where I have to give the list of users who can access a specific computer. I am new with PS. Do you have a script to list users that can access a computer object of AD ?

    I have a requirement where I have to give the list of users who can access a specific computer define in AD.
    I am new with PS.
    Do you have a script to list users that can access a computer object of AD ?
    I have executed the following script  but it does not give me the access rights of who can access the computer 'computername'
    How can i have this information. please help
    Import-Module activedirectory
    $computer=get-adcomputer "computername" -properties ntSecurityDescriptor
    $omputer.ntsecurityDescriptor.Access | select-object -expandproperty IdentityReference | sort-object -unique

    I would say that, since the OP has so little info, there are no policies in use.  It there were then this question would never be asked the way it is being asked.
    I had a client call with a letter from their insurance company; an accountant with malpractice insurance.  THey asked the same question inmuch the same way.  "What computer can you users access?"  The question should be more like
    "Do you have a policy that restricts access to computers and do you audit for compliance?"
    I have had other clients whose insurance asked the question in that way.  It produces a better view of what should be happening and how to show compliance.
    I recommend that companies being asked these questions by their legal departments or insurance companies should contract with a god computer security consultant to assist with answering these very tricky questions.  Of course if it is just you boss's
    curiosity  then you may need to discuss his requirements with him in more depth.
    ¯\_(ツ)_/¯

  • How to create a user that can login the LDAP?

    I want to create a user that can login the OID/LDAP. I know how to create a user, it is allowed to login OIDDAS, but I also want the user to grant access to ldap directly. How do i do that?
    And how can I give it read rights and or update/delete rights on a specific tree?
    Regards
    Eelco

    Eelco,
    did you see the OiD developers guide? Here you find some examples how to create users in OiD using pl/sql or java.
    http://download-west.oracle.com/docs/cd/A97329_03/manage.902/a95193/smplcode.htm#637294
    how to use directory access control can be found in
    http://download-west.oracle.com/docs/cd/A97329_03/manage.902/a95192/access.htm#1054232
    --Olaf

  • Anybody, here has a "2007-2008 model" - iMac C2D with an ATI Radeon HD 2600, who can RUN FCP X?

    Anybody here has a "2007-2008 model" - iMac C2D with an ATI Radeon HD 2600, who can RUN FCP X?
    Thanks!
    --STRALLENT

    http://discussions.info.apple.com/thread.jspa?messageID=12248238&#12248238
    http://discussions.apple.com/thread.jspa?threadID=2649035&tstart=0

  • The installer you have invoked can run only in solaris_sparc platform.

    Hello,
    I receive the following error when i try and install Solaris Cluster:
    -bash-3.00# uname -a
    SunOS Sun-280R-10 5.10 Generic_137111-05 sun4u sparc SUNW,Sun-Fire-280R
    -bash-3.00# cd /cdrom/solaris_cluster/solaris_sparc/
    -bash-3.00# ./installer
    The installer you have invoked can run only in solaris_sparc platform. Please invoke the installer for Solaris_sparc platform.
    Any idea's on what may be causing this?

    Only one observation, you cite
    -bash-3.00# cd /cdrom/solaris_cluster/solaris_sparc/Note the capitalization of the "solaris_sparc" directory. Is that an offical media kit, or did you burn the CD/DVD yourself?
    I belief the directory should be called "Solaris_sparc" (note the capital S).
    Greets
    Thorsten

  • How to restrict users who can use a submit button.

    I have a submit button which I would like to limit the names of the users who can use it. Is there any way I can limit who can use it.
    Thanks

    Hi
    Use SUIM and find the users have this authorization.
    Here the first tab user--list of users with critical authorization select that and u can find the users list.
    Regards
    Bhaskar
    Edited by: bhaskar1818 on Jul 22, 2008 2:32 PM

  • My $20 to the person who can write this simple script for Fission

    Here is what I need to automate. I don't care if it's an Apple Script, or an Automator work flow - whatever - just so it will work with my present setup. Once I test it and it works, I'll send $20 to the first person who can help me.
    Script needs to apply to each (and every) MP3 file in a selected folder:
    Open the first file with Fission v1.6.6 (from: www.rogueamoeba.com)
    Select all
    Normalize
    Save audio (in same folder)
    A warning dialog pops up: "File already exists..." -- answer with "Replace"
    Close file
    Repeat for next file in the folder, until every file has been Normalized
    End script when the last file in folder has been Normalized
    I don't mind finding the folder (which will be in my iTunes Library), and then starting the set of actions on the folder but I definitely don't want to be required to take any additional action on each and every file.
    I'm presently running Fission v1.6.6 under MacOS 10.4.11 on a PPC desktop, so it needs to work in that environment.
    Note that the latest version of Fission requires MacOS 10.5 - I can't use any script that requires that version. Rogue Amoeba's Legacy software page (http://www.rogueamoeba.com/legacy/) shows Fission v1.6.8 as working with 10.4, but that contradicts the Version History for Fission which shows 1.6.6 as the last one for 10.4 - still investigating.

    Pierre L.
    Thanks for the effort!
    First, I can clarify this: Rogue Amoeba confirms that I can use the version 1.6.8 of Fission located on their Legacy page with my OS version 10.4.11, so I've upgraded from 1.6.6 to 1.6.8. Seems to be working OK.
    Next, let me apologize for being mostly ignorant about all things AppleScript. I'm really in over my head, here, because I've not used the ScriptEditor for more than a few minutes before today.
    What I've done so far:
    I checked the box in the Universal Access preferences pane to enable access for assistive devices.
    I copied your script from this forum and pasted it into Script Editor.
    I've Compiled your script, then "Saved As" an "Application" on my Desktop.
    When I double click the icon for the saved script (which ends in xyz.app), a navigation window appears, which I used to select a test folder on my desktop.
    When I Choose the test folder, Fission launched, and selected the whole file, as expected. Then I get an error:
    "NSReceiverEvaluationScriptError: 4" - with buttons to "Edit" or "OK"
    Thinking it might be a timing error, I edited the delays:
    set theFolder to choose folder
    tell application "Fission" to activate
    tell application "Finder"
    set theApp to POSIX path of (get file of process "Fission")
    set theFiles to document files of theFolder
    repeat with thisFile in theFiles
    open thisFile using POSIX file theApp
    tell application "System Events" to tell process "Fission"
    delay 18 -- adjust if necessary
    keystroke "a" using command down -- Select All
    delay 2 -- adjust if necessary
    click menu item "Normalize Selection" of menu 1 of menu bar item 7 of menu bar 1
    delay 4 -- adjust if necessary
    keystroke "s" using {shift down, command down} -- Save Audio…
    delay 3 -- adjust if necessary
    keystroke return -- Save
    delay 2 -- adjust if necessary
    click button "Replace" of sheet 1 of window "Save Audio"
    end tell
    end repeat
    end tell
    tell application "Fission" to quit -- optional
    ... Compiled, and Saved again.
    Now, the script runs up to the point where it should answer the Save pop-up window: "File already exists..." with the keystroke to "Replace" - but the script stops there, with the same error: "NSReceiverEvaluationScriptError: 4"
    Bottom line: so far, I've been able to get the first mp3 file in my test folder Normalized, but not Saved. Any suggestions?

  • Create a user that can only access to one schema - please help!!

    Hi all,
    I want to create one user in a Oracle DB that can only access to one schema. I did the following:
    CREATE USER "TEST" PROFILE "DEFAULT"
    IDENTIFIED BY "test" DEFAULT TABLESPACE "USERS"
    TEMPORARY TABLESPACE "TEMP"
    ACCOUNT UNLOCK;
    GRANT SELECT ON "TESTDTA"."F0007" TO "TEST"
    GRANT "CONNECT" TO "TEST";
    I have done a test and the user TEST can access all schemas, when I only gave explicit permissions to the schema TESTDTA.
    Any suggestion/clarification???
    Many thanks in advance.
    Víctor.

    Hello Andreas and Pavan,
    I have launched the query:
    select * from dba_tab_privs
    where grantee = 'PUBLIC'
    and owner = 'PRODDTA'
    and table_name= 'F0009';
    And the result:
    GRANTEE OWNER TABLE_NAME GRANTOR PRIVILEGE GRA HIE
    PUBLIC PRODDTA F0009 PRODDTA ALTER NO NO
    PUBLIC PRODDTA F0009 PRODDTA DELETE NO NO
    PUBLIC PRODDTA F0009 PRODDTA INDEX NO NO
    PUBLIC PRODDTA F0009 PRODDTA INSERT NO NO
    PUBLIC PRODDTA F0009 PRODDTA SELECT NO NO
    PUBLIC PRODDTA F0009 PRODDTA UPDATE NO NO
    PUBLIC PRODDTA F0009 PRODDTA REFERENCES NO NO
    PUBLIC PRODDTA F0009 PRODDTA ON COMMIT REFRESH NO NO
    PUBLIC PRODDTA F0009 PRODDTA QUERY REWRITE NO NO
    PUBLIC PRODDTA F0009 PRODDTA DEBUG NO NO
    PUBLIC PRODDTA F0009 PRODDTA FLASHBACK NO NO
    11 rows selected.
    Then I supose that I have to change the value on column GARANTEE. How can I do that?
    Thanks a lot for your help!!
    Víctor.

  • How to create mail user who only send or receive email to local user

    I setup iplanet message server 5.2 SP1 for window 2000. It work right. But I don't know how to setup a mail user which can only send/receive email to/from local email user(user from the same message server). Thanks.

    The easiest way I can think of, would be to isolate these users to a different mail server.
    Once you isolate them, you can isolate that server so that it cannot connect to the external world, but only to your other servers, so local mail would be allowed, but not external mails.
    I can't think of any way to achieve what you're asking for in the same server that allow some users full access.

Maybe you are looking for