Special charctor in password

how to create a user u1 with password as p123#%"&*@ from sqlplus
Edited by: user10836551 on May 30, 2010 9:59 AM

The rules for identifiers apply, so you need to enclose the password in double quotes.
Sybrand Bakker
Senior Oracle DBA

Similar Messages

  • Using SQLDriverConnect with special characters in password fails, same info with ODBC (Oracle instant client) works fine

    Hi,
    on a windows 2008 machine that has the Oracle instant client 11_1 installed (11.01.00.06) i am calling SQLDriverConnect in the following way:
    std::string str = "Driver={Oracle in instantclient11_1};Dbq=//10.10.101.66:1521/orcl;;Uid=myUser;pwd=a;b";
    odbcRc = SQLDriverConnect(hdbc, NULL, (SQLTCHAR*)str.c_str(), str.size(), (SQLTCHAR*)szConnStrOut, 1024, &cbConnStrOut, SQL_DRIVER_NOPROMPT)) == SQL_ERROR);
    as long as the password contains no special chars (namely semicolon) it works fine. but when I try to use special chars in the password It stops working, with an invalid username/password error.
    State: 28000 Native error: 1017 Message: [Oracle][ODBC][Ora]ORA-01017: invalid username/password; logon denied
    i tried different variations of adding " (\") over the password, over the entire pwd=a;b or braces { but nothing seems to work.
    the thing is that using ODBC works! what I did was:
    open ODBC, go to System DSN tab, add "Oracle in instantclient11_1", then fill the following information:
    Data source name: Anything
    TNS Service Name: //10.10.101.66:1521/orcl
    User ID: myUser
    then i press test connection, enter the password "a;b"
    and it works!
    I cannot figure out what's my problem.
    Thanks,
    Roy.

    I've created your test table in my Oracle database using this extra character and I'm able to describe it properly.
    SQL> desc test;
    Name Null? Type
    ATTIVITÀ VARCHAR2(40)
    My character set being used is:
    SQL> select * from v$nls_parameters;
    NLS_CHARACTERSET
    WE8ISO8859P15
    NLS_NCHAR_CHARACTERSET
    AL16UTF16
    NLS_LENGTH_SEMANTICS
    BYTE
    So as long as it doesn't work for you in your native Oracle database I don't think it would work with DG4ODBC. So yes, it would be best to log a service request so that the Oracle database support can check out the NLS issue.
    Edited by: kgronau on Sep 28, 2011 9:21 AM
    To be complete here the describe of the MySQL table native and using DG4ODBC:
    mysql> create table TEST (attività Varchar(40));
    Query OK, 0 rows affected (0.00 sec)
    mysql> desc TEST;
    ---------------------------------------------------+
    | Field | Type | Null | Key | Default | Extra |
    ---------------------------------------------------+
    | attività | varchar(40) | YES | | NULL | |
    ---------------------------------------------------+
    1 row in set (0.00 sec)
    SQL*Plus: Release 11.2.0.2.0 Production on Wed Sep 28 09:20:17 2011
    SQL> desc "gateway"."TEST"@MYSQL_DG4ODBC_EMGTW_1122_DB;
    Name Null? Type
    attività VARCHAR2(80)
    So in general it should work.

  • Special Character in password!

    Hi,
    Is there any documentation exists which tell us what all special characters can be used in password?
    If we use for example "," (comma) is password then NCo returns the error "Invalid User ID / Password (repeat logon)". Where as through SAPGUI login is successful.
    Regards.

    Hi Nagaraju,
    Thanks for your reply.
    To be more specific, what I wanted to know is, if user can login through SAPGUI having comma (for example) in password, why NCo throws an exception ?
    Is there any documentation exists which says which special characters can not be used with Nco OR is there anyway to handle them ?
    Regards.

  • Special characters in passwords

    Where can I get documentation for restrictions on passwords. Like what special characters can be used in
    passwords?
    Maximum length etc?

    Passwords follow the same rules as other identifiers in the database:
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/sql_elements9a.htm#27566
    That means:
    - not case sensitive
    - 1 to 30 characters long
    - no Oracle reserved word
    - no quotation marks
    - must begin with an alphabetic character
    - only alphanumeric characters, underscore (_), dollar sign ($), pound sign (#)

  • Special characters in password?

    In DS 5.2 what special characters or nonalphanumeric charaters are allowed in passwords? Are there any that I should not allow? And are there any that I should not allow in regards to other systems using the ldap for authentication?

    You are strongly encouraged to allow only 7bit ascii characters in the userPassword. The DS has a plug-in which will check for you to prevent 8 bit characters in passwords. It is called the 7bit checking plug-in or something like that. You have to tell it which suffixes you want to check, and tell it which attributes (probably just userPassword).

  • Special characters in password for "create database link"

    It seems that one cannot create a DB link if the password has a special character in it (like '!')?
    create database link MYLINK connect to SOURCE identified by mypwd! using 'MYDB'
    - returns "ORA-00933: Command not properly ended"
    create database link MYLINK connect to SOURCE identified by values 'mypwd!' using 'MYDB'
    - returns "ORA-00988: missing or invalid password(s). This is the syntax that works in "create user".
    Nikolai

    1* create database link MYLINK connect to SOURCE identified by "mypwd!" using 'MYDB'
    SQL> /
    Database link created.
    SQL>
    Joel Pérez

  • Create / Alter user doesn't allow special characters in password

    When i try to change the password from say : vos1s05 to : vos1s05! i get the error message (missing or invalid option), i have used several special characters and all give the same error, is there a way to circumvent this, or will this be enabled in a new release ??

    A password is classified as an oracle identifier and must conform to the rules for indentifiers. To include special characters you need to enclose it in double quotes e.g. "vos1s05!"

  • Special caracters in password

    hi, i did choose a password with special caracter: now@!
    and then it is impossible to type it the caracter @ , so i cannot boot my machine!!!
    what can i do ???

    Hello
    Sorry but now you have a big problem. For the BIOS password or supervisor password it must be used just the following characters: a..z, A..Z and 0..9
    Choosing some special characters will result in that the notebook will not start anymore. In this case, please contact your Toshiba Authorized Service Provider because the password must be deleted and there is no way that you can do it on your own.

  • Yosemite doesn't recognize special characters in password when logging in

    Hi everyone,
    I installed Yosemite yesterday on my mid-2011 MBA and discovered that after restarting it, I was unable to log into it. First, I'd like to precise that I'm using a French keyboard, it could have an importance afterwards.
    The password I use for my account is quite complex and uses a special character. Until now, it worked perfectly, but I discovered that, on Yosemite, I have to type twice the special character and the one after, in order to get it worked. Otherwise, it acts like if I haven't typed these two.
    Also, this behavior is kind of weird because if I log out, I don't have the issue: it works perfectly. So the issue is just after a shut down/restart.
    The only way I could restart the first time was by using the tool made from Apple when you loose your password (pressing the power button until it shuts down). Once my laptop entered that mode, I could just type my current password and choose a new one. But still, I don't get why it works on every screen, except the one after a shut down/restart.
    I hope Apple could bring a quick fix for that because it's really annoying. Also, if someone gets the same issue, try to type twice the special character(s) and maybe the one(s) that is/are just after.
    Bye.

    A password is classified as an oracle identifier and must conform to the rules for indentifiers. To include special characters you need to enclose it in double quotes e.g. "vos1s05!"

  • OpenSSO 8 configurator error due to special characters in password

    We got the same AMSetupServlet StringIndexOutOfBoundsException described in thread 5356908 when running the GUI configurator in OpenSSO Enterprise 8.0 Update 1 Patch 1.
    As in that posting, the error was caused by a special character in the password ($ in this case).
    So it seems that the fixes mentioned by kujalli didn't address this issue.

    Hello All,
    the second issue is resolved as i replaced some other character and included the two necessary for me and the issue is solved.
    For first issue, i found an OSS notes 173241, which says character # cannot be loaded alone. But the OSS notes is for version 3.1 and i am not sure whether the issue is fixed in 7.0 version
    Regards
    Suresh Kumar

  • Connect to SAP BW and using special characters in password is not working

    Hi guys,
    I connect to a SAP BW System. When I'm using the special character & in my password, I can't connect as the universe designer says that I entered the wrong password. If I remove the special character the connection works and I can select a query.
    Is this a know bug? What can I do?
    Regards,
    Christian
    Edited by: Christian Röttgers on Nov 12, 2009 9:39 AM

    Hi Christian,
    According to my knowledge this is not a know issue.
    I recommend you create a support case in order to have your issue fixed.
    Regards,
    Didier

  • Login screen will not accept special characters in password

    So, I have a domain account that has a password that contains the character created by pressing ctrl and Backspace key. I have found that if you attempt to type that character at the windows login screen, it will not recognize that. If you remote desktop
    to the pc from any version of windows, it will allow you to type in that character and logs in fine. If you went to change a local users password by using the Computer management mmc, it will allow you to enter that character.
    How is it possible that this was overlooked, and is there a likelihood of it being fixed?
    I'd like to point out that this occurs in windows 8.1 also. I have a large base of bilingual users that have Spanish and other characters in their passwords that have worked up until now.

    Hi,
    If i understand you correctly, you could not type the special character at the windows login screen in windows 8.1, but remote desktop could. Am i right?
    According to my test, the same result.
    So i think you could remote to the pc and change the password:
    http://support.microsoft.com/kb/149427/en-au
    Regards.
    Vivian Wang

  • Automatically create ODBC DSN connection with special port and password. Add-OdbcDsn cmdlet

    Hi,
    I first posted a question in the SQL forum but I'm posting it here instead because its a Powershell question.
    In a non-persitent VDI enviroment we are trying to automatically create a ODBC DSN connection to a SQL server.
    We are using Windows 8.1 so we also have Powershell 4 together with the add-odbcdsn cmdlet. 
    But when trying to add set -SetPropertyValue for network port different than default and a password we get an error.
    here is the command:
    Add-OdbcDsn -Name test -DriverName "SQL Server" -DsnType User -SetPropertyValue @("PWD=test", "SERVER=10.0.0.1")
    and here is the error message:
    Add-OdbcDsn : Attempt to set the {UID or PWD} key of a DSN. These keys should not be stored in the registry for securit
    y reason. Provide the credential information at runtime via SQLDriverConnect, SQLConnect or SQLBrowseConnect.
    At line:1 char:1
    + Add-OdbcDsn -Name test -DriverName "SQL Server" -DsnType User -SetPropertyValue @ ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (MSFT_OdbcDsnTask:Root/Microsoft/...SFT_OdbcDsnTask) [Add-OdbcDsn], Cim
    Exception
    + FullyQualifiedErrorId : MI RESULT 4,Add-OdbcDsn
    NB!:  this command does not contain a port number, but when adding it without a password(PWD string) we just the default port.

    Hi Primeid,
    Agree with Jrv, we cannot store  UID and PWD in an ODBC datasource, For example, you can create a DSN using the user interface but if you look at the DSN stored in the registry the UID and PWD are not stored.
    ODBC it is always required when you connect using a DSN that the caller supply UID and PWD if they want to use standard login during connection time. 
    These similar discussion are for your reference:
    Creating ODBC DSN for SQL Native
    Client fails for not-integrated authentication
    is user name and password required in ODBC admin / User DSN?
    In addition, to read data from a SQL Server database using an ODBC DSN with SQL Authentication via powershell, please refer to this script:
    Open SQL database with ODBC DSN and SQL AuthenticationIf
    there is anything else regarding this issue, please feel free to post back.
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna Wang
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Why can't I use special characters in my password? This isn't 1995 anymore where a lot of people don't have QWERTY keyboards.

    Why does your site not allow the use of special characters in passwords? Do you not want your customers to be as secure as possible?
    As a network security admin, limiting passwords to prohibit special characters is an extremely poor security practice.
    Telling me that my security as a customer is important, then tell me that your own system limits my ability to keep my account as secure as I would like seems quite backwards. I understand the archaic reasoning was that not all devices have a QWERTY keyboard, this logic is flawed and is no longer necessary.

    Hi, sorry to hear that you are experiencing these problems, but sometimes a new machine (be it Apple, Dell, whatever) can be defective right out the box - its not unheard of.
    If your machine came with defective hardware and is still under warranty (seems to be the case here) then you have nothing to lose taking it back to where you bought it and, if there really is defective hardware present I am sure they'll rectify the problem.
    A small note: these problems are not manufacturer-specific - its pointless blaming the manufacturer as I can assure you this happens with ALL brands. Apple supplies quality hardware and software - I know of a user who has had a machine switched on since 1987 without problems

  • A Google Mail wrong password fix in iOS Mail

    This one had me pulling my hair out. I recently decided to update my password for Gmail and once I did it recommended I setup the 2 step verification option. I thought what the heck and did so.  I usually look at Gmail in Safari but every now and then turn it on in Apple Mail on my iOS devices. Today when I did on both iPad and iPhone it would not accept my new password. After reinstalling the account, numerous different email attempt, searching Apple Dicussion and all over the web I finally found this and it worked. You need a different "special" 16 character password for each device. Good grief Google.
    https://support.google.com/accounts/answer/185833?hl=en&ctx=ch_DisplayUnlockCapt cha

    It isn't just Google. If you set up 2-step verification with Microsoft's mail or Yahoo mail or anyone else that offers it, the issue will be the same. You will need to use an application specific password because the applications (such as Mail) are not designed to prompt for and allow entry of the verification code.

Maybe you are looking for

  • Airport Extreme v7.3.3 Port Mapping Port 80

    I have a DVR in my home which is connected to my home network. It has a static IP address. I would like to be able to utilize its mobile app from any mobile/cellular network. The manufacturer of my DVR tells me that I need to open up Port 80 on my ro

  • MSS CO Reports

    Hi, I do have a question regarding MSS CO reports,  we have around 55 cost centres and the requirement is that each manager looks only at his own Cost Centre report. Is there any way where i can create a role that depends on OM structure whereby the

  • I have an add-on that is keeping me from opening my email, please advise

    I cannot open my godaddy email any more

  • Upgrading Macbook Pro 13 inch

    Hey, first post on here so go easy on me hehe. Recently i bought a standard Macbook Pro 13 inch, 2.26Ghz, 2GB RAM, 160GB HDD. Im loving the ease of use of the Mac OS but i only have one problem, which to be honest is my own fault at time of purchase.

  • Icons on a af:calendar component.

    Hi, We have a use case where we want to show calendar in month view and do not want to show the activities grid. On day when user has some activity we want to display an icons for the activity, instead of the date. Is it possible to achieve this in a