By user login items to run UNIX executable file

Hi all,
Here is a plobem, I couldn't deal with for some days, please help me and give some advises .
I want run a shell script when special user login the system, not all users.
as I know and by test, the below methods are do the same work.
1. System Preferences > Accounts > Login Items, add application and can run when user login.
2. Two files: ~/Library/Preferences/com.apple.loginitems.plist or loginwindow.plist, and add useful items  to any of them.
Because shell script can only open, but not run by "Login Items",  so at first I write a UNIX executable file , which is run the SH, and  gone into the System Preferences > Accounts > Login Items, add the UNIX file below, and set "Hide".
When the user login the system again, it can auto open the terminal window, and run the UNIX exe file, but when the file end of exe, the terminal still open,
and can't close. Here I have write command "exit" in the SH file, and the terminal show "the process has ended".
I want the UNIX exe file  had better run in the backstage, if by terminal , how can make terminal hide?  or by what command can close the terminal ? 
If it is not a good method,  whether there have any other way to  run the Shell Script flie in the backstage when certain  user login ?
Here my Mac OS X workstation system is 10.5.8.
please help me ,thank you .

OK. My previous answer still holds. You don't need Terminal to run ssh, or AppleScript either, for that matter. What you do need is a process on the remote machine that will accept remote requests to run some appliction. It just so happens that sshd is such a program. I'm not sure about AppleScript. You may need to be logged on so that the Finder is running. I'm no AppleScript expert, so don't quote me. Again, I would just use ssh.

Similar Messages

  • Why is it when I select my personal preferences/user/login items, that when i select the check box for items to NOT pop up on my dock when i restart and start my macbook air 11 inch that they still continue to?

    why is it that every time i start up my macbook air and when i restart it, that the new office with word and those three other apps constantly pop up? even though i went to personal preferences/users/login items, and selected the box that clearly says "items to NOT be brought up when logging in" ?

    If you don't want to start Office automatically when your Mac starts, see > http://answers.microsoft.com/en-us/mac/forum/macoffice2011-macword/how-do-i-prev ent-microsoft-office-2011-word-from/dd5b8b17-8397-4e7c-b635-79b9c976c4ab?msgId=f 00ac42a-e4fe-43aa-83d7-16ccd35a0d8a
    Also, on System Preferences > Users & Groups > Login Items, select all items related to Office and press - button to delete them

  • Can OSX run a Unix executable file?

    There is a new way of viewing and assembling multi part files. It is called .daa (direct access archive0. It is like the old .rar archive. The only application I could find is Power ISO which is only available for windows and UNIX. I have the UNIX fille which get info describes as a UNIX executable file. What now?
    Bob

    Sounds like bad news. The application was for Linux. Here is the web site
    http://netforbeginners.about.com/gi/dynamic/offsite.htm?zi=1/XJ&sdn=netforbeginn ers&cdn=compute&tm=36&f=10&su=p284.7.420.ip_&tt=12&bt=1&bts=0&zu=http%3A//www.po weriso.com/download.htm.
    Thanks Bob

  • Quark files show as unix executable files.

    I have a strange issue. This is an all mac enviornment. The iMac's are running 10.4.11, and Quark express 6.0 One of the iMac's show the quark files as unix executable files. All of the other mac's can open the files without any issue.
    On the iMac that has an issue, some of the folders show up as unix executable files as well. Also, there is a network share that is a log in item that should auto mount when the user logs in, it no longer mounts automatically. The only way to mount the share is by navigating through finder.
    I was able to open one of the quark files by using open, then save the file using save as. this appended the file extension. I also enabled file extensions in finder, and manually appended the extension and they still would not associate with Quark. The file I did a save as does associate with Quark but it is the only one.
    I repaired disk permissions and that did not help. Anyone have any ideas on this one?

    I also couldn't find the download link for xsupport on the link you provided.
    Looks like they have changed their business model. I just copied the URL out of the aboutbox of my copy of the Xsuppport toll but didn't crosscheck it.
    Does that give any indication on what the problem is?
    Not really, perhaps a corrupted or unreadable (by permission) .DS_Store file in the folder where your Xpress files reside, but then again that should affect other clients as well.
    Which leads to the question:
    When some clients have the correct mapping document <-> Quark Xpress and one (or more) other(s) don't, do you connect with different users to the server or are the users always the samr but the connection made from different machines?
    If youuse different users to connect, then the problem very like is on the server side (addess rights, etc). If the same user has different results on different machines, the problem's most likely a local one. In which case you coud try all of ManiMenu's clean and deep clean actions.

  • Problems after opening "Get Document" Unix Executable file

    After importing documents from my Dell computer to macbookpro and opening a file called "Get Document" which is a Unix Executable file, I now have dozens of these type of these type of files in "Places":
    file://localhost/Users/sacredsprings/%25B0%2580%25A9%25C0SR
    I had Linux installed on my Dell, and having read a few threads think it may be to do with that.  Can I just safely delete all these files?

    Sometimes ZIP files are made into self-expanding .exe files. When run on a PC, they will unzip without needing any unzipping software. They will not do this on a Mac, but Stuffit Expander may work with them
    <http://www.stuffit.com/mac/expander/>

  • Unix executable File _VUC69~7 in OSX10.4.11

    A unix executable file named "_VUC69~7" has appeared in the finder on the top level of my main hard drive.
    Curious - any ideas what it is, why it's appeared & whether I can or should make it disappear?
    Many thanks in advance, P.

    Many thanks, I had found these links but not sure they are relevant to my situation -- just a powermac & a wireless internet connection.
    I wasn't aware that I was using Samba, would it run without my knowledge?
    Also have never knowingly set up a Linux file server -- are these all things that happen "under the hood" that an average user doesn't realise are going on?
    The file was created last March but I can't think what I did around this time that would have created it.

  • One of the folders on my external hard drive has transformed into a unix executable file and I can no longer access my files. Is there any way to save the data?

    One of the folders on my external hard drive has transformed into a unix executable file and I can no longer access my files. Is there any way to save the data?

    Wow, have seen Files do that, but a whole Folder as I recall!
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair. Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)

  • Old Quark files are now Unix Executable Files

    I made hundreds of archive CD's with Mac's running OS 9 back in 1990's. They contain Quark files and .tif's. I've referred back to these CD's many many times over the years with no problems. My new iMac has the intel processor. I pop an archive CD in and all the files (with no extensions like "tif" or ".qkd" or ".eps") are now "Unix Executable Files" that won't open.
    I simply add an extension to the images files (like ".tif") and they work. HOWEVER, it's not so easy with the Quark files. I add ".qkd" to the file name and it still remains a Unix file.
    I launch Quark and try to open the file through the finder and it doesn't work. I took an archive CD to a friends house whose on a G5 and the CD worked properly with no extensions needed to be added.
    So I figure the problem is with the Intel/PC based processor. I shouldn't have sold my old G5.
    One forum claimed that a program called "File Buddy" did the trick for him. Does anyone have any other ideas other than me buying a non-Intel Mac.
    I love our new iMacs but I need these archive CD's to work!
    Thanks

    I automatically run OnyX once a week for maintenance, but it didn't help this situation.
    Those chores won't reset the LaunchServices database. Go to the Maintenance heading and click on the Reset tab. Turn on the check box for "LaunchServices database" (all other check boxes off). Click the Reset radio button and then Execute. Restart your Mac.
    OS X will automatically rebuild the database according to the applications on your hard drive, giving preference to Apple applications as they would be when you first install OS X. So if you have the Acrobat Reader set up to open PDF files, you'll have to do that again as they will be set back to Preview.
    Actually it's .qxd not .qkd for Quark XPress file extensions.
    That's it! I knew .qkd was wrong, but Quark 6.x won't show you the old extensions when you save a file, and I couldn't remember it (been using InDesign steadily for a while now).

  • Unix Executable Files need to be Imported to ITunes

    I have numerous sound files that are listed as Unix Executable Files in Finder. I can Play the sounds within Finder, but cannot seem to import them into ITunes. I read in another thread to simply add ".mp3" (or some other suffix) and then import. I don't know what the suffix should be, but I have tried .mp3, .aiff, and .wav, with none working. Are there other types of sound files I can try? Is there a way to make them become .mp3 (or something usable)? I have them stored on the HD, but would like to be able to share them or burn them to CD. Any help is appreciated. Thanks.
    quicksilver power pc   Mac OS X (10.4.8)  

    I got them from another Mac user when I first bought my Mac. Unfortunately, I no longer have contact with him, so no way to ask where he got them from. I know he had never owned a PC, but that doesn't mean they weren't originally from one. Thanks for the help.
    quicksilver power pc   Mac OS X (10.4.8)  

  • Word Docs have become Unix Executable Files!

    The subject says it. This has happened on both my wife's iMac G5, and my MacBook Pro. Some, not all, of our Word docs, (both using 2004, running OS X.4.7) have had their icons turned into a gray console, and in "Get Info" identify themselves as "Unix Executable File." When opened in Word, I get the option to open as if it were a foreign file, and typically, it opens with all formatting gone, and all kinds of bizarre characters at the beginning (and sometimes end) of the doc.
    Now, I can salvage the data, it seems, but is there some way to simply undo this damage without manually going through every file?
    I must say, this is exactly the kind of junk that I would expect to find on a PC. This is a stunningly bad problem, by far the worst I've experienced in almost 15 years of using Macs. I would assume that Apple is aware of this, and that they can:
    1) Explain what happened.
    2) Explain a quick and easy fix.
    Thanks to anyone (from Apple or otherwise) who can do 1 and 2 above.

    Jeffois,
    The first command I gave to you will render the directory in question, and all nested directories, inaccessible. The second command will make the diretories accessible again.
    There is a possibility that there are files in this directory structure which are not owned by you. Not likely, but I must make the assumption that these could be encountered when I give such commands "in the dark" as it were. In such a case, you would see an error regarding these files, thus the warning.
    You can return your directories to accessibility using the second command, regardless of errors you might encounter. If you do encounter errors, I will post a different form of the same commands that will work.
    Be prepared to deal with this problem any time you transfer files from a Windows-formatted volume. This is not a Windows problem, but rather one of differences between the two file systems. If you see a file show up with the executable icon, you might want to remove the execute bit right away. Unfortunately, there is no way to do this in the GUI, so you must resort to using Terminal.
    This shouldn't be too much of a problem. Just open Terminal, type this text with a traling space:
    <pre style="overflow:auto; font-family: 'Monaco'; font-size: 10px">chmod a-x</pre>
    then select all of the new files and drag them all into the Terminal window. This will create a rather long command line that includes the full path to every file you dragged in. Just press <RETURN>, and "POOF," no more execute bit!
    Scott

  • Unix Executable Files

    after upgrading to Tiger 10.4.3, all my files that did not have a file extension (in particular all my fonts) are now Unix Executable files and unusable. is there any thing that can be done?

    My boss if having the same problem! I however, am not. We have identical G5's, but our older G4's are slightly different with slightly different OS's and software. My boss has OS 10.1.3 and OS 9.2.2, also i have newer versions of photoshop and quark on my G4 than my boss does.
    The file types he is having the issue with are .eps files from photoshop and illustrator, and quark files that don't have the extensions already. He was told by Support that the issue may be stemming from the fact that when he worked on his older mac, he booted up in OS 9, where as I always booted up in OS X and used OS 9 virtually.
    We are trying to transfer the files directly now, while his older mac is booted up in OS X to see if that solves the Unix problem. But now we are running into the issue where, once the computers are hooked up by firewire, the process is freezing. Does anybody have any advice for us? We need HELP!!!
    Thanks!
    JdJ
    Macintosh G5   Mac OS X (10.4.2)   Old Mac - G4, OS X 10.3.2 & OS 9.2.2
    Macintosh G5   Mac OS X (10.4.2)   Old Mac - G4, OS X 10.3.2 & OS 9.2.2

  • AppleWorks 6.0 Files Listed As Unix Executable Files. Unable To Open.

    A client of mine backed up a number of AppleWorks 5 & 6 files last week on a PowerMac w/ OS X 10.3. I reformatted the HD, upgraded the OS to 10.4 and attempted to reinstall AppleWorks 6.0. It would not allow installation. So, I installed OS 9 Classic. Still would not allow me to install AppleWorks. Then, I installed iWork '08, having read that it would open AppleWorks files. iWork would only open a hand full of the files. The remaining 90% of the files are listed as "Unix Executable" files.
    Have the files been corrupted in the move?
    Any ideas on how to open/recover these files?
    Thanks,
    stc

    If one device used during the process was not an HFS one, the AppleWorks documents may have lost their resourceFork.
    Are you sure that the files are named with the name extension ".cwk" which is quite required under Mac OS X?
    Then, I installed iWork '08, having read that it would open AppleWorks files.
    This is right and wrong.
    Iwork components are able to work this way:
    Pages may open AppleWorks 6 WP document, not the AW5 ones
    Numbers may open AppleWorks 6 SS document, not the AW5 ones
    Keynote may open AppleWorks 6 Presentation document, not the AW5 ones
    Nothing may open the DB, Paint and Draw AW documents.
    There is no reason that you can't install AppleWorks on a machine running 10.4.
    I installed AppleWorks 6.0.4 last week on a machine running 10.4.11.
    So, at this time it seems that the main problem is to understand why you are unable to reinstall AppleWorks 6.
    If you wish to know if the documents are in good health, you may attach one to a mail and send it to my mailbox.
    Click my blueName to get my address.
    Yvan KOENIG (from FRANCE lundi 25 août 2008 19:12:51)

  • Files changing to unix executable files in leopard!

    I'm having files show up as UNIX EXECUTABLE FILES in Leopard. these are Quark Xpress files and a few tiff files.
    These were backup files sent from a client on a Mac, there were compressed using Zip software. Also the same files that were not compressed are DOCUMENT files.
    What is happening that Leopard can not recognize these files?
    I tried removing "com.apple.LaunchServices" files

    I found that a number of Windows files copied across to an external HFS+ hard disk from a Windows PC using MacDrive showed as Unix executables.
    It turned out that they files had Execute permissions set for all users.
    You can change the "Execute" setting using chmod in the terminal, but a simpler solution is to install FileUtilsCM, a free context menu control available from http://www.abracode.com/free/cmworkshop/file_utils.html
    It offers a variety of high level controls, including remove file type and creator; remove resource fork; clear "execute" Unix attribute.
    I found this fixed the problem for my files. The "clear execute" control fixed the file type, and the "remove type & creator" command converted the type back to Plain text from Document.
    I don't know if it will work for your problem, but could be worth a try. Works in Leopard 10.5.1 for me.
    Slightly more control is available from Super Get Info from Barebones http://www.barebones.com/products/super/index.shtml
    That's not free, however, but it does allow you to set the file type and creator.
    DN

  • Backup files are now Unix Executable files

    I backed up my iPhone on my laptop (pc) but when i but transferred all my iPhone backup files to my iMac there was a couple of folders that are now Unix Executable files which are coincidentally are the same backups that I cant use to restore my iPhone without receiving an error message.
    Also, is there a program that I can use to read the history.mapsdata file? Thanks

    I automatically run OnyX once a week for maintenance, but it didn't help this situation.
    Those chores won't reset the LaunchServices database. Go to the Maintenance heading and click on the Reset tab. Turn on the check box for "LaunchServices database" (all other check boxes off). Click the Reset radio button and then Execute. Restart your Mac.
    OS X will automatically rebuild the database according to the applications on your hard drive, giving preference to Apple applications as they would be when you first install OS X. So if you have the Acrobat Reader set up to open PDF files, you'll have to do that again as they will be set back to Preview.
    Actually it's .qxd not .qkd for Quark XPress file extensions.
    That's it! I knew .qkd was wrong, but Quark 6.x won't show you the old extensions when you save a file, and I couldn't remember it (been using InDesign steadily for a while now).

  • Can't open recovered files, which are now Unix Executable Files

    My external hard drive, where I kept my Final Cut Pro documents, recently died. I hired someone to recover the data. Now, when I try to open them in FCP 6, however, I get the message "File Error: Wrong Type". It says they are "Unix Executable Files". Looking back in this forum, none of the previous solutions have worked for me--like adding .mov to the file extensions, for example.

    ah, the subtle difference between a movie or media file and a project file.
    Thanks for posting your solution, hardly anyone ever does that around here. And congrats on the rescue! We rarely hear of a successful data recovery on media files but this was a data drive, yes? You could help future users who suffer catastrophic drive failures by posting your contractor and the cost if you want to share that information.
    bogiesan

Maybe you are looking for