[news.software.b] $NEWSCTL/bin/config

ronald@robobar.co.uk (Ronald S H Khoo) (10/10/90)

Henry, what about a stronger note in $C_NEWS_SRC/conf/config.proto saying
"do not edit this file" or something like that ?  Someone's recently been
wondering why relaynews was giving up setuid privs just because $NEWSMASTER
was changed in bin/config :-(

-- 
ronald@robobar.co.uk +44 81 991 1142 (O) +44 71 229 7741 (H)

henry@zoo.toronto.edu (Henry Spencer) (10/10/90)

In article <1990Oct9.205840.369@robobar.co.uk> ronald@robobar.co.uk (Ronald S H Khoo) writes:
>Henry, what about a stronger note in $C_NEWS_SRC/conf/config.proto saying
>"do not edit this file" or something like that ?  Someone's recently been
>wondering why relaynews was giving up setuid privs just because $NEWSMASTER
>was changed in bin/config :-(

There is a warning in the current version, although it could perhaps be
strengthened.  More to the point, though, with the exception of NEWSCONFIG,
which really does have to be known everywhere, there is no fundamental
reason why the config file *couldn't* be a master control file, with the
C code consulting it rather than relying on compiled-in settings.  This
would make the warning unnecessary.  It's in the works.
-- 
Imagine life with OS/360 the standard  | Henry Spencer at U of Toronto Zoology
operating system.  Now think about X.  |  henry@zoo.toronto.edu   utzoo!henry