RE: Junior Annoying Hacker Task

2002-02-04 Thread Brandon S. Allbery
On Mon, 2002-02-04 at 11:03, Patrick Bihan-Faou wrote: > Some may argue that storing userland data in the kernel space is Not A Nice > Thing(tm) but it certainly makes things a lot easier. Why am I reminded of when terminal type information was bodged into the stty settings as a 2-character code?

Re: Junior Annoying Hacker Task

2002-02-04 Thread Nik Clayton
On Tue, Feb 05, 2002 at 01:30:53AM +1030, Mike Gratton wrote: > > However, I have previously thought that a system that used xml files to > > store application configs (that would then be used to generate valid conf > > files) would be useful. > > I was on the verge of doing so the other day. Bas

RE: Junior Annoying Hacker Task

2002-02-04 Thread Patrick Bihan-Faou
Hi, I don't know whether the suggested approach is really a good one or not, but as far as implementing some registry-like features in FreeBSD, we have developped something that proves to be useful. The idea was to extend the sysctl mechanism to make it dynamic from the user-land point of view. T

Re: Junior Annoying Hacker Task

2002-02-04 Thread Mike Gratton
Andrew Cowan wrote: > > However, I have previously thought that a system that used xml files to > store application configs (that would then be used to generate valid conf > files) would be useful. I was on the verge of doing so the other day. Basically, I wanted to have standard configuratio

Re: Junior Annoying Hacker Task

2002-02-04 Thread David Schultz
Thus spake Miguel Mendez <[EMAIL PROTECTED]>: > On Sat, 02 Feb 2002 03:29:50 -0800 > Terry Lambert <[EMAIL PROTECTED]> wrote: > > Hi Terry et al, > > > Let me know the form you want the hierarchy to take, so > > you can stick it into the GTK hierarchy thingy; I'll be > > happy to crank out some

RE: Junior Annoying Hacker Task

2002-02-03 Thread Andrew Cowan
> I don't see how it would make it any easier than using flat text > files, unless you're planning on providing a DTD and using generic XML > gui editors. Putting data in XML doesn't automatically imbue it with > anything, except the ability to use generic XML tools on it. Of > course, given li

RE: Junior Annoying Hacker Task

2002-02-03 Thread Mike Meyer
[Context lost to top posting.] Andrew Cowan <[EMAIL PROTECTED]> types: > > How about editing the rc.conf file from the proposed virc program, that > would then re-generate the rc.conf file upon saving. Of course the virc > would store the underlying configuration in an xml config file.. That

RE: Junior Annoying Hacker Task

2002-02-03 Thread Andrew Cowan
How about editing the rc.conf file from the proposed virc program, that would then re-generate the rc.conf file upon saving. Of course the virc would store the underlying configuration in an xml config file.. That should make Kutulu very happy :) However, I have previously thought that a s

Re: Junior Annoying Hacker Task

2002-02-03 Thread Miguel Mendez
On Sun, 3 Feb 2002 00:38:34 +0800 (MYT) Dinesh Nair <[EMAIL PROTECTED]> wrote: Hi, > > times, well, not with the registry paradigm, but some sort of > > graphical admin tool based on GTK. I'm doing exams this week but may > > take a go at it after I finish them. > > why not use something like w

Re: Junior Annoying Hacker Task

2002-02-03 Thread Miguel Mendez
On Sat, 02 Feb 2002 03:29:50 -0800 Terry Lambert <[EMAIL PROTECTED]> wrote: Hi Terry et al, > Let me know the form you want the hierarchy to take, so > you can stick it into the GTK hierarchy thingy; I'll be > happy to crank out some quick yacc and lex code to do > the parsing of the file into t

Re: Junior Annoying Hacker Task

2002-02-03 Thread Brian T . Schellenberger
On Saturday 02 February 2002 03:57 pm, Juha Saarinen wrote: > On Sat, 2 Feb 2002, Brian T.Schellenberger wrote: > > No, it's not, because it still maintains a separation between "system" > > control (rc.conf) and application control (/var/packges). > > > > It's more like config.sys or something

Re: Junior Annoying Hacker Task

2002-02-02 Thread Mike Meyer
Terry Lambert <[EMAIL PROTECTED]> types: > I guess NIH beats an idea to death, even if the original > implementation bears no resemblence to the current one. The problem with the registry is not that it's a single place that tries to control everything. The problem with the registry is that you h

Re: Junior Annoying Hacker Task

2002-02-02 Thread Juha Saarinen
On Sat, 2 Feb 2002, Brian T.Schellenberger wrote: > No, no, I was saying that *rc.conf* was more like config.sys than the > registry. I see. Sorry for the misunderstanding. Then again, the registry is the epitome of all that's counter-intuitive, awkward and generally oh-why-does-it-have-to-be

Re: Junior Annoying Hacker Task

2002-02-02 Thread Terry Lambert
Pete French wrote: > Is this NSS as in the Mozilla crypt stuff ? If so then what does it > have to do with netinfo - or is OSX netinfo different to normal > netinfo ? [did they break yet another thing ? :-(] NSS = Name Service Switch GNU LIBC has a nice introductory document: http://www.gnu.org

Re: Junior Annoying Hacker Task

2002-02-02 Thread Terry Lambert
"Brandon S. Allbery KF8NH" wrote: > And I, somehow, had failed to notice that there's no NSS on FreeBSD. > *smacks self on head* Not quite so simple after all, I guess There are NSS patches for FreeBSD; check the PR database; they just haven't been integrated. The PR database is like the "b

Re: Junior Annoying Hacker Task

2002-02-02 Thread Terry Lambert
Juha Saarinen wrote: > > No, it's not, because it still maintains a separation between "system" > > control (rc.conf) and application control (/var/packges). > > > > It's more like config.sys or something . . . > > Much more than that. The registry also stores dynamic data, such as > performan

Re: Junior Annoying Hacker Task

2002-02-02 Thread Terry Lambert
"Brian T.Schellenberger" wrote: > No, it's not, because it still maintains a separation between "system" > control (rc.conf) and application control (/var/packges). > > It's more like config.sys or something . . . Oh, ya got me! Oh! Oh! Yeah... config.sys... MUCH better... 8-) 8-). ...actual

Re: Junior Annoying Hacker Task

2002-02-02 Thread Pete French
> And I, somehow, had failed to notice that there's no NSS on FreeBSD. > *smacks self on head* Not quite so simple after all, I guess Is this NSS as in the Mozilla crypt stuff ? If so then what does it have to do with netinfo - or is OSX netinfo different to normal netinfo ? [did they break

Re: Junior Annoying Hacker Task

2002-02-02 Thread Brandon S. Allbery
On Sat, 2002-02-02 at 14:50, Pete French wrote: > > AFAIK, Netinfo on Mac OS X is implemented deep. That is, it overrules > > standard libc behaviour (like the resolver, fstab and other things), Yes > > it's userspace jim, but not as we know it :) > > This was certainly true on NeXT's - you nee

Re: Junior Annoying Hacker Task

2002-02-02 Thread Juha Saarinen
On Sat, 2 Feb 2002, Brian T.Schellenberger wrote: > No, it's not, because it still maintains a separation between "system" > control (rc.conf) and application control (/var/packges). > > It's more like config.sys or something . . . Much more than that. The registry also stores dynamic data, s

Re: Junior Annoying Hacker Task

2002-02-02 Thread Brian T . Schellenberger
On Saturday 02 February 2002 06:15 am, Terry Lambert wrote: > Wilko Bulte wrote: > > I would add differences like: the M$ registry is bound to > > be corrupted, is only accessible by obscure tools, > > is for the best part not documented > > > > In other words why should FreeBSD adopt something li

Re: Junior Annoying Hacker Task

2002-02-02 Thread Pete French
> AFAIK, Netinfo on Mac OS X is implemented deep. That is, it overrules > standard libc behaviour (like the resolver, fstab and other things), Yes > it's userspace jim, but not as we know it :) This was certainly true on NeXT's - you needed special versions of most programs (e.g. sendmail, bind

Re: Junior Annoying Hacker Task

2002-02-02 Thread Dinesh Nair
On Sat, 2 Feb 2002, Miguel Mendez wrote: > times, well, not with the registry paradigm, but some sort of > graphical admin tool based on GTK. I'm doing exams this week but may > take a go at it after I finish them. why not use something like webmin ? Regards, /\_/\

Re: Junior Annoying Hacker Task

2002-02-02 Thread Emiel Kollof
Brandon S. Allbery KF8NH heeft op zaterdag 2 februari 2002 om 16:48 het volgende geschreven: > On Sat, 2002-02-02 at 08:52, Emiel Kollof wrote: >> Oh, I am not volunteering, it's way beyond my capabilities. > > Hm, Darwin is (userspace-wise) mostly FreeBSD 3.x, isn't it? I wouldn't > expect po

Re: Junior Annoying Hacker Task

2002-02-02 Thread Brandon S. Allbery
On Sat, 2002-02-02 at 08:52, Emiel Kollof wrote: > Oh, I am not volunteering, it's way beyond my capabilities. Hm, Darwin is (userspace-wise) mostly FreeBSD 3.x, isn't it? I wouldn't expect porting its NetInfo implementation to be particularly difficult. -- brandon s. allbery [os/2][linux][s

Re: Junior Annoying Hacker Task

2002-02-02 Thread Brandon S. Allbery
On Sat, 2002-02-02 at 05:59, Thomas Hurst wrote: > Maybe some sort of hierachy would be good.. > > /etc/rc.conf/services # sendmail, bind etc > /etc/rc.conf/security # firewall, secure levels > /etc/rc.conf/system # library paths and other low level tweakables SuSE Linux does this (/etc/

Re: Junior Annoying Hacker Task

2002-02-02 Thread Yifeng Xu
t" <[EMAIL PROTECTED]> To: "Brian T.Schellenberger" <[EMAIL PROTECTED]> Cc: "Paul Fardy" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, February 02, 2002 9:38 AM Subject: Re: Junior Annoying Hacker Task > "Bri

Re: Junior Annoying Hacker Task

2002-02-02 Thread Emiel Kollof
Nik Clayton heeft op zaterdag 2 februari 2002 om 13:37 het volgende geschreven: >> >> Let me know the form you want the hierarchy to take, so >> you can stick it into the GTK hierarchy thingy; > > Just go and port NetInfo from Apple's Darwin. Now that is a cool idea. Netinfo has been around fo

Re: Junior Annoying Hacker Task

2002-02-02 Thread Pete French
> Just go and port NetInfo from Apple's Darwin. I assume from this that there isnt currently a FreeBSD netinfo implementation then unfortunately ? So why is it mentioned in the ntpd man page ? -pcf. [someone been nicking man pages from NeXT system ? :-)] To Unsubscribe: send mail to [EMAIL P

Re: Junior Annoying Hacker Task

2002-02-02 Thread Kutulu
From: "Brian T.Schellenberger" <[EMAIL PROTECTED]> Sent: Friday, February 01, 2002 7:31 PM > I don't see that at all--the most distinctive characteristic to me of the > Microsoft Windows Registry is that it tries to be a *single* place where > *all* configuration information--both system and appl

Re: Junior Annoying Hacker Task

2002-02-02 Thread Nik Clayton
On Sat, Feb 02, 2002 at 03:29:50AM -0800, Terry Lambert wrote: > Miguel Mendez wrote: > > Are you really serious about this? :) I've thought about that many > > times, well, not with the registry paradigm, but some sort of graphical > > admin tool based on GTK. I'm doing exams this week but may ta

Re: Junior Annoying Hacker Task

2002-02-02 Thread Terry Lambert
Miguel Mendez wrote: > Are you really serious about this? :) I've thought about that many > times, well, not with the registry paradigm, but some sort of graphical > admin tool based on GTK. I'm doing exams this week but may take a go at > it after I finish them. Let me know the form you want the

Re: Junior Annoying Hacker Task

2002-02-02 Thread Terry Lambert
Wilko Bulte wrote: > I would add differences like: the M$ registry is bound to > be corrupted, is only accessible by obscure tools, > is for the best part not documented > > In other words why should FreeBSD adopt something like that? rc.conf is a registry in all but tools. 8-). -- Terry To U

Re: Junior Annoying Hacker Task

2002-02-02 Thread Terry Lambert
Matt Heckaman wrote: > Yeah, but we've also got a file edited by root and root alone, why would > root be trying to add all kinds of code in it? I think rc.conf will be > failing as it is if people add certain code in it, what do we lose? The same reason we check the syntax of the password entrie

Re: Junior Annoying Hacker Task

2002-02-02 Thread Miguel Mendez
On Fri, Feb 01, 2002 at 04:26:13PM -0800, Terry Lambert wrote: Hi Terry, > Who is a GTK hacker? I've done some GTK programs in the past. > > 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 lo

Re: Junior Annoying Hacker Task

2002-02-02 Thread Thomas Hurst
* Wilko Bulte ([EMAIL PROTECTED]) wrote: > On Fri, Feb 01, 2002 at 04:26:13PM -0800, Terry Lambert wrote: > > Does someone want to write a "registry editor" program? rc editor.. registry would imply it's going to be used generally, where as it'll be a cold day in hell before anybody lets rc.con

Re: Junior Annoying Hacker Task

2002-02-02 Thread Wilko Bulte
On Fri, Feb 01, 2002 at 04:26:13PM -0800, Terry Lambert wrote: > > >> foo_enable="NO" > > > ipfilter_enable="YES" > > > firewall_enable="NO" > > natd_enable="NO" > > natd_interface="fxp0" > > inetd_enable="NO" > > inetd_program="/usr/sbin/inetd" > > foo

Re: Junior Annoying Hacker Task

2002-02-01 Thread Matt Heckaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 1 Feb 2002, Terry Lambert wrote: ... : Determining "source-ability" by sourcing is dangerous. Well, you said make sure it's "sourcable" -- not "source it" :) : You would need to do a "chroot", or run it as a non-priviledged user, : for the p

Re: Junior Annoying Hacker Task

2002-02-01 Thread Brian T . Schellenberger
On Friday 01 February 2002 08:38 pm, Terry Lambert wrote: > "Brian T.Schellenberger" wrote: > > - There is not a single point of failure for all progams; it only > > controls basic system functions and services, it does not control > > applications, so if it fails, your applications aren't all sc

Re: Junior Annoying Hacker Task

2002-02-01 Thread Terry Lambert
Matt Heckaman wrote: > On Fri, 1 Feb 2002, Terry Lambert wrote: > : There's not even a "virc" equivalent to "vipw", that can do a > : consistency check on the file to make sure it's "sourceable" by a shell > : script, before permitting the edits to replace the valid contents, and > : keep a backup

Re: Junior Annoying Hacker Task

2002-02-01 Thread Matt Heckaman
On Fri, 1 Feb 2002, Terry Lambert wrote: ... : There's not even a "virc" equivalent to "vipw", that can do a : consistency check on the file to make sure it's "sourceable" by a shell : script, before permitting the edits to replace the valid contents, and : keep a backup of the previous file for y

Re: Junior Annoying Hacker Task

2002-02-01 Thread Terry Lambert
"Brian T.Schellenberger" wrote: > > Does someone want to write a "registry editor" program? > > Yuch. Why? Clearly, you are not a "Junior Annoying Hacker". > > The point of the program would be to edit the "FreeBSD > > Registry", rc.conf, and make it look just like the Windows > > Registry in

Re: Junior Annoying Hacker Task

2002-02-01 Thread Brian T . Schellenberger
On Friday 01 February 2002 07:26 pm, Terry Lambert wrote: > > >> foo_enable="NO" > > > > > > ipfilter_enable="YES" > > > firewall_enable="NO" > > > > natd_enable="NO" > > natd_interface="fxp0" > > inetd_enable="NO" > > inetd_program="/usr/sbin/inetd" > >

Re: Junior Annoying Hacker Task

2002-02-01 Thread Bosko Milekic
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, usi