From owner-freebsd-questions Tue Mar 16 8: 2: 0 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns.tool.net (ns.tool.net [204.255.224.9]) by hub.freebsd.org (Postfix) with ESMTP id D76AA15290 for ; Tue, 16 Mar 1999 08:01:51 -0800 (PST) (envelope-from jasonm@tool.net) Received: from hammer.tool.net (jasonm@hammer.tool.net [204.255.224.12]) by ns.tool.net (8.8.5/8.8.5) with ESMTP id LAA20436; Tue, 16 Mar 1999 11:01:54 -0500 Date: Tue, 16 Mar 1999 11:01:31 -0500 (EST) From: jasonm To: "Open Systems Inc." Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Changing the output of uname? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Well this is a simple answer. write a program in c that looks like this: #include 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