Dumb question about uucp, in INFO-UNIX Digest V1#142

stef%NMA at uci-icsa.ARPA stef%NMA at uci-icsa.ARPA
Sun Sep 1 06:13:48 AEST 1985


ATTEN: gww at aphasia.UUCP

Your question is not as dumb as the problem with compiled-in machine names.

I once had a Callan, and a WICAT before that.  Same problems, and worse.

Then I moved to an ALTOS-586 XENIX and it also has the machine name compiled 
into the uucp programs.  We solved the problem with a C program written to 
find and replace the compiled-in name string in the following binary programs.

		 /bin/{mail*,rmail*,uucp*,uulog*,uux*}

When you do this, be very careful to remember (and restore) the original 
ownership and protections on all those files.  As I recall it is neither 
intuitive nor obvious to a casual observer.  (E.G. DO IT CAREFULLY!)

-rws--x--x 1 root      14218 Jul 25 21:03 /bin/mail*
-rws--x--x 1 root      14218 Jul 25 21:04 /bin/rmail*
-rws--x--x 1 uucp      21246 Jul 25 21:04 /bin/uucp*
-rwx--x--x 1 bin       12092 Jul 25 21:05 /bin/uulog*
-rws--x--x 1 uucp      20698 Jul 25 21:05 /bin/uux*

You might call this solution bizzarre or even baroque, but it works, 
without chasing source on variant machines, and without violation of 
licences, etc, et al, ad nauseum ...

Try it, You might Like It.   ---   stef at uci-icsa.arpa
				   stef%nma at uci-icsa.arpa
				   stef at brl-aos.arpa
				   brl!stef.UUCP

Reply-To:   INFO-UNIX at BRL.ARPA



More information about the Comp.unix mailing list