Give SQL*PLUS "password" privilege (to change other's password) to a security role

Hi,
If you have DBA privileges on a database, you can also use "password" from SQL*Plus to change another user's password. (When changing another users password, you are not prompted for the users old password.) I would like to grant this function only to a security role rather than to the DBA role.
Please let me know how to set it up.
Thanks,
Seizen

Hi,
If you have DBA privileges on a database, you can also use "password" from SQL*Plus to change another user's password. (When changing another users password, you are not prompted for the users old password.) I would like to grant this function only to a security role rather than to the DBA role.
Please let me know how to set it up.
Thanks,
Seizen

Similar Messages

  • SQL plus asks me for an username and password... what to do???

    Please excuse my ridiculous question,
    But I still can4t use mySQL. After installing Oracle 8i and setting all environment path variables, I tried to use SQL plus. But it asked me for an username, password and hostname.
    I4ve Win2000 on a stand-alone PC. How can I tell SQL plus the needed parameters???
    please help me, because I need mySQL for my examen!!!
    mail to: [email protected]

    I don4t exactly know what you mean, but if you installed the Oracle Server on your Windows 2000 box you can log in to Oracle using useracount SYSTEM with password MANAGER or SYS and CHANGE_ON_INSTALL.
    This has nothing to do with mySQL though

  • How do i get sql plus to start in something other than command prompt?

    I have just installed oracle 11g enterprise addition. I am use to a different type of editor for the sql plus, the one I am use to comes up in a white area and has drop downs for file, tools, spool, help and so on. You can also open notepad with a shortcut. I like this better than command prompt how do i get this?

    I think you mean sqlplusw.exe which is a Windows executable delivered until Oracle 10.2 but no more delivered with Oracle 11g.
    Mayb you can have a look to SQL Developer http://www.oracle.com/technology/software/products/sql/index.html

  • Does the computer lock me after a certain amount of failed password attmepts, even when i finally have the correct password? recently changed root account password, but then forgot today and when tried again didn't work.  if so, how long does lock last?

    Ok. So I just changed my ADMINISTRATIVE ROOT PASSWORD the other day and when I tried to log in today I forgot it.  I tried different variations of
    the password I had set, because I wasn't sure if i had maybe set it in Caps Lock or used a different number in the sequence.  I got the message several times
    about "too many attempts, try again later".  Does the computer lock me from signing in even with the correct password after a certain amount of failed
    attempts?  If so, how long does this lock last for?  When can I try again?  Or is there something I need to do to remove that lock now?  I'm pretty sure I
    had the right password finally but it still wouldn't accept it. 
    Also, I don't have any other administrative users set up on my macbook pro.  I'm the only one who uses it, so I've always just used that original User from my
    original setup.

    giselafromclongriffin wrote:
    Ok. So I just changed my ADMINISTRATIVE ROOT PASSWORD the other day and when I tried to log in today I forgot it.  I tried different variations of
    the password I had set, because I wasn't sure if i had maybe set it in Caps Lock or used a different number in the sequence.  I got the message several times
    about "too many attempts, try again later".  Does the computer lock me from signing in even with the correct password after a certain amount of failed
    attempts?  If so, how long does this lock last for?  When can I try again?  Or is there something I need to do to remove that lock now?  I'm pretty sure I
    had the right password finally but it still wouldn't accept it. 
    Also, I don't have any other administrative users set up on my macbook pro.  I'm the only one who uses it, so I've always just used that original User from my
    original setup.
    Do this:
    1. Reboot
    2. Hold apple key + s key down after you hear the chime. (command + s on newer Macs)
    3. When you get text prompt enter in these terminal commands to create a brand new admin account (hitting return after each line):
    (Type these commands very carefully)
    mount -uw /
    rm /var/db/.AppleSetupDone
    shutdown -h now
    4. After rebooting you should have a brand new admin account. When you login as the new admin you can change the passord on the old one.

  • SQL Plus password

    hi all
    I just installed the Oracle CD ver 10.1.0.2 i want to start using the SQL Plus but i dont know which username, password and host string to be used. please can any one guide me??

    It is evident you lack even the more basic sql command knowledge, so I suggest you two things here, first read the above suggested: SQL*Plus® User's Guide and Reference
    Release 10.2
    Part Number B14357-01 manual
    next, in order for you to get involved with the minimum dba tasks you are required to have to manage your newly created environment, read the Oracle® Database 2 Day DBA
    10g Release 2 (10.2)
    Part Number B14196-02 manual,
    For further references, you may go to the Oracle 10.2.0 documentation section, where you several introductory manuals at the Getting Started section.
    ~ Madrid

  • Change default settings and commands in sql plus

    everytime i execute sql plus I have to change environment commands maually
    (like linesize , wrap ...etc )
    is there is a way to load those defaults not to reexecute them every time I access sql plus
    Anyone have answer ????????

    glogin.sql (%ORACLE_HOME%/sqlplus/admin/glogin.sql) is executed whenever any user starts SQL*Plus on the machine. login.sql (on Windows, defaulted to %ORACLE_HOME%/bin but can be changed by setting the SQLPATH environment variable) is executed for a particular user.
    You change the default linesize, or execute any other SQL*Plus commands, in either of these files.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Unable to Login to Idle Instance from SQL*Plus in windows

    Hello,
    I'm cloning the db from windows to windows enviornment. At auxilary instance after configuring the Listener and making Password file to right folder when I try to connect to Idle Instance through sql*plus by follwring connad
    c:\sqlplus sys/password as sysdba
    It gives me ORA-12518 Tns: Listener could not hand off client conenction error
    Then I put the follwing parameter in listener.ora DIRECT_HANDOFF_TTC_LISTENER=OFF and restart listener and then try to connect it gives me Ora-12560: TNS protocol adapter error.
    I try to connect through tnsnames but give me same error.
    Kindly tell me how to resolve this issue as its not allowing me to connect to an idle instance so that I can go further.
    I'm using 10gR2 on windows server 2003.
    Regards,
    Abbasi

    follow the steps to clone database:
    # 1. Backup the source database.
    To use RMAN duplicate an RMAN backup of the source database is required. If there is already one available, skip to step 2. If not, here is a quick example of how to produce an RMAN backup. This example assumes that there is no recovery catalog available:
    rman target sys@<source database> nocatalog
    RMAN>backup database plus archivelog ;
    RMAN> backup archivelog all;
    This will backup the database and archive logs.
    # 2. Produce a pfile for the new database
    This step assumes that the source database is using a spfile. If that is not the case, simply make a copy the existing pfile.
    Connect to the source database as sysdba and run the following:
    create pfile='init<new database sid>.ora' from spfile;
    This will create a new pfile in the $ORACLE_HOME/database directory.
    The new pfile will need to be edited immediately. If the cloned database is to have a different name to the source, this will need to be changed, as will any paths. Review the contents of the file and make alterations as necessary.
    Because in this example the cloned database will reside on the same machine as the source, Oracle must be told how convert the filenames during the RMAN duplicate operation. This is achieved by adding the following lines to the newly created pfile:
    db_file_name_convert=(<source_db_path>,<target_db_path>)
    log_file_name_convert=(<source_db_path>,<target_db_path>)
    # 3. Create bdump, udump & cdump directories
    Create bdump, udump & cdump directories as specified in the pfile
    # 4. Create a service
    c:/>oradim –new –sid <clonedatabasename> –intpwd <pwd>
    eg:
    c:>oradim –new –sid clonedb –intpwd oracle
    # 6. Duplicate the database
    From sqlplus, start the instance up in nomount mode:
    startup nomount
    Exit sqlplus, start RMAN and duplicate the database. As in step 1, it is assumed that no recovery catalog is available. If one is available, simply amend the RMAN command to include it.
    rman target sys@<source_database> nocatalog auxiliary /
    duplicate target database to <clone database name>;
    thats it
    For RMAN Cloning refer:
    follow the documentation replace the destinations/locations with your location/folder/destination in source and target database.
    http://www.dba-oracle.com/t_copy_clone_windows_database.htm
    http://www.shutdownabort.com/quickguides/clone_rman.php
    http://www.akadia.com/services/ora_duplicate_database_rman.html
    for manual cloning in windows refer the link below:
    http://coskan.wordpress.com/2007/04/20/adding-new-database-to-windows-without-dbca-or-rman-clone-or-rman-restore/

  • Need help in sql plus

    i install in my computer the oracle9i
    my problem is that : i can login to sql plus
    althoge i was tring all the passwords that i know
    scott/tiger
    sys/change_on_install
    system/manager and the result is allways the same
    ora-12560 error
    how can i solve that problem?
    did i missed somthing during the installation?

    Thank you to EVERYONE!!
    I have been searching every possible forum to find out how to install/run SQL *Plus on a home computer without a server/network to work within.  As most just learning, I could not figure out how to get past the SQL Plus Username/Password/Host String logon.
    After much trial and error, I got through and I hope this helps a lot of people just starting out.
    I used 'SYSTEM' as my username and my password created on install.
    When installing I created a database and fixed the password so my default password was the password I created on install.
    As long as I had those two fields filled in, I could leave the Host String blank and I could still get into the SQL Plus workspace.
    Since I also created a database on install, I found that I could also use the name I gave the installed database (I didn't leave the default database name so I do not remember what the default name was, but I think the default password was 'manager' for those who were not tempted to change it).
    Worst case scenario if you forgot your database name given during install, you can do a search for all of your .ora files (usually in the drive you installed Oracle on). Open the tnsnames.ora file in Notepad and you can see which database names are available on your system. The path to my file was:
    D:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
    You want the SERVICE_NAME = 'databasename'
    I hope this reduced someone's stress...and thanks for all the helpful hints on these threads...they led me to the final outcome!!
    In the end, I tried a lot of other combinations for the username/host strings with plenty of errors. You would think this information would be on page one of every Oracle install!! Or maybe it is and I am just a bit slow. : )
    Thanks again to all that posted with this initial question (years ago)...
    Brian Reeves
    Oracle Student

  • Uninstall/Remove Sql plus

    Hai,
    I have an server in which Oracle 9i Standard Edition has been installed. If i dont want to give access to sqlplus from that server, whether deletion of sqlplus.exe alone will be sufficient or any thing else needs to be done.
    Regards
    Sridhar

    user7277731 wrote:
    Hai,
    I have an server in which Oracle 9i Standard Edition has been installed. If i dont want to give access to sqlplus from that server, whether deletion of sqlplus.exe alone will be sufficient or any thing else needs to be done.
    There is no need to delete the files .. If you delete that , even you cannot login to server as sysdba through sql plus.
    You can change permission of sqlplus.exe , so that other users are not able to execute this.
    Regards
    Rajesh

  • Automatic start of sql*plus

    Hi,
    whenever i click the icon sql*plus i get a screnn saying "username", "password", "hoststring".
    I heard that, just by clicking the icon the command screen opens asking for just the password.
    how do i do it that way ???
    cheers,
    AJ

    Hi AJ,
    One way to do that is to create a shortcut for sqlplus.exe and edit the target.
    Let's say target is now
    C:\oracle\product\10.2.0\client_1\BIN.sqlplus.exe
    Then change to it to
    C:\oracle\product\10.2.0\client_1\BIN.sqlplus.exe < username>[<password>][@<connect_identifier>]
    Where you put in your own values for username connect_identifier (and maybe password)
    Regards
    Peter

  • Connecting java to sql plus editor

    I want to open oracle sql plus editor by giving user name and password from a java program and send queries from java program to the sql plus editor to execute.

    I have the same sort of requirements, but I don't think that SQLPlus can be used that way. The requirements stem from having scripts written by Oracle developers that SQLPlus can parse, but are hard to parse into JDBC-executable statements with Java.
    In my case I have several Oracle database developers who produce SQL scripts to e.g. create and change PL/SQL, change tables, add and remove data, etc. Generally all kinds of DDL and DML. They write one master script to execute the rest of the scripts for a particular change, using SQLPlus' @[filepath] notation.
    I am somehow supposed to be responsible for releasing this stuff, which would normally mean executing each master script through SQLPlus.
    I am trying to figure out a way to do this automatically.
    SQLPlus would be good for this as it is written to parse the scripts that Oracle developers are used to writing.
    The problem is that running SQLPlus from the command line only lets you run one (master) script, and doesn't let you set up named variables. So you can't run scripts generically; you have to know which variables turn up in which scripts, which makes it impossible to run in more than one environment/schema.
    If I do things in JDBC, I have to either get the Oracle developers to write their scripts as Java strings - which would lead to a lot of errors - or try to parse the scripts in the same way that SQLPlus does - which would lead to a lot of errors.
    I will look at getting the developers to delimit each statement with e.g. '----------------------' which I can use to break the scripts up into separately executable statements. I doubt this will make them happy.
    I may also have to look at doing token replacement to set variables.

  • Logging in to SQL*Plus

    I've just installed Oracle 9i to Windows 2000 server. When I use SQL*Plus, it asked for a username and password. But when I installed Oracle 9i, it never asked me to create user. Then I tried logging in using windows 2000 username and it still did not worked. Is there any default username (like 'root' maybe). Thanks.

    There was a dialog displayed during installation that gave you the default logins. They are:
    scott/tiger
    system/manager
    sys/change_on_install
    Your Windows login has nothing to do with your Oracle9i login, with the exception of the ORA_DBA group, but that's a whole other discussion that I won't go into here.
    I suggest you get reading some Oracle documetation at http://tahiti.oracle.com.
    Alison

  • Oracle 9i Lite/Sql Plus Installation Instructions?

    I am having the same problem with install Oracle 9i Lite. Really I need to get SQL PLUS up and running. I am installing it in Windows 98 and would like to use it on a stand alone pc/home pc.
    I ended up just installing sql plus without net8 and other mobile server components because I don't know what the port name and hostname is. I am just trying to get sql plus to work.
    After just installing sql plus, I get the same login username/password/host string. I think you can log in as SYSDBA or SYSOPER but what is the password and host string. I am not running sql plus from a server/internet I would like it to be stand alone. I know the host string has something to do with what type connection is being used but I don't have any (other than aol dial up connection) so I would just like to run sql on a stand alone pc!!! HELP!!
    Dionne

    Did your SQL*Plus install include create a database to connect to? I think a quick thing to check would be:
    Do you have a valid tnsnames.ora in $ORACLE_HOME\network\admin
    (address = is on one line)
    ie:
    orcl =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = orcl.localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = orcl.localhost)
    Where orcl is the name of the database you want to connect
    to and local host is your machine. (Check Network configuration). If you are on a network you will replace with orcl.mynet.com
    I think for a standalone SQL install they might expect you are on a NetWork and have a database to connect to. Maybe
    you should download the whole install for standalone use...
    9i and 8.1.7 are available for download. (8.1.7 is a little smaller and doesn't require as much memory depending on your home system)
    I'm not even sure what you are trying to do. Please post more details if this doesn't help.

  • How to use log in to Oracle 8i personal edition SQL Plus?

    Hi, this is my first time using Oracle 8i personal edition. But after installation, I was told to enter
    User Name, password and host string in order to use SQL Plus
    But I have no idea what to enter for the above three
    By the way, I was prompted with the following message after installation,
    Global Database Name: Oracle
    SID : Oracle
    Password : ******
    database name : People
    system identifier : People
    system account : manager

    hi to connect to SQL plus write the following:
    user name: scott
    password : tiger
    host string : leave it empty if it requires again then write orcl
    bye

  • SQL*Plus Not responding when calling edit command

    When I write a Query in SQL Plus 9.2.0.1.0, Installed in Windows XP SP2, and running EDIT command, notepad opens and then SQL Plus and Notepad both hangs. By killing notepad.exe process I can continue working in SQL Plus.
    I tried changing the default editor to ultra edit, wordpad, etc. But It seems to be a SQL Plus error, with all editors I set up, Editor Hangs.
    The same things happende me installing the Oracle 9i client in another machine.
    Need help with this, thanks!!

    Sounds strange - and does not sound like a SQL*Plus problem. SQL*Plus uses the CreateProcess() Win32 API call to create the editor process. Then it waits for this process' process handle to cease to exist before it continues. SQL*Plus does not "hang" - it simply waits for the spawned process to terminate before it continues.
    It is not possible for one process to "hang" another process it created via the CreateProcess() call. It will need to interact with that spawned process in other ways to make it hang. Caveat: unless the spawned process does not "like" the parameters passed to it via the CreateProcess() call...
    The only parameter passed is the filename (usually afiedt.buf) by SQL*Plus - and that should not cause the editor to hang.
    Unless there is a specific Oracle bug you're running in, this problem sounds more like a Windows issue. After using the ED command in SQL*Plus, can you manually view and edit the afiedt.buf file it created?

Maybe you are looking for

  • How can i create a substitution in OBBH?

    Hi. I want to use a exit with " exits-param = C_EXIT_PARAM_CLASS." in T-code "OBBH' to change the test of doc item. I create the form and append this form into exits. But now I find  i can't create a step in "complete document". Message: You may not

  • Not Supported Mode

    I have a 42" Samsung Digital Plasma HDTV. From time to time while watching Verizon FIOS TV my TV will switch from a picture to a message on the screen that states "NOT SUPPORT MODE" or I will turn the TV on and it gives me the same message.  I have c

  • Problem in Validation of ICP dimension

    Hi, We have a problem in validating ICP members in FDQM. We have few accounts for which ICP value needs to be present. In our existing mapping in FDQM,we have an explicit map,which maps source flex to ICP account.We have a default map which maps flex

  • Flash Player IGNORES Settings?

    I've set the global security settings on the Adobe site (always allow external website links to open). The setting appears to "stick" (i.e., it keeps the Always Allow value), but each time I attempt to open an external link the same error message is

  • Can't get my wireless to work.. PLEASE HELP!!!

     I thought I was computer savvy and told a friend at work that has an issue with her internet that I could fix it. I am having more trouble than I thought. She told me it was a Windows 7 and it is a Dell Windows XP Professional service pack 3. I am n