HylaFAX The world's most advanced open source fax server

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

AW: Cannot set privileges



Thanks for the help.
Indeed after taking out this line from th inetd.conf fax worked again fine.
I answered one question wrongly: Do you want to start fax via inetd or so?
And it is part of the howto..
Cheerio, tim

-----Ursprüngliche Nachricht-----
Von:	Phil Watkinson [SMTP:pkw@elgro.co.uk]
Gesendet am:	Montag, 17. August 1998 13:25
An:	HylaFAX List
Cc:	Tim Mueller-Seydlitz
Betreff:	Re: flexfax: Cannot set privileges

At 23:58 15/08/98 +0200, Tim Mueller-Seydlitz wrote:
>
>I have been working just fine with HylaFax and experienced no problems
>until I installed some software and modified the configuration for a
>serial line modem.
>Since I get the message :
>Login failed: 550 Cannot set privileges.
>when I call faxstat or faxsend...
>

The last couple of times this has come up on the list, it has been 
people using the SuSE Linux distribution with a hfaxd line in their
/etc/inetd.conf; something like :

hylafax stream  tcp     nowait  fax     /usr/lib/fax/hfaxd    hfaxd -I

The advice from Carsten Hoeger at SuSE is to remove it. 

If this fails, then techically, (and I hesitate to mention this) then
there is a serious problem with the chroot or chdir system call. 
Matthias can explain it better than I can :

>The reason for this reply in Login.c++ is a failing chroot(2)
>or chdir(2) call at line ~150 in Login.c++. Check why the hfaxd(1M)
>is unable to perform these calls. Maybe it's not started by root
>or installed without setuid bit turned on (e.g. mode 4755) or the
>root of the spooling area is a symlink to some other place.
>

Obviously I know nothing about the changes your new software has made; 
but I would be very surprised that any change to the hylafax config
files would have produced this error message.

mfG,
Phil Watkinson,
Boston, UK.	




Project hosted by iFAX Solutions