HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cant set privileges



Rodrigo Pinto Abrantes wrote:
    
    	dear all, 
    
    
    
    	i have hylafax v4.0pl1 configured on a linux box running
    	2.0.28.
    
    	Hylafax is configured as inetd, with parameters:
    
    hylafax stream  tcp     nowait  fax     /usr/local/fax/lib/hfaxd hfaxd -I
    
    
    	The hosts file is:
    localhost
    127.0.0.1
    
    
    	When i connect via sendfax, i receive the message:
    	"Login failed: 550 Cannot set privileges."
    
    	If i cut localhost and its IP from hosts, it
    	requires password when i run cat|sendfax -d <faxnumber>
    
    	
    	What's the matter with this configuration ?!
    	is there any parameter in inetd.conf that should
    	be setted ?!

Just grep through the source in .../hfaxd/*.c++ for the
message "Cannot set privileges" and you will see that the
problem is a failing:
	...
	fxBool isSetup = (chroot(".") >= 0 && chdir("/") >= 0);

Try to find out the reason for this problem on your system.

	matthias




Project hosted by iFAX Solutions