Can't get login script to work - tried both prefs and tty methods ...

Calling all you script gurus ...
I'm trying to auto-mount a sparse image on login (why? I got my 17" stolen along with the data - i'm using an encrypted image as my document repository now).
I can't get this simple script to run using either method (modifying the LoginWindow plist OR the apple suggested method of adding the section into the /etc/ttys file.
I've tested the script file from the terminal and all works fine.
Any ideas?
Thanks
Paul
MBP 2.1GHz, iBook 12" 1GHz, G3 PowerMac   Mac OS X (10.4.6)   Stolen Powerbook 17" S# W8505160RJ3 - reward offered

I personally haven't had much success with the '/etc/ttys' method for specifying login hooks either...
On the other hand, the ".plist" method has worked well for me in the past. Just in case you weren't aware, note that the the file for specifying a "login hook" via ".plist" file has changed in "Tiger" compared to "Panther". It was never the "loginwindow.plist", which is used for specifying "Login Items", but rather the "com.apple.loginwindow.plist" file, but unlike "Panther" which used "/Library/Preferences/com.apple.loginwindow.plist" (a security issue for which Apple was rightly criticized), in "Tiger" Apple wisely changed the location to a more secure directory, ie. "/private/var/root/Library/Preferences/com.apple.loginwindow.plist". The current procedures for specifying "login hooks" via ".plist" file can be found in this document:
http://docs.info.apple.com/article.html?artnum=301446
But as far as mounting a disk image is concerned, adding the mounted volume (rather than a script to mount the disk image) to "Login Items" should be sufficient to initiate the mounting process...

Similar Messages

  • Can QuickTime format a movie to work on both AppleTV and iPhone in 1 file?

    Is there a way to convert something in Quicktime that will work on both AppleTV and the iPhone (or anywhere else for that matter)? Or, do I need to convert it in two separate formats and have both of those files in iTunes?
    Thanks in advance.

    If you format it for the iPhone, it'll also work on the AppleTV. What you can't do is create a file using the high resolution mode of the AppleTV that will work on the iPhone.

  • HT204053 I can not get my Icloud to work on my iphone and ipad since i set up my new email addy on Apple Icloud won't let me change it on those devices ...Plz Help Shey

    I can not get my Iphone or ipad to except the new email address that is now on Apple so nothing will back up or work on Icloud on those devices Thx plz help Sheyw

    With iCloud on the phone, you will need to remove the account, then add it back in with the new address.  It is a bit awkward, but the only way to change the AppleID for the iCloud account login is to delete the account then add it back with the new credentials.  You won't loose anything as the iCloud account is still the same one, you just need to re-associate the AppleID credentials for it on the iPhone.

  • Can't get my facetime to work with my mac and my wifes i phone touch

    my face time does not work with my macbook connecting to my wifes i phone touch and we are in the same room she calls me my mac rings then cuts straight off. My mac will not connect to hers at all

    Out of curiosity, are you trying to connect each device using the same account? If so, the devices may be getting confused on which one it's calling from and which one it should be trying to contact. You'd need two separate accounts/numbers in order for this to work.
    For example my Macbook Pro's factime connection is using [email protected] as a host, and my iPhone is using it's cell number xxx-xxx-xxxx. If I click on my number from my Macbook Pro, it rings my iPhone for a Facetime. Or if I tap on my email address (associated with Facetime for the Macbook Pro) from my iPhone, it starts the Facetime and my Macbook Pro will ring.
    If this is not the right answer, please respond with more detail on how you have your connection set up.
    Cheers!

  • I cannot download apps onto my phone they are stuck on the waiting mode how can I get this fixed I have tried the "reboot" and also tried logging out of my app account but it is not fixing the problem

    I cannot download any apps to my iphone 4 they all go into a "waiting" mode and will not come out of that unless I delete it.  This happens everytime I trie to download something

    Any problem downloading apps with iTunes on your computer and installing the apps on your iPhone via the iTunes sync/transfer process?

  • Can't get out.print to work with XML jsp tags

    <jsp:scriptlet>
    if(ErrorTrap == true) {
         out.println("<tr><td colspan=\"center\" align=\"center\">There was" an error while processing the form</td></tr>");
         ErrorTrap = false;
    </jsp:scriptlet>
    I can't get this script to work with the XML stype jsp tags. It keeps telling me the <jsp> tags are untermintaed. Is there a special trick to fix this or do I have to use the non-XML type tags?

    Sorry, I didn't mean to put the extra " in the out.println text string. :-/

  • How can I get Activity Monitor to work?

    I've searched the discussions to no avail, so I have this question: how can I get Activity Monitor to work? It launches and its window opens but then the spinning beachball appears. I've checked the Console and it shows that the Activity Monitor is attempting to fully launch but then it "exits" and then it tries to fully start up again, goes into an infinite loop or something. Issued a "force quit" succesfully. I've deleted the Activity Monitor's .plist, no joy. What to do? Thanks!
    I'm running 10.6.8 on a MacBook Pro (late 2011)

    I wish I could be more positive but I have no experience of MacBook Pros and whether their demands on the system differ from my simple iMac.   If you have the time to scour through 'More like this' ( to the right of your initial post) and the links within it, you may find leads.
    I also found this thread via Google which in parts seems to echo your troubles.  I hope it helps; thank you for the star.
    Activity Monitor Not Responding - MacRumors Forums
    71
    Message was edited by: seventy one

  • I cant get my password to work on my ipod, and I have re-set it, am I locked out

    I can;t get my password to work on my ipod and I have went in and changed it, am I locked out?

    There is something wrong in your settings. As the settings for each email provider are different you need to check your email server's web site for instructions. Most now have specific instructions for the iPhone. Also see Apple's instructions: http://support.apple.com/kb/HT1385

  • I am trying to use powerpoint but when I open a document I want to work on it does not open on my desktop. It appears as open on mission control but it disappears offscreen. How can I get it to open where i need it and can work on it?

    I am trying to use powerpoint but when I open a document I want to work on it does not open on my desktop. It appears as open on mission control but it disappears offscreen. How can I get it to open where i need it and can work on it?

    It's almost certainly too late.
    The time to create a backup is before a catastrophe.  After a catastrophe, it's too late.

  • Anybody had an issues with mail since upgrading to mountain lion? Can't get emails from one account, tried deleting and recreating but to no avail. Set up a new user and it works fine. Macbook pro 13" mid 2010 model.

    Anybody had an issues with mail since upgrading to mountain lion? Can't get emails from one account, tried deleting and recreating but to no avail. Set up a new user and it works fine. Macbook pro 13" mid 2010 model.

    Anybody had an issues with mail since upgrading to mountain lion? Can't get emails from one account, tried deleting and recreating but to no avail. Set up a new user and it works fine. Macbook pro 13" mid 2010 model.

  • I recently transferred my ipnone service from at&t to another carrier the phone worked fine until i tried to up it with itunes i now have a frozen itunes logo and a plug on the screens my phone is a iphone 3g how can i get my phone to work again?

    my ipone 3g is frozen with aitunes logo and plug after i tried to update it from apple. the phone worked fine even thou i changed carriers from at&t to Simple celleur. How can i get my phone to work?

    As AT&T has not officially unlocked your phone it must have been hacked to use another carrier.  So when you updated it has relocked itself to AT&T. There is no official unlock so this will happen anytime you update.

  • I got a vius and after removing Pro would not work, trying to reload and getting Error 1334, can someone advise me how to fix.

    I got a vius and after removing Pro would not work, trying to reload and getting Error 1334, can someone advise me how to fix.

    I downloaded, ran and restarted, tried to install Pro got same error
    Thank You!
    Robert W. O'Rourke
    Tesla Systems, Inc.
    <phone # removed - kglad>

  • How can i get itunes store to work?

    When I try to login to the iTunes store, nothing happens. How can I get iTunes store to work?

    have you tried to troubleshoot the conection to the itunes store to see if it will work?
    maybe the login servers are down, might have to try later.

  • I can't get my ichat to work.

    i can't get my ichat to work. I made an aol login but it says my password is incorrect, which i know it is not. I have a MobileMe but i can't remember the password to that. Every time I try to change my password it just changes my msn address on apple id. I have ox s lion operating system but, I couln't get the ichat to work before that either. I can use facetime tho.

    HI,
    If you created an AIM Name here then can you now Login Here > https://settings.aim.com/
    AIM allow some other characters that alphanumeric ones but these are limited to ! @ # and the . (full stop/dot)
    Is it possible that you have used other characters in the password ?
    If you created an AOL Login have you used the full name ([email protected]) in the name in iChat ?
    AIM never tell you directly that it is the Password.
    You can get to infer it is the password when compared to other messages but it does normally refer to  "Name or Password".  (I just want to check that is what you are seeing)
    MobileMe Name
    Checking your Own Computer
    Open Keychain Access in the Applications/Utilities folder
    Have the Login item to left highlighted
    Have the Passwords items listed if using lion lower left
    Check the list on the right for your MobileMe name.  It may possibly listed with an Cloud icon or the "A" created by ther pen brush and ruler icon.
    It may also get listed twice or more if you have tried different passwords and asked for them to be saved.
    Double click one.
    In the new Panel that open change to the Access tab and check iChat is in the list if using Allow Specific items.
    Return to the Attributes tab
    Tick the Show Password box  (Dialogue biox appears needing your Mac User Password and to Allow Once
    If this password is correct then delete any other entries.
    If incorrect then check others and edit one if required.
    (I am hoping you will see one you recognise)
    The iForgot site can be used to change the password.
    It requires you have access to the linked email you used.
    Or that you remember the security questions that you gave for the MobileMe name.
    (Presumably you know your Date of Birth which you also get asked. )
    10:03 PM      Saturday; January 21, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • How to get this script to work with different browser

    Do you guys know how to get this script to work with mozilla firefox? 
    do shell script "open -a safari 'https://login.binck.nl/klanten/Login.aspx?ReturnUrl=%2fklanten%2fdefault.aspx'"
    tell application "Safari"
      activate
              tell document 1
                        repeat until ((do JavaScript "location.host") is "login.binck.nl")
                                  delay 1
                        end repeat
      do JavaScript"document.getElementById('ctl00_Content_Gebruikersnaam').value='sim';document.ge tElementById('ctl00_Content_Wachtwoord').value='password';window.open(document. g etElementById('ctl00_Content_LoginButton').href, '_self', 'true');"
              end tell
    end tell
    Thank you so much in advance:)

    That isn't possible. Firefox's AppleScript dictionary doesn't contain anything which can be used to manage JavaScripts.
    (63741)

Maybe you are looking for

  • I have dumped Premiere Pro 6 in the trash and emptied it. How do I get another version of CS 6?

    I trashed my CS 6 programme because I thought it was copied onto my external Hard drive. Turns out it wasn't. I have tried to upload a new one from the download centre but it won't let me do it. It keeps telling me my Premiere Pro CS 6 is up to date

  • ORA-13050 unable to construct spatial object - Error

    Hi friends!, I to realize the follow query: SELECT A.MI_PRINX, B.DESCRIP FROM PEVEDISC A, PEVEGEO B WHERE SDO_GEOM.RELATE(A.GEOLOC,'ANYINTERACT',B.GEOLOC,0.005) = 'TRUE' AND SDO_GEOM.RELATE(A.GEOLOC,'TOUCH',B.GEOLOC,0.005) = 'FALSE' AND ROWNUM <= 10

  • JDBC Adapter Doubts

    Hi Guys,             Could u tell me whata are the operations that can be done using JDBC adapter? What are stored procedure calls? can there be more than one update statement in JDBC interface? Regards, Ashish

  • Data driven graphics - output not in layer order(with files added)

    Hi All I am using CS3 Fireworks, making numbers on small icon button with different text and graphics. xml table is prepared. I made a Fireworks template file with text/image variables in single layer, order as below: Top Text var.(button name) image

  • Acrobat X crashes.

    Why would Acrobat crash when using the show separation tool?