Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Sep 2011 09:20:37 -0700
From:      David Romano <unobe@cpan.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: 9.0 bsdinstall usage
Message-ID:  <4E7CB1D5.408@cpan.org>
In-Reply-To: <787be598ce39be54d3cb551e1336f380.squirrel@www.magehandbook.com>
References:  <4E7BEA42.4020004@a1poweruser.com> <4E7C4188.2050508@freebsd.org>	<4E7C885F.10100@a1poweruser.com> <787be598ce39be54d3cb551e1336f380.squirrel@www.magehandbook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 09/23/2011 09:01, Daniel Staal wrote:
> On the other hand, that makes it harder for someone to look at the program
> to see what it does, in order to build or rebuild their own installer, or
> to customize the actions of this one.
>
> I don't see a cost to keeping the program around.  There are probably some
> slight use cases for it, and there are some slight costs to removing it.
> It doesn't have to be everything to everybody: It can be itself, nothing
> more and nothing less.
>
> I guess I just don't see the problem with keeping it.
I agree. If we're concerned about someone running the program again by 
accident then the following can be placed at the end of bsdinstall/auto:
     chmod -x /usr/sbin/bsdinstall

The man page then can specify that the executable bit is off by default, 
why it is off by default, and possibly specify the command to turn it on 
again.

- David

-- 
David Romano .:. unobe@cpan.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E7CB1D5.408>