Special character when changing password in sql plus

Hi i'm having a problem with setting password for user's in sql plus. I get a ORA-00922 whenever I try to change a user's password to contain ! in it. See below. Do I have to escape special characters or something or this a bug?
(Previously I've always used Enterprise Manager for this and can set ! characters for password without issue but we're currently having an issue with it and I need to alter passwords in sql plus while I'm waiting for it to be fixed )
SQL> alter user lbtest identified by oraclesux!;
alter user lbtest identified by oraclesux!
ERROR at line 1:
ORA-00922: missing or invalid option
SQL> alter user lbtest identified by oraclesux;
User altered.
System and O/S details below:
O/S = MS Server 2008 Standard Service Pack 1 64 bit
Oracle 11g Standard Edition (11.1.0.7.0)
SQL> select * from nls_database_parameters;
PARAMETER VALUE
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CHARACTERSET WE8MSWIN1252
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
PARAMETER VALUE
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_RDBMS_VERSION 11.1.0.7.0
20 rows selected.

Found the answer here, must user double quote for exclamation marks but not other characters like #.
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:897930000346894755

Similar Messages

  • Is spacebar considered to be a special character when creating a password?

    Hi !
    I would like to know if spacebar is a special character when it comes to creating a password.

    I have complexity enabled but my system will no longer accept a PW using spaces as special characters. Did something change recently? It worked a little more than a month ago for my account.
    A test example PW I've tried is   
    My name is Bill
    If I add a number or punctuation to this phrase it works. It should have exceeded all my requirements as originally entered though.

  • Can I use username = system when I log into SQL plus?

    I am new to Oracle and SQL plus and I have some questions to ask?
    I managed to get SQLPlus working using  sqlplus system/password
    When I installed Oracle I created a database called ORCL and set a  password.  My question is when I am using SQL Plus is it OK
    to use username= system.  The problem is that I created 3 tables in this database but when I list the tables I get about 181 tables returned.
    It seems that I have  logged into the master database.
    In fact I just used the password I set when I  installed Oracle (not the @asi past)
    from:
    http://docs.oracle.com/cd/E13212_01/wles/docs42/installadmin/database.html
    Configuring an Oracle Policy Database
    To configure an Oracle policy database, you must create the policy database, create a security role and a user, and grant the security role and user access.
    To configure a policy database, perform the following steps:
    Open a command window, run the Oracle SQLPlus utility, and login as user SYSTEM with the password you set for that user account when you installed the Oracle database software.
    sqlplus system/password@asi
    where: password is the password you set for the system account when you installed the database software and asi is the database instance name.
    The name of the database I set up when I installed Oracle was ORCL.
    I can set up a data source using WebLogic Server Administration Console using  the following data:
    Database name:             ORCL
    Host name:                      localhost
    Port:                                 1521
    Database USer Name:   System
    Password:                        the password I set when I installed Oracle
    This is different form the book I am using where the writer used the database name XE as in the following:
    Database name:             XE
    Host name:                      localhost
    Port:                                 1521
    Database USer Name:   OE
    Password:                        .......
    Confirm Password:        .......
    Anyways I managed to create some tables  using SQL script.  I assume these are in the ORCL database. 
    SELECT TABLE_NAME FROM USER_TABLES  will list all the tables in the database.
    Apparently there are a lot more tables in this database (181 tables) than I thought.  I have only created  3 tables.
    Article
    Section
    Edition
    Is this how it should be?
    Also I am trying to create another table Catalog  but SQLPlus is not allowing me to do this!
    ERROR at line 1:
    ORA-00955: name is already used by an existing object
    Next I create an EJB project using Eclipse (Oracle Enterprise Pack for Eclipse).   Then
    I add a JPA (Java Persistence API) project facet.  In this I  specify the following:
    SID:                         ORCL
    Host:                       localhost
    Port Number:       1521
    User name:            System
    Password:               The password I set when I installed Oracle.
    Here there is a GUI called Select tables which gives a list of tables I assume the same list of table
    I had listed in DOS however there appears to be more tables here. 
    Anyways,  I am just wondering am I on the correct path and would this Database I am using be the
    ORCL database.  Would all these tables be tables that are in the ORCL database?
    Thank you in advance for your help.
    Brian.

    Hi Shannon,
    Thanks for visiting Apple Support Communities.
    You can sign in to another iTunes Store account on your Nan's iPad by following the steps in this article:
    iOS: Changing the signed-in iTunes Store Apple ID account
    http://support.apple.com/kb/ht1311
    Best,
    Jeremy

  • What are the defaul username and password for SQL Plus ?

    hello, what are the defaul username and password for SQL Plus ? i'm using the client 11.2.0.1

    You'll need to download the full database installation files for the platform you are using. They are two .zip files, about 2.2 gig total.
    I'm not going to give you the link because you should be able to find it easily. You have to read and accept the license agreement anyway.
    When you install it, you'll be given several options about the type of database you want.
    But before you install anything, you should read the installation manual for your platform.

  • Change Prompt in Sql Plus

    Hi
    How can I to change Prompt in Sql Plus for to show Enviroment and user ?

    this wont work for a pre 10 client.
    there you can set the prompt manaualy and this is not dynamic.
    make a login.sql
    and place the following in the file.
    column sqlprompt_col new_value sqlprompt_value
    set termout off
    define sqlprompt_value='NOT CONNECTED'
    select sys_context('userenv','SESSION_USER')||case when sys_context('userenv','ISDBA') = 'TRUE' then ' as sysdba ' end ||'@'||sys_context('userenv','DB_NAME')||sys_context('userenv','INSTANCE') ||'('|| case when instr(sys_context('userenv','HOST'),'.')>1 then substr(sys_context('userenv','HOST'),1,instr(sys_context('userenv','HOST'),'.')-1) else sys_context('userenv','HOST') end ||')' as sqlprompt_col from dual;
    set termout on
    set sqlprompt '&sqlprompt_value SQL> '
    after connecting sqlplus will look for a login.sql file in you present working directory or in its $ORACLE_HOME\sqlplus\admin directory.
    if you reconnect is needs to be run again because it is not dynamic.
    there is no workaround for pre 10g clients

  • What is my login and password for SQL PLUS

    I've downloaded and installed a custom version of Oracle 9i Database Release 2, when I open up SQL PLUS, I don't know whats my username and password, if I use the username and password I use to download other software from this website, it's giving me an "Operation Times out Error", kindly help me out with my username and password.
    Thanks
    Cliff

    Hi,
    I've downloaded and installed a custom version of Oracle 9i Database Release 2, when I open up SQL PLUS, I don't know whats my username and password, if I use the username and password I use to download other software from this website, it's giving me an "Operation Times out Error", kindly help me out with my username and password.
    The default password for SYS is CHANGE_ ON_INSTALL, whereas the default password for SYSTEM is MANAGER.
    - Pavan Kumar N

  • Unable to login when change password option is enabled

    Hi,
      I have configured remote vpn on my Cisco ASA and users connecting to this will use Cisco VPN dialer and gets authenticated with the Windows 2008 domain controller credentials. Now the problem I face is, when i set the option for user-A as "user must change the password during next login" it doesn't accept , it accepts only when I uncheck only then the user-A will be able to login.
    Any ideas what option or configuration do I to do so that it can popoup for changing the password?
    FYI I use windows 7 profession edition with Cisco VPN dialer client ver. 5.0.04.0300. I am unable to find "windows logon properties" under the "options" menu.

    Hi,
      I managed to get the password change option pop-up when "Change password during next login" set for for the user-A in windows 2008 Active Directory. But now the issue is, I enter the old password, it accepts & then its pops up to enter me the new password twice, when I enter the new password with some special charecters it stills pops me up to enter the new password with special charecters. After 2-3 attempts it disconnects. It will allow me to connect only when I un-check the "change password during next login"
    Any ideas?

  • Changing font in SQL*PLUS

    I need to change Font of SQL*PLUS 3.3 to courier new and font size 8..
    do you have any idea how can I achive this.. I tried changing registry also but it doesnot work.
    I am using Windows 95 machine. My database is Oracle 8i.
    Please help me if you know the answer.

    It changes only at time of editing query .. Actually I wanted to change font of SQLPLUS i.e default font of SQL*PLUS screen should change.

  • Orclpassword attributes lost when changing password

    Hi
    When using Apache Directory Studio to change the user password, many of the orclpassword attributes are lost?

    When userpassword is provided in plain text the orclPassword should get updated.
    If userpassword is hashed when modified, the update of orclPassword will fail.
    Apache Directory Studio will use hash method SHA by default when changing password.
    Make sure hash method plainText is selected.
    orclPassword is an EUS/database password identifier for custom authentication schemes like O3Logon for the database server. orclPassword cannot be changed directly, but is indirectly updated by the OID engine itself when userpassword is updated.

  • How can i add smiley or special character when creating new contacts?

    how can i add smileys or special character when creating a contact on my contacts? help please...

    I think you need to download an app for that - do a search in the app store.

  • Username and password in SQL Plus

    What happend to the Username/Password Scott/Tiger. I have installed Oracle9i, then i ran SQL-Plus, typed Scott in username and Tiger in Password. I only got ORA-12560 error. I also tried System/Manager, but got the same error. Can anyone help?
    Best Regards:
    Oskar Sundgot Overe

    The error description is:
    =================================
    TNS-12560 TNS:protocol adapter error
    Cause: A generic protocol adapter error occurred.
    Action: Check addresses used for proper protocol specification. Before
    reporting this error, look at the error stack and check for lower level transport
    errors.For further details, turn on tracing and re-execute the operation. Turn off
    tracing when the operation is complete.
    ===================================
    Did you start your Oracle service before trying to connect?
    Are you able to run your listener successfully?
    did you setup a TNSNAMES entry for your database?
    did you try connecting to the database by using scott/tiger@<tnsnames entry>

  • Changing password within SQL Developer

    Hi, Thanks for the great product. I'm beginning to migrate from TOAD to SQL Developer and have run into one minor snafu. The one minor feature missing within SQL Developer (unless I missed it) is to easily change a password like TOAD in the UI (This is a common complaint among other devlopers trying it out). I work on a lot of seperate databases occasionally and have to reset the passwords every 60 days.
    I would like to request this minor feature.
    How can I change my password without using SQL Plus, but within SQL Developer? Is there a way?
    Thank you!

    Sounds like a good enhancement and I will record it. In the meanwhile, just open a SQL Worksheet and issue your command.
    -- Sharon

  • Refcursor not returning rows when called from non SQL*Plus IDE or other

    Hi all,
    I have a very weird problem.
    We have recently performed a minor upgrade to our oracle database and are now using:
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production
    CORE    10.2.0.5.0      Production
    TNS for Linux: Version 10.2.0.5.0 - Production
    NLSRTL Version 10.2.0.5.0 - Production
    5 rows selected.We have a crystal report selecting data from a refcursor returned by a stored procedure.
    The stored procedure updates data when called as well as returning the refcursor in question.
    Observe the following test scenario executed in SQL*Plus:
    SQL> create table testtab (teststr varchar2(100));
    Table created.
    Elapsed: 00:00:00.00
    SQL> insert into testtab values ('X');
    1 row created.
    Elapsed: 00:00:00.00
    SQL> create or replace procedure testtabproc (p_listcur in out sys_refcursor)
      2  as
      3  begin
      4 
      5     open p_listcur for
      6        select *
      7          from testtab
      8         where teststr = 'X';
      9 
    10 
    11     update testtab
    12        set teststr = 'Y';
    13 
    14        commit;
    15 
    16  end;
    17  /
    Procedure created.
    Elapsed: 00:00:00.00
    SQL> declare
      2 
      3  v_list_cur sys_refcursor;
      4 
      5  type t_out_rec is record (teststr varchar2(100) );
      6 
      7 
      8 
      9  v_out_rec t_out_rec;
    10 
    11  v_rec_count   number := 0;
    12  v_count_limit number := 10000;
    13 
    14  begin
    15 
    16  dbms_output.put_line('about to call proc');
    17
    18  testtabproc(v_list_cur);
    19 
    20  dbms_output.put_line('about to fetch records');
    21 
    22  fetch v_list_cur into v_out_rec;
    23  while v_list_cur%found loop
    24     v_rec_count := v_rec_count + 1;
    25     if v_rec_count <= v_count_limit then
    26       dbms_output.put_line(v_out_rec.teststr);
    27     end if;
    28  fetch v_list_cur into v_out_rec;
    29  end loop;
    30  dbms_output.put_line('complete. selected '||v_rec_count||' records.');
    31 
    32 
    33  end;
    34  /
    about to call proc                                                                                                                 
    about to fetch records                                                                                                             
    X                                                                                                                                  
    complete. selected 1 records.                                                                                                      
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.00
    SQL> select * from testtab;
    TESTSTR
    Y
    1 row selected.
    Elapsed: 00:00:00.00
    SQL> as you can see, the cursor returns data and the table is updated.
    now, our problem is with crystal and also when I use the same test case via another IDE like TOAD.
    No data is returned from the list but the table is still updated.
    We suspect that something is happening that is causing the table to be updated before the refcursor is opened, or at least before the predicates are applied.
    has anyone else encountered this problem before?

    Tubby wrote:
    WhiteHat wrote:
    nope - it works from sqlplus itermitantly (i.e. we always get the debug output but the cursor only sometimes fetches the rows).
    it is almost as if the commit is being executed before the cursor is opened.
    I still havn't been able to reproduce it except with the actual scenario that I am working with...Is the code you are dealing with exactly the same as the skeleton you've posted in your original post? Do you perhaps have a generic exception catcher in there somewhere (perhaps catching and hiding an ORA-01555) when the cursor is being fetched?
    Not that i expect it to make any difference, but i'm curious as to why you've declared your cursor as IN / OUT ?
    p_listcur in out sys_refcursor
    the code structure in the real example is almost identical to that test case I produced - the exception handler is only catering for no_data_found, all other errors should be raised as normal.
    edit: sorry I forgot to add - it's in/out because apparently that's what crystal reports needs in order to use the refcursor..... I'm not a crystal guy so I can't be any more specific than that sorry......
    Edited by: WhiteHat on Oct 11, 2010 9:34 AM

  • User Name/Password for SQL*Plus

    I installed the Oracle 8i Personal Version in my PC.
    I have been trying to log on to the Oracle SQL*Plus screen, which asks me for the User Name, Password and the Host String.
    Does anybody out there know what I should use here to log on to this screen?
    Thanks in advance.
    Jay
    [email protected]

    Hi,
    Please check old mails and then forward questions.
    User scott/tiger
    DBA system/manager
    SYS sys /change_on_install
    with regards,
    Boby Jose Thekkanath,
    Dharma Computers(P) Ltd.
    Bangalore-India.
    www.dharma.com

  • How to change prompt in sql plus

    i have seen a user. he has changed SQL-PLUS promp
    e.g SQL> to usermech>
    how can i change this.

    use this -
    set sqlprompt little_expertRegards.
    Satyaki De.

Maybe you are looking for