ports/92755: databases/slony1: Add ability to run slon as a different user

Vivek Khera vivek at khera.org
Mon Feb 6 21:10:15 UTC 2006


The following reply was made to PR ports/92755; it has been noted by GNATS.

From: Vivek Khera <vivek at khera.org>
To: bug-followup at FreeBSD.org,
 decibel at decibel.org
Cc:  
Subject: Re: ports/92755: databases/slony1: Add ability to run slon as a different user
Date: Mon, 6 Feb 2006 16:04:55 -0500

 I'll accept this enhancement.
 
 But doesn't setting the slon_user variable automatically make it run  
 under that user?  I'm wondering what the point of the slon_command()  
 function is.  The only difference is the normal way would run with  
 'su -m' but yours does 'su -l'.  I think the former is preferable  
 since it doesn't require slony_user have a valid shell or password.
 
 Also, the variable slon_user should be filtered through %%NAME%%  
 expansion, and might be best located down where the enable flag is  
 defaulted, too.
 
 



More information about the freebsd-ports-bugs mailing list