Connecting two macs to run programs

Hello,
I've posted elsewhere but was redirected here.
This is a very open ended question about connecting my Mac (Main) to another one (White).
I use open source software such as R, currently on my Macbook. However, my programs are time consuming, so I outsource some of the work to another Macbook that someone lends me, as follows: R is installed on both machines, and I transfer the source files from Main to White using the shared folder.
Is there a better to do this? Ideally I'd like to be able to send instruction from Main to White, and have display of White within Main. Is it asking for too much?
I also have an older Linux machine I'd like to put to use. Here I don't have a shared folder, so I use a flash disk... Any better idea?

I also have an older Linux machine I'd like to put to use. Here I don't have a shared folder, so I use a flash disk... Any better idea?
Mac OS includes support for NFS, the native Unix network file sharing system. You may share files between Mac OS X systems with NFS as well as other Unix Systems. However, the documentation on how you make the shares is rather limited. Once you learn how to configure the net info database with the netinfo command, the shares are not too hard to make.
While it is not require,NFS encourages you to have common UIDs and GIDs.
"NFS Manager is a graphical user interface to control all built-in NFS features of Mac OS X. "
http://www.bresink.de/osx/NFSManager.html
[QUOTE=bogoliubov;2472988]Ok, so how can I check my UID? I've heard that it's dangerous to change the UID, so how should I do if I want the permissions to work in both OSes?[/QUOTE]
You can change the permissions of files and directories in either OS.
I suggest that you make a complete backup of your system. You should create a second administrator account from which you use to change your original account. You should log out your original account before proceeding.
Mac OS X ... harddrive -> Applications -> Utilities -> terminal
Ubuntu ... Applications > Accessories > Terminal
Your current user is:
echo $USER
Let's assume myuser
To find out your UID and GID do:
ls -ln
ls -l
Or, you can use the id command.
id
compare the output and write down what you find.
You best use the numeric value for your userid. In this case it is 500. To list all the files owned by a userid do:
sudo find / -user 500 -exec ls {} \;
# adding a -x before the / limits the search to the current file system.
Mac OS X ... harddrive -> Applications -> Utilities -> NetInfo Manager
In the middle column is the function. Pick users then select your user. Click on the lock at the bottom of the panel. Go into the property list and change UID and GID.
In the Ubuntu terminal,
man 5 passwd
... will give you the format of the passwd file.
sudo nano /etc/passwd
... the format is user-name, password, uid, gid, ...
control-o
... to save
control-x
... to quit
The groups are defined in /etc/group
cat /etc/group
Now change the UID and GID of all files:
You best use the numeric value for your userid. In this case it is 500.
sudo find / -user 500 -exec chown 1100:211 {} \;
/* Where chown has the format of chown uid:gid file-name */
/* adding -print before -exec lists the files that will be changed. */
/* You may want to leave off :211 if your uid & gid are not paired. */
/* Notice the -exec runs another command on the found file. */
sudo find / -group 20 -exec chgrp 211 {} \;
On the Mac you get into single user mode by holding down command-s when you poweron your machine. Just in case you run into problems.
On Mac OS, there are a few files that have the old uid as part of their names. The .Trashes file will be only removal media and maybe everywhere.
/.Trashes/501
/Library/Caches/com.apple.IntlDataCache.501
/Library/Caches/com.apple.IntlDataCache.sbdl.501
/Library/Caches/com.apple.user501pictureCache.tiff
On Linux, there are a few files that have the old user name as part of their file and folder names:
Here is another explaination of the procedure. ( It misses some file because the auther checks only the most likely places.
http://lissot.net/netinfo/change_user.html
Robert

Similar Messages

  • Is it possible to connect two Macs via USB ?

    Is it possible to connect two Macs via USB just like Firewire back in the day via Target mode or is there something similar? I am asking this because about 2-3 years ago I would normally image Macs via Target Mode. I used to have a regular Macbook running 10.6 along with a customized-ready-to-go .dmg image saved on the Desktop. Whenever I needed to put that image into any Mac I would simply connect the two Macs via Firewire, I would then press "T" at startup which will get me in Target Mode, I would then see the disk appear in the desktop of the Mac I had the image. I would then copy that image to the T mode macbook using super duper. Can this still be done through USB with new models and if so will I also need to press T at startup ?

    No, USB connection does not qualify for this, only firewire and thunderbolt, as I read (but cannot test, for the time being I have only one such mac around).
    This is why the short series of alu MBs (2008) are not qualified for target mode either.
    p.s. What ‘new models’ do you refer to?

  • Directly Connect Two Macs Via Ethernet

    This has certainly been answered before, but a quick search didn't give any results. So here goes ...
    I wanted to connect two macs via ethernet. I use the mount tool in finder "connect to server" all the time with machines on a network, but I've never done with with two macs directly connected.
    So I connect them and my first instinct is to check the IP address of the machine I want to connect to. I then go to "connect to server" and type it in using the AFP protocol, but it doesn't work.
    At this point I'm stumped and not sure what to do. I don't use the "network" item in the finder sidebar very often but I clicked it, and sure enough the machine I want to connect to was listed, and I was able to connect / mount.
    So here's my question ... if I wanted to use "connect to server" tool, or even mount it manually with the mount command, how would I do it? Is it using AFP still to mount and the IP address is just bogus? Something else going on?

    But I'm telling you I tried using the IP address ... here, let me try again ...
    I find this address on the machine I want to connect to: 169.254.177.122
    I put this into "connect to server" on the machine I want to connect from: afp://169.254.177.122
    It spins for a while, then says it can't connect. Strangely, if I do a cmd-i on the machine in the network sidebar, it says: nfs:// automount ... into /Network
    So are you sure putting in the ip should work? If so what am I doing wrong?
    Okay ... plot thickens. When I cmd-i after I connect, it indeed says it is an AFP connect, but it gives the "local" name, say powerbook.local. But then, if I "ping powerbook.local" if gives me back the same IP I tried in connect to server. Huh?
    mbp:~ rjcarr$ ping powerbook.local
    PING powerbook.local (169.254.177.122): 56 data bytes
    Weird. It isn't that big of a deal ... I just like to know what is going on.

  • Connect two macs wirelessly

    How to connect two mac wirelessly?
    I tried creating a network, but after that, I can't connect the internet.

    If each Mac can get on the Internet, without re-wiring, your network is already in place.
    Do not create a Network. If you did, you will need to tear that down before proceeding.
    Enable File Sharing on each Mac, NOT Internet Sharing.
    Mac 101: File Sharing

  • Can connect two Macs with USB2 cable?

    Can connect two Macs with USB2 cable?

    You can connect two Macs with an ethernet wire, or conect two Macs using Firewire if one is placed in target disk mode, but that is it.

  • Can I connect two macs with thunder bolt ?

    can i connect two macs with thunderbolt like I do with firewire and IP? I don't want to transfer files by using the control "T" at startup . I want use VNC to control one mac from the other and use thunderbolt vs ethernet.
    thanks for any help

    You can connect the two.  Whether you can use VNC, I have no idea.
    http://store.apple.com/us/product/MC913ZM/A
    Ciao.

  • Connecting two Mac minis and using one monitor

    I am thinking about getting two Mac minis to run concurrently, accessing both on the same Thunderbolt Display (also to be acquired) using screen sharing and connecting the two Macs via firewire (or thunderbolt).
    I have certain programs I need to run in Windows (Bloomberg terminal and MS Excel in Windows version) but don't want to run them in parallel on one computer as (in my experience) the performance is very slow.
    By running two computers at the same time, I'm hoping that can avoid the entire system griding to a halt. I also think it will allow me to upgrade more cheaply as the Mac mini is improved over time.
    Is this a completely daft idea? Would I be better off with a new iMac or a refurbish Mac Pro?
    Any feedback is welcome, even of the abusive variety.

    "File sharing preferences" is indeed how to do it.  Connect both minis to your router (one by ethernet cable, one by wifi, it doesn't matter.)
    Then turn on "File Sharing" in Sharing Prefs on both minis.  Also, give them both meaningful, different names under "Computer Name".
    Then, when you open a finder window on one mini, the other one should appear under "Shared", like this:

  • Connecting two macs

    Until recently my only Aperture library has been on my Macbook Pro (Aperture 3). Irecently bought a lovely new iMac, and installed the library on that via the vault on another hard drive. Its running very nicely on the iMac. So far so good. I now want to update the library on the Macbook Pro with what I have done on the iMac. I have foud the appropriate instructions in Aperture help and am set to go BUT dont know how I should connect the two macs. USB? Firewire? Ethernet cable? My wifi router? Iknow this is avery basic question but I am stumped.

    My wifi router?
    If they're both able to access the Internet simultaneously, open the Sharing pane of System Preferences on one machine, enable File Sharing, and use the Connect to Server command from the Finder's Go menu.
    If you're using a non-802.11n wireless network, Ethernet will give you faster speed.
    (53405)

  • I just connected my Mac Mini running OS 10.6.8 to a IG 32' monitor. What resolution should I select from the menu?

    I just connected my wife's Mac Mini running OS 10.6.8 to an IG 32' monitor. What resolution should I select from the menu in order to provide maximum screen appearance? My wife has AMD and a visual acuity of 20/400 with central scotonata.

    In System Preferences:Displays you have an option to show
    Displays Prefs in the title bar above the screen - where she can
    iteratively adjust to her liking. Higher screen resolutions, ironically,
    result in smaller characters so adjust to suit. Below, Displays is
    4th from L.
    All best, Tom

  • Connecting two TVs to run off of one Apple TV?

    Hi All, my first post.
    I read the post about connecting 3 tvs but to an Apple TV unit but I didn't understand whether the person was running the feeds from one Apple TV unit or not.
    Nor did I understand the exact steps that need to happen to make this occur? Can someone please explain if, one, its possible to run the content of one Apple TV to two tvs in a house and if so, how do you do it? I also have a new Airport Extreme WIFI Router. (I wondering if I could beam the Apple TV through the router to the two TVs?) Thanks a lot! John

    Since your TV's don't use WiFi, you can't transmit over WiFi to multiple TV's from one AppleTV. Any TV's that you connect must be connected directly to the Apple TV. In practice, this means that you'll have to invest in a splitter of some kind to split the signal from the AppleTV into two, and then run a cable from the AppleTV to the TV's that you want to use with it. You will, of course, be constrained to watching the same content on both TV's.
    If I were you, I'd forget the idea and save my pennies for a second AppleTV. Who knows, maybe they'll update it soon and then you'll be able to pick up the current one cheaply.

  • Is there a way to use two macs to run one app? I want to use my two macbook pros processors in a shared capacity.

    I have two macbook pros a 2.4ghz and a 2.2ghz. Is there a way to use the other macbook pro to help with any cpu intensive apps like audio and video apps. I haven't had much luck on finding anything about sharing resources. It would be awesome if you could link up two macs and use both of them to power through processor intensive tasks.

    Yep here you go.
    http://www.youtube.com/watch?v=vLujLtgBJC0

  • Connect two Macs to one Thunderbolt Display?

    I am using a MacBook Pro and Thunderbolt Display. I own also a Mac Mini without Thunderbolt port but HDMI and wonder if I can connect this Mac mini to my Display as well using the second Thunderbolt port on the Display and a HDMI/Thunderbolt adapter? I have been searching for a HDMI/Thunderbolt switch but without success. Any other thoughts?

    TB display will only work using TB port.  There is no adapter that I know of to connect to any other type of port.

  • Unable to access external drive connected to Mac Pro running Mountain Lion

    When I initially connect, it is accessable and I am able to back up to it.  But after a few weeks, it no longer allows changes.  It is still mounted, and I can see the directories on it, but can no longer write to it.  I was told by the folks at G-drive that this is a known problem with Mountain Lion.  I really need my drive to stay available....I notice that there is an update to 10.8.4, but before taking my FM Pro Server offline, I'd like to know if the update will fix the problem.
    Thanks.

    I don't know if it's the same problem, but in the last few weeks we have had that happen on two machines running Snow Leopard and one running Lion 10.7.5.  In our case, it always involves Time Machine, and the FW external FW drive becomes read-only for no apparent reason and despite the fact that Command+I reveals the user "can read and write" to the drive.  Running Apple's disk utility to Repair Disk a few times usually fixes it.
    It's just infuriating. Ever since Leopard came out with Time Machine I had had that intrusive, obnoxious utility permanently disabled. I enabled it in Lion, and I've disabled it again.

  • Connect two macs?

    I have a Macbook pro and a Power Mac G4. I would like to use the older G4 as storage for pics, movies, music, etc. What is the best/easiest way to connect the two machines?
    Thanks,
    Brent

    Check these out.
    Creating a small Ethernet network
    http://docs.info.apple.com/article.html?artnum=106658
    Wireless Network
    http://docs.info.apple.com/article.html?path=Mac/10.4/en/mh664.html
    Mort

  • Connecting two Mac Minis using wifi

    My actual set up:
    Bedroom - Macmini (2007) linked to a dsl modem via an ethernet cable. A Samsung display, a LaCie 2tb drive, are also connected to it.
    In a very near future:
    LivingRoom - Macmini (2011, to be delivered in a couple of days... hopefully) will have access to internet via wifi. A 55" TV, a LaCie Minimus 2tb drive (a clone of the other one in the bedroom) and a DAC will be connected to the new mini.
    My question:
    How can I connect the two minis together using wifi so that I can have easy acces to all the files in the drive connected to the Mac mini in the other room?
    I have looked at the "File sharing preferences" in the system preferences but I am not that sure how to do it.
    A little guidance would be greatly appreciated!

    "File sharing preferences" is indeed how to do it.  Connect both minis to your router (one by ethernet cable, one by wifi, it doesn't matter.)
    Then turn on "File Sharing" in Sharing Prefs on both minis.  Also, give them both meaningful, different names under "Computer Name".
    Then, when you open a finder window on one mini, the other one should appear under "Shared", like this:

Maybe you are looking for

  • ST05 LOBSTA what is this and how to interpret it.

    Hi all, there is an object LOBSTA in sql trace called LOBSTA, which has quite big execution time and points to some Classes.  Have you any idea how to interpret this object and what to do to improve execution times on it.

  • Java version 1.4.2_06 to 1.5.0_08 and 1.5.0_10     vs.   1.6.0_02

    Hello. I did a system check on my computer for an onlline course I'm taking and it stated that I am running java version 1.6.0_02 annd thhat I need to upgrade to 1.4.2_06 to 1.5.0_08 and/or 1.5.0_10. It seems to me thought that the numbbers are going

  • InputVerifier and JOptionPane help please

    I am trying to create an application and require to validate input fields. I have successfully written the code to use the InputVerifier class to validate the input but want to use a JOptionPane dialog to notify errors. This doesn't seem to work as t

  • Title Crawl Alignment

    I"m using Boris Title Crawl on a couple of layers. Editing one scene, when I align the text left, all Title crawl in my project will switch to align left. If I center it in one, all text will be centered. How can I independently treat my titles, usin

  • CRM 维护业务伙伴

    Hi experts,   First of at all, i apologize that I do not know most the chinese term in CRM, it is more comfortable for me to write in English.   I have a problem in creating the business partner (维护业务伙伴 ) in CRM.   I login as "ZH" which is chinese, a