[prev in list] [next in list] [prev in thread] [next in thread] 

List:       majordomo-users
Subject:    Re: mj_create_list in MajorCool
From:       Deb <deb () tickleme ! llnl ! gov>
Date:       2002-10-23 0:46:54
[Download RAW message or body]

Thanks for responding, Bill (I was hoping you were lurking out there!).

I had (finally) surmised that that validity checks were for commandline
usage.  Since we want to restrict create/delete/rename to a few front-line 
support people (not necessarily sysadmins, and thus why they use the web
interface), we've got some user verification code built into the 
"cgi-bin/mjconfig" script that will set up a session key and do the
validity checks.

I've also added a newaliases execution, and am also working on an RCS 
check-in for each change in the .majordomo_aliases file, to keep track of 
a series of changes over time.  These changes are in the 
mj_(create,delete,rename)_list scripts.

Again, thanks for checking in - it's good to know you're still out there.

deb

Bill Houle <bhoule@n2.net> had this to say,
> On Fri, Oct 18, 2002 at 03:27:54PM -0700, Deb wrote:
> > 
> > Well, please correct me if I'm wrong, but these scripts, when called by
> > the cgi-bin/majordomo  are run by majorcool's wrapper, which runs as
> > UID=majordomo in our installation.  So if I set $valid_users="majordomo" 
> > then mj_create_list validates and creates the requested list.  Setting
> > this to any other (single) value causes it to fail.
> 
> The $valid_users variable is intended to be a list (w/s separated,
> no commas) of local logins, and certainly the UID of the majordomo
> process must be one of them.  Others might be local sysadmins who
> want to run the script from the command line rather than be contrained
> to using the web browser. This allowed us to create lists via the
> shell just as easily as via MC....
> 
> --bill
> 
> 

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
          There are 010 types of people in the world:
      those that understand binary, and those that don't.
τΏτ
 ~ 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic