Expired user password - oracle 11g

hello,
how can I turn off stupid user password expiration ?
I have used this sql:
ALTER PROFILE DEFAULT LIMIT
FAILED_LOGIN_ATTEMPTS UNLIMITED
PASSWORD_LIFE_TIME UNLIMITED;
How can I check if user password will not expire ?
How can I check if stupid default password expire option is turned off ?
How can I check when user password will expire ?
How can I disable passsword expiration for specified user ?
p.s. sorry for word "STUPID", in my opinion this option generate more problems (big and huge) than benefits. houpfully server still keeping authentication sessions
Edited by: Dlugasx on Sep 14, 2009 11:40 PM

Hi,
How can I check if user password will not expire ?
select LIMIT from dba_profiles where RESOURCE_NAME ='FAILED_LOGIN_ATTEMPTS'
     and PROFILE = (select profile from dba_users where username = 'SCOTT');Replace scott with user you are interested in , if it is unlimited or no rows selected it means it wont expire.
How can I check if stupid default password expire option is turned off ?
same as above
How can I check when user password will expire ?
same as above
How can I disable passsword expiration for specified user ?
select profile from dba_users where username = 'User you are interested in';
ALTER PROFILE <name of the profile from above query> LIMIT
FAILED_LOGIN_ATTEMPTS UNLIMITED
PASSWORD_LIFE_TIME UNLIMITEDRegards
Anurag Tibrewal

Similar Messages

  • How to get more information about users in oracle 11g

    Hi All,
    I need to know more infor about users in oracle 11g.
    1.How to check when user last time login to database.
    2.If user account is lock why it is locked? if it is locked by trying to loing with wrong password how to check how many times he attempted with wrong password...and other reasons also
    3.Wheni was trying to select user expire date it is showing empty value...can we check expire date through querys or we need to check profile?
    4.How to check when he was reset his password last time.
    Please correct me if am wrong. thanks
    Regards

    1.How to check when user last time login to database.AUDIT
    2.If user account is lock why it is locked? if it is locked by trying to loing with wrong password how to check how many times he attempted with wrong password...and other reasons alsoCheck Profile For this user and attr.
    3.Wheni was trying to select user expire date it is showing empty value...can we check expire date through querys or we need to check profile?
    SQL> select EXPIRY_DATE from dba_users ;
    EXPIRY_DA
    24-SEP-11
    24-SEP-11
    24-SEP-11
    24-SEP-11
    24-SEP-11
    24-SEP-11
    24-SEP-11
    23-MAY-13
    24-SEP-11
    24-SEP-11
    24-SEP-11 check
    expiry_date in dba_users is null
    4.How to check when he was reset his password last time.SELECT PTIME FROM SYS.USER$;

  • Host Credentials ERROR Invalid username and or password Oracle 11g

    Hi,
    This error has been bugging me for sometime now and I can't find a straight forward answer anywhere, can you help?
    Oracle 11g on Windows XP SP2 Intel box.
    I am trying to export data and when I'm asked for the Host Credentials I get the error
    " ERROR Invalid username and or password "
    I have tried the following syntax for Username:
    <domain name>\Administrator
    <domain name.local>\Administrator
    <domain name>/Administrator
    <Local host name>\<domain name>\Administrator
    I have gone through making sure that the local security policy settings are correct.
    I have added domain and local Administrator to the ora_dba Group.
    All services relating to Oracle are running.
    I can connect via SQL Plus with no issues.
    I can connect to EM locally and from my client pc with no issues.
    Any ideas, please, can anyone help me?
    I'll gladly furnish you with any info I can to get past this seemingly simple step!
    Regards
    naexpert.

    Trying to understand your reply, here is what I did:
    Created new Windows user called OraAdmin.
    OraAdmin is now member of administrators group and Ora_dba group.
    Logged onto EM at server and used System user logon.
    Data Movement
    Export to Export Files
    Tables
    Host Credentials
    Tried
    OraAdmin - failed
    oracle-11g\OraAdmin - failed
    oracle-11g/OraAdmin - failed
    Don't know what else to do......

  • How to create user in Oracle 11g Console Administration through browser

    Hi
    I installed Oracle 11g on my Windows XP system
    then i opened the console through IE 8.0 using the address "https://serversys:1158/em"
    then i logged into this console by the username SYS/SYS@orcl as SYSDBA
    then i opened the SCHEMA tab
    but here i didn't found any link like "USERS" to create/manage users
    How can i create the users..?
    thanks in advance
    jk

    user10922309 wrote:
    Yes, Hans i am planning to become a DBA from India.Good. If you ever move to North America to become a DBA, let us know. >:)
    With the help of your link "admqs_administer_users.htm"
    i found that bold "Users" link in "Server" tab bold
    but right now i am getting the error "ora-01301: insufficient privilages"
    then i granted the 'create user' privilege to SYS
    error is coming..If you have properly logged on as SYS, as shown by the 'Logged in as SYS' note in the upper right corner, you should not be getting the 1301. Try logging out and following the steps in the document I gave you starting at chapter 1.

  • Unable to create new user when logged as SYS or SYSTEM user. Oracle 11g

    Hello I installed oracle 11g databse. The installation went OK.
    But when I tried to create a new user or alter an existing I always got "ORA-01031: insufficient privileges".
    However I was able to alter SYS user when I was loged in as SYS or SYSTEM user when I was loged in as SYSTEM.
    I am also able to create new tables, drop tables, query tables, create and drop synonyms and all other things except manipulate with users;
    Can anybody tell me where could be the problem?
    Thanks a lot in advance.
    Message was edited by:
    user609545

    I have checked the roles DBA, RESOURCE..(I am sorry byt I dont know what is role CREATE). SYS user has all these roles with admin option and default checked.
    I am using oracle Enterprise manager, but I dont know where should I click on the red mark? Where can I find it?

  • Delay in the change user password OIM 11g

    Hi guys,
    I have a problem with OIM 11g. The user accesses the OIM to do change your password, when the message that password is changed show, the user executed log-off and try access with new password, but the new password isn't accepted.
    The new password is posted to AD immediately.
    Only after of some time, the new password is accepted in OIM.
    I need the new password is applied as in AD. When changing the password.
    Someone know resolve this issue??
    Thanks

    I don’t think this is possible. You can add some delay while changing target system password. But not guarantee.

  • SQL Developer 3.1 not migrating Sybase Users to Oracle 11g R2

    I have tried both online and offline capture and the Sybase users are not being captured (Tables, Views, Procedures Worked). I searched this forum and saw another post about this issue but the Oracle representative never came back with a final finding/answer. We have 1000+ users to migrate so all help is appreciated.

    Hello.
    sorry for the delay (if you need quicker response I suggest that you open a Service Request in My Oracle Support).
    In your first post you said that you tried online and offline migration. So for an offline migration you have created the scripts using the Create Database Capture Scripts menu button. Then you have run that scripts against Sybase. Has there been created a file SYB15_SYSUSERS.dat (or SYB12_SYSUSERS.dat if your Sybase version is 12)? If that file has been created, does it contain anything or is it empty?
    Regards
    Wolfgang

  • Logging to Oracle 11g

    Hello,
    I am a new user for Oracle 11g. After the successful installation when I tried to Logging to SQL Plus Command Prompt with username and Password .Its throws the following set of errors
    Error Message
    Enter user-name: myOracle
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Process ID: 0
    Session ID: 0 Serial number: 0
    I again tried to login through SYS as SYSDBA but its saying Log Files are full and show the following set of message
    Error Message Through CMD
    C:\Documents and Settings\Bhaskar Anand>sqlplus /nolog
    SQL*Plus: Release 11.2.0.1.0 Production on Thu Aug 25 14:37:22 2011
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    SQL> connect sys as sysdba
    Enter password:
    ERROR:
    ORA-28056: Writing audit records to Windows Event Log failed
    OSD-2266672: Message 2266672 not found; product=RDBMS; facility=SOSD
    O/S-Error: (OS 1502) The event log file is full.
    ORA-28056: Writing audit records to Windows Event Log failed
    OSD-2266672: Message 2266672 not found; product=RDBMS; facility=SOSD
    O/S-Error: (OS 1502) The event log file is full.
    Do Help me with the situation

    refer the link:-ORA-28056: while connect to the database

  • EA2 expired user check

    Hi,
    Checked to see if it is possible to change an expired user's password using EA2 (Oracle SQL Developer 1.5.0.52). Got the following error when I tried to open the expired user:
    "Password has expired. Unable to reset password - OCI driver not available"
    Anyone know how to resolve this?
    Thanks.

    The expired passwords can be reset using the OCI/Thick driver only.
    This error appears when the password is expired and cannot be reset since the OCI driver is not available in the system.
    Please make sure the OCI driver (Oracle client) is installed.
    Thanks,
    Srividhya.

  • Creating Oracle 11g Database Manually on ASM on 11g R2 Grid

    Hi:
    Earlier added this issue alongwith Grid installation. Only Jorg replied to me but could not find a complete solution. So thought of starting a new thread.
    Wanted to know if any one of you have successfully created Oracle Database Manually on ASM on Oracle 11g R2 Grid.
    I have installed Oracle 11g R2 grid (grid user) and Oracle 11g R2 DB software succesfully (oracle user).
    Now trying to create a database manually on ASM as Oracle user.
    First I create an pfile in $ORACLE_HOME/dbs
    then I started by db on nomount stage. when I create a spfile on to my ASM diskgroup I get
    I have created 2 diskgroups '+DGASMSPFILE' (ASM Spfile) and '+DGDBDATA' (for database)
    Grid is up and running.
    From Oracle user:
    Have created a sample initDBRAC.ora
    Now I want to create Oracle Database Global Spfile into '+DGASMSPFILE'
    export ORACLE_SID=DBRAC
    $ sqlplus / as sysdba
    SQL> create spfile='+DGASMSPFILE/spfileDBRAC.ora' from pfile;
    ORA-17502:ksfdcre:4 failed to create file +DGASMSPFILE/spfileDBRAC.ora
    ORA-12547: TNS lost contact
    "Oracle user" should have privileges to access ASM diskgroup right? What is the permission set for /dev/sdc* (earlier it was root:oinstall I changed it to grid:oinstall even then no difference.
    Trace output:
    ASM_DISKSTRING= /dev/sdc*
    ***********************************************************************1st trace file
    Fatal NI connect error 12547, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/crs/11.2.0/grid/bin/oracle)(ARGV0=oracle+ASM1_o000_dbrac)(ENVS='ORACLE_HOME=/crs/11.2.0/grid,ORACLE_SID=+ASM1')(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(enable=setuser)(CONNECT_DATA=(CID=(PROGRAM=oracle@skyit6)(HOST=skyit6)(USER=oracle))))
    VERSION INFORMATION:
    TNS for Linux: Version 11.2.0.1.0 - Production
    Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
    Time: 01-JUN-2011 01:27:07
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12547
    TNS for Linux: Version 11.2.0.1.0 - Production
    Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
    Time: 01-JUN-2011 01:27:07
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12547
    TNS-12547: TNS:lost contact
    ns secondary err code: 12560
    nt main err code: 517
    TNS-00517: Lost contact
    nt secondary err code: 32
    nt OS err code: 0
    ERROR: Failed to connect with connect string: (DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/crs/11.2.0/grid/bin/oracle)(ARGV0=oracle+ASM1_o000_dbrac)(ENVS='ORACLE_HOME=/crs/11.2.0/grid,ORACLE_SID=+ASM1')(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(enable=setuser))
    Wed Jun 01 01:27:07 2011
    ERROR: slave communication error with ASM; terminating process 16772
    Errors in file /oraeng/app/oracle/product/diag/rdbms/dbrac/DBRAC/trace/DBRAC_ora_16772.trc:
    Regards
    Dinesh

    Hi Sebastian:
    When I installed grid software, oracle db software and created oracle db manually things worked fine.
    When I restart the RAC environment I found the following issues:
    1) all the resources does not come up automatically, once i issue crs_start -all all the services comes up. (most of the resources related to node1 comes up but cluster resources related to node2 does not come up) crsctl check crs shows that things are online.
    2) wanted to recreate a database manually after restarting the RAC enviroment. To start of as usual tried to create a spfile in ASM disk "Create spfile='+DGDBSPFILE' from pfile'
    I get ORA-17502:ksfdcre:4 failed to create file +DGDBSPFILE'
    12547: TNS: lost contact
    looks like permission problem.
    The same command worked before restarting the RAC environment. Pls let me know if I am missing out anything.
    Is it because i am unable to access ASM instance.
    3) As you had mentioned tried to set the sbit by executing the following statement:
    $ /opt/grid/bin/setasmgidwrap o=/opt/oracle/product/11.2.0/db/bin/oracle
    should this be put into "rc" folder in linux so that it gets set everytime linux starts up. because once i restart the permission get changed.
    I should execute it from grid user to change the permission of 'oracle' binary in 'oracle user' right?
    Can you explain me why is this required (sbit).
    Thanks.
    Regards
    Dinesh

  • Expired user

    Hi,
    How to enable expired user in oracle
    Thanks,
    Kr

    alter user <username> identified by <passwd>;------------ could change the status to open again

  • Oracle 11G - set id password to not expire

    Hello, I've created an Oracle 11G database. The default on passwords is to expire every 180 days. I need to create an account that batch processes can use (for application code) which will not expire. How do I set a password on a user id to not expire? Maureen

    Maureen Blackford wrote:
    Hello, I've created an Oracle 11G database. The default on passwords is to expire every 180 days. I need to create an account that batch processes can use (for application code) which will not expire. How do I set a password on a user id to not expire? MaureenLook at PROFILEs.
    And rethink your goal. The longer a password is allowed to live, the more opportunity for it to become exposed. If you care at all about database security, never allow a password to have unlimited life. Our end users have 180 life, my internal administrative passwords have 90 life.

  • User change password after first logging in Oracle 11g

    Hi
    Can you help someone in connection with this problem:
    user can not change password after first logging in Oracle 11g
    All the best
    Ragip Avdijaj

    Sounds like they are not getting logged in at all, so they are never getting to the point where they can change the password, but we need to see more detail to give a better answer (an example or copy-paste of a sqlplus session might help)

  • Need Help, setup OBIEE 11g user password expiration

    Hi,
    Any one know how to setup OBIEE user password expiration?
    Requirement: create demo user in OBIEE and the demo user password should expired weekly.
    Thanks,
    allan

    Hello Allan,
    In 10 version we can do that,Am not sure we can do it in 11 version.Please wait for OTHER guru's response.
    Thanks,
    Sasi Nagireddy..

  • New user created in oracle 11g (release 2) is not connecting (ORA-01017)

    Hi All,
    Kindly help me out regarding this.
    I have created a new user using "ORACLE Enterprise Manager 11g" and used the same credentials in SQL developer for a new connection and it throw "ORA-01017: invalid username/password; logon denied" message.
    Kindly note that have followed the following steps in creating user:
    On the Users page, click Create.
    In the Name field, enter NICK.
    In the Profile list, accept the value DEFAULT.
    This setting assigns the default password policy to user Nick.
    In the Enter Password and Confirm Password fields, enter a password that is secure.
    Create a password that is secure. See Oracle Database Security Guide for more information.
    Do not select Expire password now. If the account status is set to expired, then the user or the database administrator must change the password before the user can log in to the database.
    (Optional) Next to the Default Tablespace field, click the flashlight icon, select the USERS tablespace, and then click Select.
    All schema objects that Nick creates will then be created in the USERS tablespace unless he specifies otherwise. If you leave the Default Tablespace field blank, Nick is assigned the default tablespace for the database, which is USERS in a newly installed database. For more information about the USERS tablespace, see "About Tablespaces".
    (Optional) Next to the Temporary Tablespace field, click the flashlight icon, select the TEMP tablespace, and then click Select.
    For the Status option, accept the default selection of Unlocked.
    You can later lock the user account to prevent users from logging in with it. To temporarily deny access to a user account, locking the user account is preferable to deleting it, because deleting it also deletes all schema objects owned by the user.
    Grant roles, system privileges, and object privileges to the user, as described in "Example: Granting Privileges and Roles to a User Account".
    Note: Do not click OK in Step 13 of "Example: Granting Privileges and Roles to a User Account". Instead, skip that step and continue with Step 12 in this procedure.
    Assign a 10 MB quota on the USERS tablespace, as described in "Example: Assigning a Tablespace Quota to a User Account".
    If you did not click OK while assigning the tablespace quota (previous step), click OK now to create the user.Kindly note that I have log in as SYSTEM user and created this new user.
    Could any one help me regarding this ?

    After connecting with sqlplus, as user SYSTEM and when tried the below, I could see that the new user created by me does not exist..
    select '--' || username || '--'
    from dba_users
    order by username;
    But when tried with GUI "ORACLE Enterprise Manager 11g" I can very well see the new user created by me..
    How is this possible mate??
    Is the user not properly created through GUI (than from where it is showing the new user)
    Some more information i want to share;
    i have used schema "HR"
    And have used table space "USERS"
    And tep tablespace "TEMP"
    Edited by: 828569 on Jan 16, 2011 9:01 PM
    Edited by: 828569 on Jan 16, 2011 9:03 PM

Maybe you are looking for

  • Last page doesn't print correctly on 2 page 2 copy Windows 8.1 Wireless printing to HP4630

    On Windows 8.1, when printing 2 copies of a 2 page document (any application) the last page of the last copy fails to print completely (sometimes half a page) or fails to print at all.  It doesn't matter whether I am printing one sided ot two sided.

  • Query Database - Write to Database

    I am querying a SQL DB which has 10 results in total with 15 fields each. The run book will filter out 2 eventually based on some rules. Once all the activities are complete as per the runbook, I want to write back to the database as 'Complete' under

  • ADF deployment Cach expiration

    Hi, I have an ADF application and to improve performance I am testing improving the use of local web browser cash. I have deployed the application with following additional settings in the deployment plan: <expiration-setting expires="never" url-patt

  • IChat doesn't open--period. Bus error?

    I just received my new iMac (Intel Core Duo, woohoo!) on Saturday, and the very first time I tried to open iChat was about an hour ago. All I got was a couple bounces, and then.. failure. Rebooting doesn't make any difference. I tried opening it in T

  • Operation confirmation without inspection results - not working

    Hi All, We have 4 operations for one production order. 1st operation has 5 MICs 2nd operation - no MICs 3rd operation - no MICs 4th operation - 1 MIC. In tcode OPK4 I have configured error message if QM results are not recorded. Before result recordi