Try setting up a tcpserver/tcpclient system to do what you want.
tcpserver runs as alias or root.  tcpclient passes in the info you want to
change and you can set up your authentication rules/access restrictions in
a way that make sense for your system.

I use this quite a bit and it has been VERY useful.

On Thu, 2 Sep 1999, Kai MacTane wrote:

> I'd like to set up a CGI script that allows certain users to modify certain
> aliases from a Web form. This would include creating and deleting a few,
> which would require write access to the alias directory.
> 
> Looking at the permissions on that directory, I see they're "drwxr-sr-x",
> which leads me to wonder: Does anyone know if qmail would have a problem
> with changing those permissions?
> 
> While we're at it, there's got to be a better way than making that
> directory world-writable. A SUID script and use of sudo also come to mind.
> However, none of these options sound fantastically attractive, and if
> anyone has other ideas on how to do this, I'd be open to suggestions.
> 
> -----------------------------------------------------------------
>                              Kai MacTane
>                          System Administrator
>                       Online Partners.com, Inc.
> -----------------------------------------------------------------
> From the Jargon File: (v4.0.0, 25 Jul 1996)
> 
> hired gun /n./ 
> 
> A contract programmer, as opposed to a full-time staff member. All
> the connotations of this term suggested by innumerable spaghetti
> Westerns are intentional.
> 
> 

---------------------------------
Timothy L. Mayo                         mailto:[EMAIL PROTECTED]
Senior Systems Administrator
localconnect(sm)
http://www.localconnect.net/

The National Business Network Inc.      http://www.nb.net/
One Monroeville Center, Suite 850
Monroeville, PA  15146
(412) 810-8888 Phone
(412) 810-8886 Fax

Reply via email to