| 
     Hylafax Mailing List Archives
 | 
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
Re: 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.