New user password

Hi,
can we prompt a data base user to change his password on first time log in?
like dba created a user by a passwrod ..and now when any one login by using this password ..i need to prompt him to change his password ..just like in O/S user.. and every after 1 month it should disply to change his password ..
when he log in to the data base...? is there any way to do it..
can we use profile file here to set password expirey time ....and other things ?

Add the "PASSWORD EXPIRE" clause to the "CREATE USER" command.
eg
CREATE USER HEMANT IDENTIFIED BY hemantpass123 PROFILE custom PASSWORD EXPIRE;Profile "custom" could have set Password Expiry to 30 days.
The PASSWORD EXPIRE in the CREATE command expires the first password.
Thereafter, the "custom" profile expiry of 30 days comes into play.

Similar Messages

  • Upgrade from 3.0 to 3.1 new user password reset error

    hello, we upgraded from 3.0 to 3.1 last friday and have come across the following issue: New users being required to change their password for the first log in are receiving an error message:
    (Error: Item "P50_USER_NAME" was not displayed because the HTML form was not yet opened.Error: Item "P50_ENTER_CURRENT_PASSWORD" was not displayed because the HTML form was not yet opened.Error: Item "P50_PASSWORD" was not displayed because the HTML form was not yet opened.Error: Item "P50_CONFIRM_PASSWORD" was not displayed because the HTML form was not yet opened.Error: Item "P50_SESSION" was not displayed because the HTML form was not yet opened. )
    This is occuring with existing applications as well as with a newly created application (after the upgrade). Also, what's interesting is that if you log directly into apex (the screen with the workspace login, etc....it works fine and directs you to a different URL. Obviously our users wouldn't be accessing this url.) here's the 2 urls just so you can see the application/page differences (4155/50 verses 4350/68)
    This is the URL that end-users are being directed to which shows the error:
    /f?p=4155:50:3096404055109898::NO::P50_SESSION,FSP_AFTER_LOGIN_URL:2551476413459584,f?p=114
    This is the URL that is working when logging into apex directly:
    /f?p=4350:68:984059594353829
    Looks like it has something to do with #form_open# and the template/theme? Any suggestions on how to fix?
    Also, I uploaded an application to apex.oracle.com and it works fine there.
    I've searched the documentation and the forum and didn't come up with anything.
    Thanks for the help!! Melissa
    Message was edited by:
    murkym

    Please tell us your first name and put it into your OTN profile and handle as a courtesy and help to us. Thanks.
    There is a patch for this problem on Metalink for bug 7138068, file p7138068_111060_GENERIC.zip.
    Scott

  • Packaged App - Document Library - New user password?

    How do you set the password for a new user on the Document Library packaged app. The documentation suggests that by default it uses 'Standard application express authentication' which can then be changed. In which case the user admin function in the app does not work in its default state and would need to be removed if the user wants to use 'Standard application express authentication' (or does it?)
    Which leads me to another question:
    Is it possible to manage application express users from an application express app in Apex 3.0?
    Thanks
    Simon

    Simon:
    For a new user, you also need to create them as a normal Application Express authenticated user. To do that, click the Manage Application Express Users link under Administration from the Application Expres home page.
    The only thing the Document Library handles is authorization (who can do what). Authentication (who the heck are you) is determined by the application setting, which by default is standard Application Express authentication. So all you are doing in the Document Library on the user administration page, is defining who is a reader, contributor, or administrator. You are not actually creating users, you are just defining the rights for existing users.
    Regarding your second question, you can use the APEX_UTIL API to handle user management within your application. See:
    http://download-west.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32471/api.htm#CHDBDCIE
    Specifically, CREATE_USER Procedure, EDIT_USER Procedure, CHANGE_CURRENT_USER_PW Procedure, etc.
    Regards,
    Jason

  • [SOLVED] new user password not being accepted

    I just installed, and I created my normal non-root user and created a password for it using passwd slackcub.  When I tried to log into it later, I kept getting a message saying login incorrect.  I tried changing the password several time running passwd slackcub, but to no help.  The thing I find most interesting is if I log in as root, run su - slackcub, then passwd, when it prompts me for my current password, it accepts as correct what I had just set it as previously. What could be causing my install to refuse login to a normal user?
    David
    Last edited by slackcub (2013-07-26 15:36:40)

    How exactly are you setting that user's shell? Check /etc/shells to see what path to the shell should be:
    $ cat /etc/shells
    # /etc/shells
    /bin/sh
    /bin/bash
    # End of file
    /usr/bin/zsh
    As you can see it's /bin/bash but /usr/bin/zsh.
    https://mailman.archlinux.org/pipermail … 33740.html

  • Restoring keychain & other user files to new user

    My HD died & Apple is replacing it. I have recent backups of my Keychain & other user settings on my iDisk that I want to restore when I get my Mac back (5 days to put in a new HD!)
    The new user & password that Apple is setting up on the new HD is going to be different than on my defunct drive, so I'm wondering if I'm going to run into problems restoring my backups to a new user name.
    Are there specific steps I need to take to have the old files usable by the new user?
    thanks

    The new user & password that Apple is setting up on the new HD is going to be different than on my defunct drive, so I'm wondering if I'm going to run into problems restoring my backups to a new user name.
    Create another new account, same as your old account, why not?
    Nothing preventing or stopping you.
    Most defunct drives can be reformatted with zero-all option and might still work, unless it really was a hard crash (rare) and the head "dived" into the platter or something.

  • New User Log in

    I m running 10.4.10 and I have tried to create a new user account. Every time I try and add a new user I am able to create a name and password and it the system seems to accept it however when I try to log in with that user name and then password I get the jiggling password box. I have tried multiple times to no avail . This was also a problem under 10.4.1 etc. All else seems OK. Tried correcting permissions, Techtool, Disk Warrior, Zapping Pram etc.
    Bob

    You sure you got the casing of the password correct?
    You can change the password. These two methods will skip lots of the normal change password software.
    Mac OS X:
    Changing or resetting an account password via GUI:
    http://docs.info.apple.com/article.html?artnum=106156
    Changing password from single user mode:
    You can also change the a password from single user mode. These steps are more complicated.
    You need to get into single use mode for steps one and two that are listed below.
    This page will tell you how to get into single user mode.
    http://www.securemac.com/macosxsingleuser.php
    Basically, you hold down the command-s key when powering on. The command key has a little apple symbol on the lower left. It is between the alt/option key and the space bar. On a PC keyboard, it will be the windows key, I think.
    You can change the password on an account. ( Do you know Unix. You are in a Unix single user console. )
    To find out the users on the system type:
    ls /Users
    Pick one of the users and type:
    passwd a-user-name
    and enter the new user password. You need six characters.
    Robert

  • IMac stuck in new user registration video

    Hello, I have an iMac Flat Panel 1Ghz I got off ebay. I don't know the admin username and password and performed the apple recommended startup in Single User using Control-s on startup. This worked fine as I now have reset this iMac to startup on the original Apple registration video. I fill in the new user registration info but it gets stuck or freezes up after I select this computer does not connect to the internet. Is there anything I can do before I buy a new hard drive? Any help is appreciated. I don't have the original system install disks and it has system Tiger 10.4 and it won't boot up from an install disk, it goes directly into the new registration video and gets stuck. Help!!

    You can recreate the missing file.
    cd /var/db
    mac $ ls -la .AppleSetupDone 
    -rw-------   1 root  wheel  1060 Nov 24  2007 .AppleSetupDone
    pico .AppleSetupDone
    copy & paste this into pico:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
            <key>Address</key>
            <dict>
                    <key>AreaCode</key>
                    <string>111</string>
                    <key>City</key>
                    <string>City</string>
                    <key>Company</key>
                    <string></string>
                    <key>CountryName</key>
                    <string>name</string>
                    <key>ExistingEmailAddress</key>
                    <string></string>
                    <key>FirstName</key>
                    <string>Robert</string>
                    <key>LastName</key>
                    <string>last</string>
                    <key>LocalPhoneNumber</key>
                    <string>1111111</string>
                    <key>StateProv</key>
                    <string>st</string>
                    <key>StreetAddr1</key>
                    <string>1 St</string>
                    <key>StreetAddr2</key>
                    <string></string>
                    <key>ZipPostal</key>
                    <string>00000</string>
            </dict>
            <key>RegistrationInfo</key>
            <dict>
                    <key>AppleSpam</key>
                    <string>NO</string>
                    <key>Location</key>
                    <string>z</string>
                    <key>Occupation</key>
                    <string>0</string>
                    <key>OthersSpam</key>
                    <string>NO</string>
            </dict>
    </dict>
    </plist>
    *now type:*
    control-x
    y
    This information does not apply to accounts that have filevault. I do not believe that you can change the password to a filevault account with in these methods.
    Overview on how to fix password problems
    Try running repair permissions and check for file integrity in disk utility. You do this from your startup disk. Try resetting the password by using the passswd or try deleting the .applesetupdone file. If this doesn't work, you are going to have to trash the netinfo database. Once you get logged on, you will need to re-access your data.
    Disk Utility
    This article deals with disk recovery, it will tell you how to get to disk utility.
    http://support.apple.com/kb/TS1417
    Change Password
    Mac OS X:
    Changing or resetting an account password via GUI:
    Resetting a user's password
    Resetting the original administrator account password
    http://docs.info.apple.com/article.html?artnum=106156
    You do not have a CD/DVD
    Changing password from single user mode:
    You can also change the administrator's password from single user mode or create a new administrator account.
    You need to get into single use mode for steps one and two that are listed below.
    This page will tell you how to get into single user mode.
    http://support.apple.com/kb/HT1492
    Basically, you hold down the command-s key then powering on your machine. The command key has a little apple symbol on the lower left. It is between the alt/option key and the space bar. On a PC keyboard, it will be the windows key, I think.
    1) You can change the password on an account. ( Do you know Unix. You are in a Unix single user console. ) The setup commands you need should be listed on the screen. For Mac OS 10.4.11, the commands are:
    # Type the follow two instructions to access the startup disk in read/write:
    /sbin/fsck -fy
    /sbin/mount -uw /
    # Start up some utility processes that are needed.
    sh /etc/rc
    # You will probably need to press the return key once the system stops typing.
    # To find out the users on the system type, use the list command. The l is a lower case L:
    ls /Users
    # One of these accounts will be the administrator.
    # Pick one of the users which I'll call a-user-name and type it in this command:
    passwd a-user-name
    # and enter the new user password. You need six characters.
    # You will need to enter your password twice. Your typing will not show up on the screen just
    # press enter when you complete the typing.
    # For cryptic information on these commands try:
    man ls
    man passwd
    The root account isn't enabled by default. I am not sure if changing the password on root will enable it.
    2) Get the Mac to set up an additional administrative account. You can then change the password on your old account.
    Start with your computer power off. Hold down command-s. Power on your computer.
    Type in the following:
    The first two commands will depend on your release of Mac OS X. Look at what is typed out in the console to determine the exact format.
    # Type the follow two instructions to access the startup disk in read/write. Press return after each command.
    /sbin/fsck -fy
    /sbin/mount -uw /
    cd /var/db
    pwd
    #List all files. The l is a lower case L.
    ls -a
    #The move command acts as a rename command in this format.
    mv -i .applesetupdone .applesetupdone.old
    reboot
    Once you've done that the computer reboots and it's like the first time you used the machine. Your old accounts are all safe. From there you just change all other account passwords in the account preferences!!
    Limnos adds detailed explainations:
    http://discussions.apple.com/message.jspa?messageID=8441597#8441597
    The above the idea came from a post by JoseAranda at September 9, 2006 3:48 AM
    http://www.askdavetaylor.com/howdo_i_reset_my_mac_os_x_admin_rootpassword.html
    You will need to scroll down to see this post. Search for applesetupdone
    Or see:
    http://superpixel.ch/articles/running-setup-assistant-again/
    Once you have a new administrative account, you can change the password of your old administrative account
    blue apple > System Preferences > Accounts
    • You can see that it is easy to change your administrator password. You can set a firmware password that you enter before your machine will boot.
    http://support.apple.com/kb/HT1352
    • For the best data security, you should use FileVault. Create a good logon password. Define and use a good backup plan. I do not recommend using FileVault unless you really need the security because it is much harder to recover your data should you have a hard drive problem and you do not have your data backed up.

  • HT201240 This process does not appear to work for me.  I'm running 10.8.3.  I created a new user for a guest staying with me.  They have gone now and I am attempting to either change the password or delete the user.  It won't allow me to choose the user I

    This process does not appear to work for me.  I'm running 10.8.3.  I created a new user for a guest staying with me.  They have gone now and I am attempting to either change the password or delete the user.  It won't allow me to choose the user I created.  I am logged in as myself and it states that I am an "Admin".  The user I'm attempting to change is listed as a "standard" user and there is a white checkmark inside an orange circular background on the user pic in the list of users. 
    Can someone help me?  I am having a hard time believing that OSx will allow me to create users and allow them use of my computer and it's drives, yet it will not allow me to change the password so I can monitor what they might have been doing while logged on?  What if this were my child?  This guest left under sketchy circumstances, and I'd really like to be able to ensure they were not using my computer to do illegal things or to have illegal communications.
    Any help would be appreciated.  (It's odd that it was so simple to "create" a user and set a password for them.......but it's complicated or a little known process to reverse.
    Thanks.

    Here are two screen shots to show you what I am seeing.  The first screen shot shows it allowing me to select (highlighted in blue) my admin user (which is what I am locced in as).  The second screen shot shows it allowing me to select the "Guest" user (highlighted in blue).  However when I click on the user "Orion" nothing happens.  It will not change to highlight that user.

  • HT5661 I have installed IOS7. My iphone wants a password for an old account which I had updated to a new account. I do not remember the old password. How can I change my userid on my iphone to my new user id?

    I have installed iOS7 on my iphone. The phone for some reason has my old user id which I have forgotten the password for.
    My other i products are all under my new user id.
    How can I change my user id on my iphone 4s?

    Change you account in
    Settings >> Messages
    Settings >> FaceTime
    Settings >> iTunes &amp; AppStore

  • How can i add a new user and change user'password with javamail?

    how can i add a new user and change user'password from a mailserver with javamail?
    email:[email protected]

    Well user creation and updation is a system property..U need to go through that part...as it depends on the system you are hosting pout your application...
    if it is linux...u have to use some shell programming\
    bye for now let me know if this guides you or if you need some more stuff.
    bye

  • How to create a new user in IDM 8.1 with random generated password?

    Hi, i want create a new user using a modified tabbed user fom that cannot ask for password and confirm password to the administrator but randomly generate a new password (only when the form is opened in user creation) according to password policy and display it on the form.
    I think it is possible because Reset User Password Form does it, but i don't know how put this kind og logic in an other form.
    thanks
    Marco

    If you want to generate a users password randomly then you could take a look at the com.waveset.provision.PasswordGenerator class inside the Identity Mgr REF kit. Here's an example:
    <Rule name='generateRandomPassword'>
           <Comments>generate a random password</Comments>
           <RuleArgument name='accountId' value='Configurator'>
             <Comments>accountId of the user</Comments>
             <String>Configurator</String>
           </RuleArgument>
           <RunAsUser>
             <ObjectRef type='User' id='#ID#Configurator' name='Configurator'/>
           </RunAsUser>
           <block trace='true'>
             <defvar name='session'>
               <or>
                 <ref>context</ref>
                 <ref>display.session</ref>
               </or>
             </defvar>
             <defvar name='wsuser'>
               <invoke name='getObject' class='com.waveset.ui.FormUtil'>
                 <ref>session</ref>
                 <s>User</s>
                 <ref>accountId</ref>
               </invoke>
             </defvar>
              <defvar name='pwgenerator'>
               <new class='com.waveset.provision.PasswordGenerator'>
                 <ref>session</ref>
               </new>
             </defvar>
             <invoke name='generatePassword'>
               <ref>pwgenerator</ref>
               <ref>wsuser</ref>
             </invoke>
           </block>
        </Rule> You'll want to take the password.password field and inside the Default event handler check to see if waveset.id is null, if it is then call the Rule above.
    HTH,
    Paul

  • I had a 'dead' iMac repaired and it needed a new HDD & graphics card, the repairer installed OSX 10.6.8 and i now need to install other software but I am being asked for 'User' password so I may do this, I've no idea what this will be.  Help please.

    I had a 'dead' iMac repaired and it needed a new HDD and graphics card, the repairer installed OSX 10.6.8 and i now need to install other software but I am being asked for 'User' password so I may do this, I have no idea what this will be.  can anybody help please?
    <Personal Information Edited by Host>

    On looking at the secure.log on the iMac with OSX10.6.8, I see these entries at each attempt to scp into the iMac:
    Dec 29 11:06:20 molika sshd[7248]: in pam_sm_authenticate(): Failed to determine Kerberos principal name.
    Dec 29 11:06:26 molika sshd[7246]: Accepted keyboard-interactive/pam for prowat from 137.110.243.132 port 35571 ssh2
    Dec 29 11:06:26 molika com.apple.SecurityServer[26]: Session 0x236a14 created
    Dec 29 11:06:26 molika com.apple.SecurityServer[26]: Session 0x236a14 attributes 0x20
    Dec 29 11:06:27 molika com.apple.SecurityServer[26]: Session 0x236a14 dead
    Dec 29 11:06:27 molika com.apple.SecurityServer[26]: Killing auth hosts
    Dec 29 11:06:27 molika com.apple.SecurityServer[26]: Session 0x236a14 destroyed
    I don't know what to make of this.
    Peter R

  • What is the password for the new user account that is set up via Migration Assistant?

    I recently purchased a new Macbook Pro, and used Migration Assistant to download My Documents from a previous PC desktop. The migration was successful, but afterwards the new user account that was set up to house all the new documents became inaccessible to me.
    My administrator's password works for my computer and I am able to log in and out, change settings, etc.
    However, if I try to log in to the new user account, no password works. Through the administrator's account I have also attempted to change the password, and I am allowed to do so, but when I use the new password I set up, it still denies me access.
    Additionally, if I log out the administrator's account and click the new account to log in, it prompts me to make a new password for the account, and whatever I enter is also rejected as "incorrect." (The screen shakes)
    I am very frustrated my inability to access this information I must use to work, and I have no idea what the password might be, or how to change it properly.
    PLEASE HELP COMMUNITY! I have only had my mac for about a week and I have had it up to hear with this "user friendly" system.

    You can change the password from Visual administrator. login to visual administrator, and select services,, under that you will find the system details. change the password.
    even if the visual administrator password is expired then u can go thorugh configtoo.bat and there u can change the password.
    if that even not possible then u need to login to sql and can execute the commands for changing password.
    Regards,
    mahesh

  • Am a new user - iPad3. As my Apple ID I used my Yahoo!Mail address and but used adifferent password to that which I use on Yahoo. In my icloud email account Account shows as my Yahoo mail address but neither my Apple password nor my Yahoo pasword work.

    Am a new user - iPad3. As my Apple ID I used my Yahoo!Mail address and but used adifferent password to that which I use on Yahoo. In my icloud email account Account shows as my Yahoo mail address but neither my Apple password nor my Yahoo pasword work. I am also unable to open any other mail accounts such as gmail. Can anyone help please?

    Sign out and sign in with new Apple ID
    Settings>iTunes and App Store>Apple ID

  • My friend gave his Macbook pro to me a month ago but he forgot his password. I want to log him out and creat a new user account of myself.

    my friend gave his Macbook pro to me a month ago but he forgot his password. I want to log him out and creat a new user account of myself.

    Did your friend also provided you with the original DVDs that came with the MacBook Pro?

Maybe you are looking for

  • My macbook pro will not recognize my Seagate external hard drive.

    Last night it was working fine, but I noticed that  every time I plug in my hard drive there is a bunch of files in my trash bin.  I tried to delete them and my trash bin goes into the negatives and never stops.  I tried dragging those files from the

  • Spry Validation issue.

    I'm trying to use spry validation to have some informative text disappear from a text area when the user clicks on the text area. Attached is my code. What am I doing wrong?

  • Video transfer/copy to PC

    I can transfer photos without problems from my iPhone 4 to my PC.  However, it will not copy/transfer my videos taken with my iPhone.  Is my PC missing some software that will allow me to do this?

  • EDI order creation

    Dear friends, I have used MV45FZZ program to add/activate  'ZD03' pricing condition at the sales order item level, based on some condition. I have included the logic in form, <b>USEREXIT_SAVE_DOCUMENT_PREPARE</b> . This logic is working fine for VA01

  • How to apply transitions between clips in the same track?

    Hey guys, I'm in Uni on Final Cut Pro 5 and all the videos and discussions tell of how to apply transitions between clips in the same track. I like to have my clips on different tracks so that I can overlap them at specific points but I don't know ho