Hi, 

Problem 1)
    I am writing a script that will create user
aliases for a mail accnt through a web-end interface
using php for qmail . To create aliases in qmail I
have to create a file in a qmail configuration
directory . The problem is  

The write permission for that directory lies with the
qmail user and a different user runs the webserver . I
donot want to put them(qmail and webserver users )  in
same grp either . So is there anyway in which I can 
do this job i.e su to diff user while running that
portion of script  etc .
   One solution is to write the files  with web server
user and then use cron job(root owned ) to cp these
files to appropt directory . But the solution is messy

I will be helpful if any cleaner solutionos stated 

Problem 2)
I have to use  NFS system where  there will be two
servers . One will be the master while other will just
replicate the master . The problem I face is how can I
control so that slave or master will always update
each other even if there is a period in which
operations are disconnected(btw master and slave)  

writing in anticipation 
Bye
Tushar Shah


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

          ================================================
To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header. 
Check archives at http://www.mail-archive.com/ilugd%40wpaa.org

Reply via email to