Link to home
Start Free TrialLog in
Avatar of ktwill
ktwill

asked on

Diff files between 2 Sun machines

We have 2 Sun machines 6k1 ands 6k2. The 6k1 machine houses all development and staging versions of our source code and the 6k2 machine is where all production versions live. We frequently check production against staging and perform diffs between files. I would like to know if there is a way to perform a diff on files that reside on seperate machines.
ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ktwill
ktwill

ASKER

What do mean by Mounting one machine on another? Is this a admin function? I can't do administor task on these machines.
Or /etc/hosts.equiv
Avatar of ktwill

ASKER

I am still confused. I guess I should have added that I am new to UNIX. Mounting and /etc/hosts.equiv don't really mean anything to me. I use man to see if I figure out what you mean. I also apologize if this does not come across correctly I don't mean this negativly.
usually Solaris comes with automounter installed, so you probably can do:
      cd /net/6k2//path

if not, you may try my 2. suggestion, but please read
   man rsh
before, 'cause you need to setup ~/.rhosts (etc/hosts.equiv can only be done by an admin)
Whatever the solution, you will need to have your system admin involved.  There is several solution, I'm sure one of those will be OK with your SysAdmin security policies.  This can be:
- Mounting a read-only file system from one machine to another with NFS
- Mirroring a file system with rdist
- Establishing secure login across machine with rsh & rlogin

Avatar of ktwill

ASKER

I used your 2) solution and it seemed to solve my problem.