Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Mar 1999 11:01:31 -0500 (EST)
From:      jasonm <jasonm@tool.net>
To:        "Open Systems Inc." <opsys@omaha.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Changing the output of uname?
Message-ID:  <Pine.LNX.4.05.9903161058150.732-100000@hammer.tool.net>
In-Reply-To: <Pine.BSF.3.96.990316092759.2702A-100000@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help


	Well this is a simple answer.  write a program in c that looks
like this:

#include <stdio.h>

int main (int argc, char *argv) 
{
	printf("FreeBSD bsd.machine.name 3.1-RELEASE blah blah blah\n");
}


compile it, mv the real uname to uname.orig and put this new binary in
it's place.  Problem solved, although I can't believe this is going to
work 100%, the install script may only check the uname but I there is a
reason they don't want it installed on any other bsd system, most likely
because it won't work ;).




On Tue, 16 Mar 1999, Open Systems Inc. wrote:

> 
> 	I was wondering if it is possible to change the name output of
> uname to report a different OS?
> 
> 	We bought some security software (Modified NFR) but it only
> supports OpenBSD. I *can* install OpenBSD but I really really really do
> not want to loose IPSTEALTH, Fast Forwarding, etc.. on a FreeBSD box.
> Since this is a security gateway. I would like it to remain invisble and
> FAST. Netiher of which im convinced OBSD is able to do. But the main point
> is the CDROM install media has a simple script that looks for BSDI, OBSD,
> or solaris. The only binary app it installs is a modified kernel to the
> target OS. I dont care about that. I just want to know if I can change the
> uname output to report OpenBSD rather than FreeBSD and work around the
> install program?
> 
> 	This may sound like a lot of effort but I am going to try
> everything I can to keep FreeBSD as the OS. I realy don't want to be stuck
> placing an OpenBSD box at my border with a T-3 connection. I want my
> ipstealth and fast forwarding! :-)
> 
> Thanks
> Chris
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 




If it isn't unix, it isn't worth		Jason Mesker 
the time it takes to delete it		     Internet Tool & Die
						System Admin
						  584-8665



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.05.9903161058150.732-100000>