The user account expiration date

Hi all
I have a lot of schema and generic users to follow up to avoid the expiration of his or her password. I tried to find out which of them are close to their expiration date, but for some accounts, my request has failed...

SELECT THE USER NAME,
EXPIRY_DATE,
VIEW PROFILE
Of
(SELECT u.username,
U.account_status,
U.Profile,
P.Limit AS passwd_exp_limit,
SYU.ptime,
SYU.ptime + P.limit AS expiry_date
FROM dba_users U,.
sys. User$ SYU.
dba_profiles P
WHERE the u.username NOT IN ('SYS', 'SYSTEM', 'OUTLN', 'DIP', 'TSMSYS',
("GENERAL", "ORACLE_OCM", "OPS$ ORACLE")
AND SYU.user # = U.user_id
AND NOT AS u.username ' OPS$ %.
AND p.profile = u.profile
AND p.resource_name = 'PASSWORD_LIFE_TIME.
)
WHEN TRUNC (EXPIRY_DATE) - 30 < = trunc (sysdate)
AND PROFILE 'END_USER' <>;
It is the result of the query.
EXPIRY_DATE PROFILE USERNAME
_________________________________________________
...
DEFAULT_PASSWORD_PROFILE ETLDWDW 30 DECEMBER 08

8 selected lines
but... He has not expired when connecting, even when according to my request that he should be long expired.
SQL > conn etldwdw@instance_name
Enter password: *.
Connected.
SQL >
I checked the PASSWORD_LIFE_TIME of this profile, and it is equal to 90 days.

How can I determine what day will expire each account?

Thank you for your help

Martin

PS: My version is

Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - production
PL/SQL Release 10.2.0.4.0 - Production
"CORE 10.2.0.4.0 Production."
AMT for Linux: release 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production

Hello

To check the expiration date, you will need to view dba_users query.

According to your request, his shows correct value and it expires Dec. 30, so you can connect with this user until Dec 30.

concerning

Jafar

Tags: Database

Similar Questions

  • trigger on the user account expires or lock?

    How to capture an event when a user account lock or expiring soon?

    There the trigger? (Oracle DB 11g R2)

    concerning

    The preliminary calculation of the expiry of lock and password of the account by the triggers is not possible. run tasks scheduled every day to find the State of account and a user password expiration status.

    If you can, monitor the profiles assigned to users to find the password expiration.

    Thank you

  • How can I permamnetly delete the user account in Windows xp?

    How can I permamnetly delete the user account in Windows xp?

    1. 1

      Go to the control panel. There are several ways to do this, but the most common is to go to the Windows Start menu and click on "Control Panel" on the right side. Follow whatever it is more convenient for you.

    2. 2

      Click on "user accounts" in the window that appears. Or, you see the standard view (with lines of icons) or the display of the categories (which is explicit). Both have a shortcut to the user accounts Control Panel.

    3. 3

      If a control panel is not yet made, click the 'user accounts' Panel at the bottom of the window. If so, you can skip this step.

    4. 4

      Click the link you want to get rid of any user account.

    5. 5

      The next window will have a list of actions you can do for the user account, one of which will be "remove account". It is the action that you'll want to click on.

    6. 6

      The last window that you will see will ask you if you want to keep the soon-to-be-used user represents the files in a folder on your desktop. It's your choice here.

      • If you have already backed up all important data on this user account, you can safely click on 'delete files '.
      • If you do not, you must click "keep files".
    7. Kind regards
    Amith Malherbe
  • Run as pop up appears for the user account to connect to the computer

    Original title: security

    "When I turn on my computer, a smaller screen appears on the display of windows 'Run as' breast and ask which user account you want to use to run this computer", it then lists current user with a number that is similar to mine as an administrator with a checkbox. "or below cela" the following user ' to add details. I'm afraid that someone is trying to take over my computer. I have run Norton anti virus. How to stop what appears and get rid of it. This is a major threat. Paul

    Hi Paul,

    1. what anti-virus software do you use?

    2 you use the password while logging on to the user account?

    I suggest you of change the logon window and the shutdown preferences in Windows XP to resolve the problem.

    Setup configures Windows XP to use the friendly welcome logon screen and close buttons, if your computer is installed as a computer (a computer where a network domain has not been specified).

    This article describes how you can enable the classic logon screen used by Windows XP Server that resembles the following example:

    Log on to Windows

    User name: _______
    Password: __________

    To temporarily use the classic logon screen, press Ctrl + Alt + Delete twice on the Welcome logon screen.

    To configure Windows XP to use the classic logon and shutdown for each logon screens, follow these steps:

    a. click Startand then click Control Panel.
    b. double-click user accounts.
    c. click on change the way users log on or off the power.
    d. Click to uncheck the use the Welcome screen check box.

    Note: If you disable the Welcome logon screen, you also disable the fast user switching option.

    If you want users to press CTRL + ALT + DEL before the classic logon appears like a Windows XP-based computer that is joined to a domain, follow these steps:

    a. click Start, click run, type regedit in the Open box and then click OK.
    b. click the Winlogon subkey at the following registry location:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
    c. click change, click newand then click DWORD value.
    d. to change the name of the value, type DisableCADand press ENTER.
    e. keep the data value set to 0. The set of data values appear as 0x00000000 (0).

    Warning: Ask users to press CTRL + ALT + DEL before the classic logon screen appears.

    If you don't want that, then come back in a classic.

    Note: To do: Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    322756 (http://support.microsoft.com/kb/322756/ )

    How to back up and restore the registry in Windows

    For reference, click on the link below:

    http://www.Microsoft.com/security/PC-security/protect-PC.aspx

    Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    I hope this helps.

  • Need to access the user accounts from previous installations

    I am running Windows XP Pro, and I have installed new software.

    When I have it ran for the first time my PC crashed. Now, whenever I try to load it up it just keeps restarting before you get to the login screen. Safe mode does not help you, or doesn't last known good configuration. There is no recovery point recorded.

    I searched online for help and tried to repair the Windows version by inserting the CD and choose 'Repair', but there is no repair option. He wants me to install a new version of Windows on the partition, which, from what I understand, going to wipe my user accounts. It would be a big problem, as I have a lot of data out there that is very important for me who is not saved. My fault, still backward, etc. No not after the sympathy, just stating the facts!

    I also have Windows XP 64 is installed on a separate partition, and I loaded this up to see if I can see the user account I want to access. I can. But I can't access it because it is password protected, and it just comes up saying 'access denied '.

    So, how do I gain access to this user account? Doing anything to the working version of XP64, either by repairing the other partition inactive?

    All welcome, no matter how much of a long shot it is advice. I'm getting desperate!

    Thanks in advance.

    Hi Malkeleah,

    I had real problems trying to get Knoppix to work. I downloaded on my laptop, then had to put on a USB key to burn on the PC with Win 64 on (portable DVD player is read-only), but I couldn't do burn. I kept of burning errors using the built-in burner after first unpacking the ISO on the laptop (no support ISO native in Windows XP), or when I tried to install on win 64 the system burning software I got error messages saying: the software wouldn't run as soon as I clicked to install it. And Yes, I checked that I was using the software compatible 64-bit! No idea what it was, the 64-bit version has never really been used, not even well why it is installed.

    In any case, after that much hitting my head on the office followed a couple of pints in pubs, I managed to find another way around this problem, which was to take ownership of the files according to the instructions on the Microsoft Web site:

    http://support.Microsoft.com/default.aspx/KB/308421

    It worked wonderfully for me, and I have been able to support Windows 64-bit, re - install XP 'normal' and then appropriated again under that. 2 files come with errors and would not sell the property, but they were not even remotely important if everything is good. I got literally thousands of other files that flies over without any problems.

    In any case, thank you for taking the time to help me, I'm sure that your method would have worked if I had been able to create a CD (I would have posted off the coast for one if everything else has failed because they will send one in the world for any $2 IIRC), but for someone else who did a search and found my ad the above that I mention is worth a go as an alternative method.

    And no, I didn't have the encrypted files. Just locked the account of some simple password protection.

    Thanks again,

    Chris.

  • Need to change the name of the administrator under the folder of the user account

    I just got a new HP laptop with Windows Vista 64 SP1. My friend who got the laptop I use a nickname that I hate it when he set up the computer for which it was not supposed to do in the first place. I went to the section control panel user accounts control and changed the name of the administrator account. I have only the administrator account on my computer with the guest account. That part worked.

    My problem is that, under C:/Users / (username), it still shows that hated nickname. I want to change the name of this folder, but cannot understand how or if it's possible. Can anyone help? Thanks in advance

    As you have discovered, you cannot change a user account by simply changing the name. That will be a change cosmetic only and none of the files/folders real profile will be changed. Follow the instructions below to fix things to your liking and to implement correctly under Vista user accounts.

    1. create the new user account (named as desired) as a * standard * (not administrator) account and at least one additional account with administrative privileges. Call the extra account 'CompAdmin', 'Tech' or similar.

    2. Enter the new user account once if the profile files are created, and then disconnect and then connect to CompAdmin.

    3. go in Control Panel > system > advanced > user profile > settings

    4. you will see where you can copy user accounts. Copy the misnamed old account to the new name correctly there. Use her browse to select your new account (C:\Users\newaccount). If you don't want to copy all the settings, and then instead simply navigate using the old user, music Explorer Windows Documents, etc. and copy the data to the new user folders.

    5. connect to your new correctly named user account. When you are sure to have what you need, you can delete the misnamed control panel user account > accounts to users if you wish.

    General information about configuring users in Vista:

    You absolutely don't want to have only one user account. As XP and all the other modern operating systems, Vista is an OS multi-user with system built-in accounts such as administrator, by default, all users and guest. These accounts should be left alone because they are part of the structure of the operating system.

    In particular, you do not want one account user with administrative privileges on Vista because the administrator account integrated (normally only used in emergencies) is disabled by default. If you use as an administrator for your daily work, and this account is corrupt, things will be difficult. It is not impossible to activate the built-in administrator to rescue things, but it will take third-party tools and work outside the operating system.

    The user account that is for your daily work must be a Standard user, with the extra administrative user (call it something like 'CompAdmin' or 'Tech' or similar) only it for elevation purposes. If your normal user account is an administrator, having created "CompAdmin", connect to it and change your normal user account Standard. Then log on to your regular account.

    If you want to go directly to the desktop and ignore the Welcome screen with the icons of the user accounts, you can do this:

    Start Orb > Search box > type: netplwiz [Enter]
    Click continue (or provide an administrator password) when you are prompted by UAC

    Uncheck "users must enter a user name and password to use this computer". Select a user account to connect automatically by clicking on the account you want to highlight and press OK. Enter the password for this user account (when it exists) when you are prompted. Leave blank if there is no password (null).
    MS - MVP - Elephant Boy computers - don't panic!

  • Cannot type the password in the user account control prompt after activation of the hidden admin account.

    Original title: where to type the password of the user account control?

    I have a problem of user account control is it said to type an administrator password, but there is nowhere to type in it. I can't access anything on my computer because there is a password. My computer does not have an administrator account and I can not activate the administrator hidden with UAC on because I can't type the password. Where to enter it?

    Hello

    System Restore can probably help.

    To restore the system from DVD

               

    a. start the computer from the Windows installation disc

    b. Windows will automatically run the disk is empty, and will load the files; This can take some time. The

    c. Windows Vista install will begin charging.

    d. now, select your installation language, time and currency Format, and keyboard type and then click "NEXT" to continue.

    e. in the next screen click 'Repair your computer' to continue. Windows will now search an Installations of Windows.

    f. on the next screen, select the operating system on which you want to do a repair. Select it, and then press 'NEXT' to continue

    g. you are now in the menu "Recovery Options.

    h. in the 'Recovery Options' menu select 'SYSTEM RESTORE'.

    i. the menu "Restore files and settings" is displayed, click 'NEXT' to continue. Now in a 'Restore Points' selection select one that you want to restore too. Then click "NEXT" to continue. You are now given an option to restore the other disks as well as the operating system drive. If you have no problem with them, then just restore the main drive.

    j. now, you will need to confirm the restore point. Click "FINISH" to continue or "BACK" to select another drive or restore point. You are now prompted one last time to confirm that you want to continue. Click 'YES' to continue or 'NO' to select a different drive or restore point.

    k. 'System Restore' will boot now.

    System Restore will now restore files, finalize the restoration.

    Once this done, tell whether she succeeded it, if so click "RESTART" to restart the computer, if it's not then try a different date.

    Once rebooted and you get on the desktop, you will receive a confirmation of the success of restorations. Click 'CLOSE' to continue.

    Diana

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think.

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • User accounts - I try to go into the user accounts and the computer just think and think I want to go out with the Task Manager. It's a Vista system

    I think that my nephew has attempted to change the user account profiles to get into blocked websites.  Any ideas?

    I think that my nephew has attempted to change the user account profiles to get into blocked websites.  Any ideas?

    Try a system restore to a Date before the problem began:

    Restore point:

    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-system-restore/

    Do Safe Mode system restore, if it is impossible to do in Normal Mode.

    Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.

    Try a restore of the system once, to choose a Restore Point prior to your problem...

    Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.

    http://www.windowsvistauserguide.com/system_restore.htm

    Read the above for a very good graph shows how backward more than 5 days in the System Restore Points by checking the correct box.

    See you soon.

    Mick Murphy - Microsoft partner

  • Logging on to the user account

    I tried to connect to my computer at home today however, he did not accept my password.  I don't have I changed password so I'm not sure why this problem occurred.  There is only one account on the computer, so I don't know how to log on to the computer at all.

    The error msg I get is the following:

    The user profile Service service has no logon.
    User profile cannot be loaded.

    This error can usually be fixed by following the steps below. All this requires a certain level of computer skills. You know better and that take the machine to a competent local computer tech (not a type of BigComputerStore/GeekSquad place) is the best solution for you.

    1 log on to a different user account with administrative privileges. If you neglected to make an account additional administrative steps 2-3. Otherwise, continue to step 4. See also General information on setting up user accounts in Vista at the end of this post.

    2 in Mode safe boot. This, by repeatedly pressing the F8 key as the computer starts. That you will get to the menu on the right where you can use your arrow key to select Mode safe [Enter]. The built-in Administrator account is disabled by default in Vista. However, if no other administrative accounts exist on the system it can be activated. If this is the case, you will see an icon for the administrator on the homescreen mode without failure. Login to the administrator.

    3 If you don't see the icon for the administrator mode safe account, then the built-in Administrator account is always disabled so you will need to work more.

    a. If you have a Vista DVD installation (not a recovery DVDs), you can start the system with it. Select the default language, then select "repair your computer". Then select "Command Prompt". At the command prompt, type:

    NET user administrator / Active: Yes [Enter]

    If you do not have a Vista installation DVD, you can do a repair file Vista bootable DVD in this link:

    http://NeoSmart.net/blog/2008/Windows-Vista-recovery-disc-download/

    Note: All the Neosmart recovery disk downloads are torrent files. There is a good explanation of the torrent on the site Web of Neosmart files. You will need a torrent as muTorrent client to get the files. Torrent client will download the .iso file with which to create the bootable DVD.

    Now remove the rescue CD/DVD, you have done, reboot Windows and log on to the built-in Administrator account, you enabled.

    4. try a system restore to when things worked. If you can log in to your user account, you are finished. Otherwise, continue to step 5.

    5. the critical files are under % systemdrive%\users\user-account\ntuser. The ntuser.dat file is actually a registry hive. Run Regedit high and select HKEY_USERS and "load hive" in the menu. Now, go to:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

    There is a line for each profile. If a profile is bad, check:

    (a) that the name of the key does not stop in ".bak" (remove .bak If it)
    (b) that the RefCount value is 0 (change it if it is different)
    (c) that the State value is 0 (change if different)

    Make the necessary changes, close Regedit and try to connect as this user.

    6. If that doesn't solve your profile, it is corrupt. At this point you can either make a new user account and copy your data on it or simply make a new user account and delete the old a corrupt. Do not delete the old account until you have recovered data you need! Post back if you need help by creating a new user account and copy of data to it.

    You absolutely don't want to have only one user account. As XP and all the other modern operating systems, Vista is an OS multi-user with system built-in accounts such as administrator, by default, all users and guest. These accounts should be left alone because they are part of the structure of the operating system.

    In particular, you do not want one account user with administrative privileges on Vista because the administrator account integrated (normally only used in emergencies) is disabled by default. If you use as an administrator for your daily work, and this account is corrupt, things will be difficult. It is not impossible to activate the built-in administrator to rescue things, but it will take third-party tools and work outside the operating system.

    The user account that is for your daily work must be a Standard user, with the extra administrative user (call it something like 'CompAdmin' or 'Tech' or similar) only it for elevation purposes. As a user Standard is recommended for security reasons and will help protect your computer against infections. After you have created "CompAdmin", connect to it and change your normal user account Standard. Then log on to your regular account.

    If you want to go directly to the desktop and ignore the Welcome screen with the icons of the user accounts, you can do this:

    Start Orb > Search box > type: netplwiz [Enter]
    Click continue (or provide an administrator password) when you are prompted by UAC

    Uncheck "users must enter a user name and password to use this computer". Select a user account to connect automatically by clicking on the account you want to highlight and press OK. Enter the password for this user account (when it exists) when you are prompted. Leave blank if there is no password (null).
    MS - MVP - Elephant Boy computers - don't panic!

  • The code of failure of the authentication protocol Kerberos was "the user account has been automatically locked because too many attempts to invalid login or password change attempts have been requested.

    Hello

    I use Windows 7 (32-bit) with SP1.

    Quite often (at least three times a day) I am to be locked of my PC and cannot connect to 30 mts each time. I've analyzed carefully and there is absolutely nothing wrong with my ID on the front of Windows AD or group etc. policy.

    I am getting event ID 40690 in my observer of events and here are the details...

    WARNING on 09/06/2011 09:07:54 lsasrv 40960 any

    Log name: System

    Source: lsasrv with

    Date: 09/06/2011 09:07:54

    Event ID: 40960

    Task category: no

    Level: WARNING

    Keywords:

    User: SYSTEM

    Computer: workstation.companyname.com

    Description:

    The security system detected an authentication for the HTTP/http-proxy server error - nom_societe.com. The code of failure of the authentication protocol Kerberos was "the user account has been automatically locked because too many attempts to invalid login or password change attempts have been requested.

    (0xc0000234).

    I searched all possible sites and cannot find an appropriate solution.

    As it is causing a lot of inconvenience would appreciate a miracle solution as soon as POSSIBLE.

    See you soon,.

    bcshekar

    Hi bcshekar,

    The question you have posted is related to the area and would be better suited to the net Tech community. Please visit the link below to find a community that will provide the support you want.
    http://social.technet.Microsoft.com/forums/en-us/w7itprosecurity/threads

  • ASA view user certificates expiration date

    Hello!

    There's ASA with remote VPN access and the users are authenticated using third party signed certificates (it's not local ASA).

    When the user certificate expires I can see it in syslog messages. For example:

    % ASA-3-717009: failed validation of certificate. The certificate date is out-of-range, serial number: (...)

    I would like to know if there is an opportunity to see certificate expiry date in advance, for example, the user, 3 days before?

    Thank you!

    Hi Oleg,

    the user should get a warning when its certificate expires, but on the SAA you cannot detect that, sorry.

    HTH

    Herbert

  • The user account icon continues to blink

    The user account icon continues to Flash even though I repeatedly answered "no" to if I want a program to make changes to my computer. I use Windows 7.

    Hello

    1. you remember to make changes to the computer before this problem?

    2. when exactly you get the error message?

    3. What is the full error message?

    4. which antivirus program is installed on the computer?

    Follow these steps:

    Method 1: Run an antivirus with Microsoft Safety scanner scan and check if the computer us is not infected.

    http://www.Microsoft.com/security/scanner/en-us/default.aspx
    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.
    The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    Method 2:  To determine whether a third-party program is causing this problem, you can check in a clean boot state.

    To help solve problems, you can start Windows 7 by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135
    Please note:  After troubleshooting, be sure to put the computer to a Normal startup mode.

  • Download firefox 10, Setup asked for the user account, enter the type of w/admin myPC, firefox exit installtion (Toshiba A665/I7/windoe 7)

    My computer is Toshiba A665 w/Intel core I7 and Windows 7 installed. When I run the installer of firefox 10, he asked for the user account ID and password. I entered the name of the computer that is mine with admin enter the account and a correct password. Installation of Firefox to quit smoking. No screen / another reply?

    Hello

    Please try a right click on the downloaded file and select run as administrator.

  • Access to the USER account

    Hello

    Unable to access user account! So I have to go as a guest! How can I get access in the comments, I type the password as an administrator as the user account is the administrator who is the account that I can't access!

    Suppose I want to remove the password so that I can access it again, but do not know how...

    Sorry, but all history is somewhat strange.
    Maybe a stupid question now belongs but this laptop you or are you trying to access the laptop computer that belongs to someone else?

    I mean, you know the correct password, and I don't understand what the problem is here.
    What model of laptop do you have?

    Another question: did you create recovery disk for your laptop? Without correct password, you will not be able to start the installation of HARD drive recovery too. It can now be quite problematic.

  • Extra ' ' my Documets folder in my system and the USER account.

    I use XP Pro and my system has been reinstalled around March. I was bound and not not determine that this happen. I went to Western Digital and watched the external 500 GB drive. They were always out of stock, so I said the * with it and go the 1 Terabyte.The lead first had problems so I had to wait again. When it arrived I started to drag / drop my file on the external drive. Somehow. and I don't know how to explain 'USER', that is Documents and settings - all users by default Administrator USER user the "USER" account earned an extra folder called got an additional file 'My Documents' on this account, it is a system file and I can't remove it. " I CAN move it. So should I just day forget about it or just keep three "My Documents" on my system. Note that the extra "My Documents" file is not on the external drive. I know I asked this before. I tried all the suggestions, but good number of suggestions I could not follow because the procedure was not on my system.

    All user accounts have the 'My Documents' folder and some of them are not the standard user system or administrator accounts that don't care.

    As long as you save in 'My Documents' in your profile then life is simple. Your profile is physically located in C:\documents and setings but do not venture here as your dekstop icons already give you shortcuts to 'My Documents'. Voila

Maybe you are looking for