Password on encrypted volume not being "forgotten"

I've set up an encrypted disk image (sparsebundle) and written a short bash script to simulate the old-style FileVault (to protect just a single account.)  It uses a folder within the encrypted volume as the home folder of an account that I use for sensitive information.  While it took a little while to get the permissions/ownership right on the volume and image, it works fine.  The other tricky part was that I have the script close the volume after it detects the account has been logged out -- I discovered I needed to wait a while for the logout to complete before closing the volume (otherwise it seemed like the system was trying to read or write from the volume even after "who" showed the account was logged out, and so it created a new home directory that confuses things.)  Now, the "problem" I have is this.  The first time the script opens the encrypted volume the system of course asks for the password.  Thereafter unless I reboot (logging in and out of the non-protected account I start the script from doesn't help) and possibly after a *long* time, tthe system seems to be remembering the password to the file -- on subsequent uses of the script the volume is opened without me being asked for the password.  I have examined carefully what I do when entering the password to make sure it's not saved in the keychain -- and indeed it isn't (verified by looking at the keychain).  Does anyone have any idea where the system (presumably the Finder) is saving the password and how to get it to "forget" it?  (I just realized I haven't checked to see if the password is "remembered" system-wide or just in the un-protected account.)  I've looked in both the system and account set of caches and nothing is obvious (all the finder cached data is in a single database, presumably in some obscure format.)
Ted Lee
Minnetonka, MN

Some more experiments.  Since I was using the encrypted image to simulate FileVault, I put the image in the /User directory (which is where the old FileVault put its image for an account.)  This time I created another encrypted sparsebundle in a directory on my desktop -- the system did *not* remember the password for it (I had to enter it each time I opened it.)   More interestingly, diskutil *knew* about and remembered the image I'd put in /Users, but not the one on my desktop.  Diskutil even said that the volume inside it was an unmounted (encrypted) partition.   So it appears the system is "remembering" images that are in the /User directory -- I have no idea if there are other directories (say, /Library) where it would be remembered too.  But the "memory" has something to do with the live system -- since if I restart, the "memory" is lost.  Whether it is kept in some none-obvious place in the file system that disappears on shutdown or restart or just in virtual memory I of course don't know.

Similar Messages

  • Password for oc4jadmin is not being set for silent install.

    Application Server 10.1.3 for Windows
    I have recorded a silent install response file. I have added the following line in order to set the password of the oc4jadmin account, but it does not appear to work because I get an invalid username/password when loggin in to the App Server console.
    oracle.iappserver.instance:szl_InstanceInformation={ "cm1" , "hello123" , "hello123" }
    This line worked fine in version 10.1.2.
    Any clues on what could be going wrong?
    - Thanks

    Can you try with the following line in the install response file:
    sl_adminDialogReturn={"ias7023","oc4jadmin","welcome1","welcome1","Using the local Application Server Control installed with this instance"}

  • /VOLUMES/ not being recognized properly

    For years i have been using NetInfo Manager to change the location of my home folder to a different partition (this facilitates easy re-installation of the OS when needed). Tonight while doing some house cleaning i noticed that my Mac OS X partition had a folder called VOLUMES present on it. Inside this folder were two alias', one to each of my partitions. I had no idea how the folder got there, and deleted it assuming they were remnants of a program gone awry. As soon as that happened the finder crashed and restarted. Upon restart all of my preferences were gone, and the OS was pointing to a newly created VOLUMES folder on the Mac OS X drive as my home folder. I went into netinfo manager and everything was fine:
    When I go to Computer I can see both of my partitions, and all of the data is still there:
    but for some reason my OS still thinks the folder in my Mac OS X partition is the true VOLUMES directory:
    I suspect that my system has been running like this for months, and that I disturbed it by deleting those Alias', but I have no idea how to fix it. Any help would be greatly appreciated.

    Hi Jeff,
    fstab isn't an issue. First BACKUP the drive Internal that shows on your Desktop. Then run Disk Utility and repair the drive Internal (not repair permissions).
    HFS+ is case insensitive but case preserving. The only way that the directory VOLUMES could be created is if the directory Volumes was missing from the root directory. The uppercase spelling of the directory Volumes may or may not be problematic.
    OS X follows the traditional Unix file system hierarchy. An upside-down tree starting at the root and directories that branch out. Other media is mounted in the Volumes directory. The Finder presents the Carbon file system hierarchy. Many trees in the forest, each represented on the Desktop. When you look at the file system in the Finder, the Volumes folder shows the media as individual "trees" as aliases or symbolic links.
    I'd be inclined to re-install the OS without preserving your present user settings. This time when you edit NetInfo
    change the property home to the value /Volumes/Internal/Users/Jeff . You might put a symbolic link in the /User directory. Or you could mount Internal/Users in the /Users directory (you would need to enable fstab in NetInfo -instructions can be found at MacOSXHints).
    Another option is to start your computer in single user mode. Then run a file system consistency check (Disk Utility):
    fsck -fy
    Mount the root file system:
    mount -uw /
    Make sure that you are in the root directory and create a directory saveduser:
    cd /
    mkdir saveduser
    Navigate to the VOLUMES directory and move the directory Internal to saveduser:
    cd VOLUMES
    mv Internal /saveduser
    Rename Internal 1 to Internal:
    mv Internal\ 1 Internal
    Now reboot with the command:
    reboot
    If all is well you can then deleted the saveduser directory. I'd first check it for any data that you might want to save.
    Good Luck

  • I am entering my apple username and password but it is not being recognised. I have entered my correct date of birth but it is  not recognising that either.

    I am having trouble updating the apps on my I=-phone because nothing I enter is recognised. I enter the e-mail address originally used and the correct password but it says it doesn't recognise this. I have also tried to re-set the password but it says it is sending me an e-mail to do this but it never comes. I have set up a new user ID and password but don't know how to transfer that so it updates my I-phone. Any ideas?

    You're going to have to call Apple and ask for Account Security in order to get this straightened out.

  • Password Reset Email is not being delivered.

    Checked Email, but there's nothing i can do to make the email send, it says it has, but it hasn't, and honostly ive been trying for ages, ive tried everything.

    Hi and Welcome to the Community!
    For security reasons, BBID reset emails are not delivered to the device...you must have other access to the email account in order to retrieve the email. For more information, pease see this "sticky" post for helpful information concerning your BBID situation:
    http://supportforums.blackberry.com/t5/BlackBerry-World/How-to-regain-access-to-your-BBID/td-p/25467...
    Hopefully, this information will be of use to you.
    Cheers, and Good Luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • I can't remember my itunes/Apple password and system does not send anything to my email address to reset the PW??

    How do I get to change my apple PW?  It says it is dendingme an email to help me reset it (I can't recall my present password), but it is not being delivered.  What do I do or try?

    Try this:
    https://iforgot.apple.com/cgi-bin/WebObjects/DSiForgot.woa/wa/iforgot

  • TS4040 I assumed this would help my problem with not being able to open apps like Preview or TextEdit since I installed Mountain Lion. Instead, first I'm prompted to enter a password, then once I do that, I get an error box telling me the Library needs re

    I assumed this would help my problem with not being able to open apps like Preview or TextEdit since I installed Mountain Lion. Instead, first I'm prompted to enter a password, then once I do that, I get an error box telling me the Library needs repairing. So I click on Repair, and once again I'm prompted for a password, which I enter, then the same error box opens, and so it goes. Can anyone help me with this problem? I'd greatly appreciate it.
    Thor

    Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Triple-click the following line to select it. Copy the selected text to the Clipboard (command-C):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -Rh $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Step 1 should give you usable permissions in your home folder. This step will restore special attributes set by OS X on some user folders to protect them from unintended deletion or renaming. You can skip this step if you don't consider that protection to be necessary, and if everything is working as expected after step 1.
    Boot into Recovery by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
    When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • Password not being included in Email Notification

    I am trying to include the password for a newly-created user, in the body of an Email Notification being sent out.
    But, the password is not being displayed.
    As we all know, IDM uses the following variable for "*Password*" :
    *<Field name='password.password'/>*
    So, I included the password variable in my Email Template, as follows :
    *<Variable name='mypassword'>*
    *<select>*
    *<ref>user.password.password</ref>*
    *</select>*
    *</Variable>*
    But, when the Email is sent, the password is displayed in the email body as follows :
    Password = "*Lighthouse_Fake_Password*"
    How can I get the password to be displayed in the Email?
    Thanks

    Hi Michael,
    since passwords are stored in encrypted format, you can not directly display them using user.password.password.
    You have to first decrypt them. Use below rule by passing account id to it.
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE Rule PUBLIC 'waveset.dtd' 'waveset.dtd'>
    <!--  MemberObjectGroups="#ID#Top" lastMod="8" lastModifier="Configurator" name="getUserPassword"-->
    <Rule name='getUserPassword' creator='Configurator' createDate='1242288447593' lastModifier='Configurator' lastModDate='1242361940859' lastMod='8' primaryObjectClass='Rule'>
      <RuleArgument name='accid'/>
      <block>
        <setvar name='passString'>
          <invoke name='decryptToString'>
            <get>
              <invoke name='getObject' class='com.waveset.ui.FormUtil'>
                <select>
                  <invoke name='getLighthouseContext'>
                    <ref>WF_CONTEXT</ref>
                  </invoke>
                  <ref>:display.session</ref>
                </select>
                <s>User</s>
                <ref>accid</ref>
              </invoke>
              <s>password</s>
            </get>
          </invoke>
        </setvar>
        <ref>passString</ref>
      </block>
      <MemberObjectGroups>
        <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
      </MemberObjectGroups>
      <Properties>
        <Property name='editorOriginalName' value='getUserPassword'/>
      </Properties>
    </Rule>

  • My apple ID and password, recognized through out the Cloud, is not being recognized in the itunes store. I am signed into itunes.When I want to change something in my account, the sign in prompt comes up and doesn't recognize my PW

    My apple ID and password, recognized through out the Cloud, is not being recognized in the itunes store. I am signed into itunes.When I want to change something in my account, the sign in prompt comes up and doesn't recognize my PW

    Solved the problem. I had to allow cookies for safari and it run - as here: Re: itunes keeps asking for my apple id password. it's NOT entered incorrectly.

  • How to fix my Apple ID from not being disabled? I have changed the password many times already and it still wont let me update apps or download apps

    How to fix my Apple ID from not being disabled? I have changed the password many times already and it still wont let me update apps or download apps

    Apple ID disabled
    http://support.apple.com/kb/TS2446
    If you still have problem, contact iTune Support
    https://ssl.apple.com/emea/support/itunes/contact.html

  • I just recently purcased my new ipod touch 5 but, have forgotten my password. It has not yet been connected to a computer but has been conected to icloud. How can I reset my password?

    Hi, I just recently purchased an ipod touch 5 and have already forgotten my password. I have not yet connected it to my computer so when I tried today it didn't show up as a device. When I tried to go into icloud on my other device, thinking that may help, it would not let me change the email because it was my school ipad. What should I do?

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen
    If recovery mode does not work try DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

  • How can I retrieve my password when the retrials email was not recoverable? I also can't use or pass the othere menace of recovery? Not being able to pass or answer the security questions?

    How can I retrieve my password when the retrials email was not recoverable either? I also can't use or pass the othere means of recovery? Not being able to pass or answer the security questions?
    I created a new ID but never being able to update the iTunes that were purchased/saved using the old id?
    I can't also delete.

    Hi Kazmania89,
    Welcome to the Support Communities!
    If you require additional assistance with this, click on the link below for guidance:
    Apple ID: Contacting Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699
    Once you are able to gain access to the old Apple ID, this article may be helpful:
    Using your Apple ID for Apple services
    http://support.apple.com/kb/HT4895
    I have purchased music, apps, or books with multiple Apple IDs. How can I get all of this content onto my iOS device?

    First, you need to copy all of your purchased content so it is on the same Mac or PC with iTunes. This computer should be the one you sync your device with. For more information on how to move your content, see these articles:
    Mac:  iTunes for Mac: How to copy purchases between computers
    PC:  iTunes for Windows: How to copy purchases between computers
    Next, authorize your computer to play content with each Apple ID in iTunes. Once your computer is authorized for all your content, it can be synced to your iPhone, iPad, or iPod touch. 
    Cheers,
    - Judy

  • I'm being asked to enter my ID password on my ipad for icloud, but the email is no longer active and reset remails are not being received.

    I'm being asked to enter my ID pswd on my ipad 2 for icloud. but the email address and ID are no longer being used, and reset emails are not being received. How can I deactivate this? I have another ID which works fine, but this issue with the old ID is not allowing me to use my ipad.  thanks.

    If your iPad is signed into an old ID and you are trying to change it, if the old ID is yours, and if it is an earlier version of your current ID, go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iDevice, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • I am ready to install Mountain Lion but my Administrator password is not being recognized. Why would this occur and what to do?

    I am ready to install Mountain Lion but my Administrator password is not being recognized.  What would cause this and what to do?

    You can try this:
    Mac OS X 10.6 Help- If you forget your administrator password

  • I have my iPhone 4s backed up on my mac but it seems it was encrypted with a password which i do not remember is there any other option to retrieve to the backup without restoring the device as a new one. Also I do not have access to a windows system.

    I have my iPhone 4s backed up on my mac but it seems it was encrypted with a password which i do not remember is there any other option to retrieve to the backup without restoring the device as a new one. Also I do not have access to a windows system.

    Sorry no, if you don't knnow the encrypted password, then you can't use that backjup.

Maybe you are looking for

  • How do I export the workspace I set up in CS6 32 bit to the 64 bit version?

    I've grown to accept that workspaces can't be simply exported from a previous version of AI and imported into the next one. So I painstakingly set up my workspace in the 32 bit version of Illustrator CS6, all the panels laid up over 2 screens in the

  • Viewsonic VX2452MH-CH 24" blinking and static.

    Situation ViewSonic Monitor will blink a few times then go static after 10-15 minutes of use. Then must disconnect and reconnect after a few minutes. Problem will persist. Setup MacBook Air 13" Mid-2013 | OS X 10.9.4 | 1.7 GHz Intel Core i7 | 8GB 160

  • Option to create a collection upon Import.

    One of the benefits of Lightroom is its ability to allow freeform photo management in collections. In its current version (1.0) the user must Import and then create a separate collection category and drag pictures to the newly created collection from

  • Not connecting to the same network after sleep

    I'm working on a MacBook that is running Mac OS X (10.5.8) for a friend. It has all the specs that should be running circles around my MacBook running Mac OS X (10.6.2) which is five years old. However the hard drive had to be replaced on my computer

  • OSX mountain lion-can´t find the right code to enter in app store

    I´ve bought the mountain lion for my girlfriends iMac, I got two emails and have managed to open the PDF that were attached, with the security code from the other email. No, in the PDF there are several codes and no one of them is OK when entering th