From owner-freebsd-current Fri Feb 1 16:48:36 2002 Delivered-To: freebsd-current@freebsd.org Received: from angelica.unixdaemons.com (angelica.unixdaemons.com [209.148.64.135]) by hub.freebsd.org (Postfix) with ESMTP id E793837B402; Fri, 1 Feb 2002 16:48:13 -0800 (PST) Received: from angelica.unixdaemons.com (bmilekic@localhost.unixdaemons.com [127.0.0.1]) by angelica.unixdaemons.com (8.12.2/8.12.1) with ESMTP id g120lrew005091; Fri, 1 Feb 2002 19:47:53 -0500 (EST) Received: (from bmilekic@localhost) by angelica.unixdaemons.com (8.12.2/8.12.1/Submit) id g120lqSm005090; Fri, 1 Feb 2002 19:47:52 -0500 (EST) (envelope-from bmilekic) Date: Fri, 1 Feb 2002 19:47:52 -0500 From: Bosko Milekic To: Terry Lambert Cc: Paul Fardy , current@FreeBSD.ORG, stable@FreeBSD.ORG Subject: Re: Junior Annoying Hacker Task Message-ID: <20020201194752.A4644@unixdaemons.com> References: <5F46C986-16DB-11D6-8CEC-00039359034A@mac.com> <3C5B3225.F04B9B18@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3C5B3225.F04B9B18@mindspring.com>; from tlambert2@mindspring.com on Fri, Feb 01, 2002 at 04:26:13PM -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Feb 01, 2002 at 04:26:13PM -0800, Terry Lambert wrote: > Who is a GTK hacker? > > Does someone want to write a "registry editor" program? > > The point of the program would be to edit the "FreeBSD > Registry", rc.conf, and make it look just like the Windows > Registry in the editor, using "_" as the implied path > component/terminal component (key) seperator. > > Then we can all be honest with ourselves that the only > difference between it an the Windows Registry is that > the Windows registry is accessible/modifiable from > kernel mode, and the path component and key names. > > You can start with: > > My Computer\HKEY_LOCAL_MACHINE\natd > > Name Data > ----------- --------------------------------- > enable NO > interface fxp0 > > My Computer\HKEY_LOCAL_MACHINE\inetd > > Name Data > ----------- --------------------------------- > enable NO > program /usr/sbin/inetd > > etc. > > If you want to get ambitious: > > o Make "HKEY_LOCAL_MACHINE" an alias for your node name, > and include your node name in the list. > > o Call it "localhost", if you are feeling too guilty > about calling it "HKEY_LOCAL_MACHINE". > > o Make the tool operate on node names other than > "localhost", so you can do remote administration > of configuration files on a cluster of FreeBSD > boxes > > o Add more subkeys; perhaps it should not be just > > My Computer\localhost\inetd > > but > > My Computer\localhost\rc.conf\inetd > > letting you fold in the other files, like the > inetd.conf, into "registry handlers", e.g.: > > My Computer\localhost\inetd.conf\telnet > > enable NO > sockettype stream > protocol tcp > wait NO > user root > program /usr/libexec/telnetd > > etc.. > > o Support sysctls in the HKEY_DYN_DATA and HKEY_CURRENT_CONFIG > sections (for those that can go into loader.rc). This last point is neat, especially if whoever is doing it could setup something with the doc team and actually get to actively documenting, as things progress, what each sysctl does and affects. > Sure, people would be annoyed to find out that they had been > moving towards an idea that Microsoft had developed, but > wouldn't this be a fun tweak to people's tails? > > 8-) 8-) 8-) > > -- Terry -- Bosko Milekic bmilekic@unixdaemons.com bmilekic@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message