Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[hylafax-users] asking for root's password

410 views
Skip to first unread message

Fourat Zouari

unread,
May 5, 2006, 11:17:55 AM5/5/06
to hylafa...@hylafax.org
Hello,
I have hylafax installed on a debian server, when trying to send a fax (sendfax) it asks for the root's password, samething for faxstat.
the problem that i use mail2fax gateway, so the system once asked for password, fax sending operation is halted.
I dont know how to not to let it ask for passwords.

Thanks for any help.

Fourat Zouari

unread,
May 5, 2006, 11:48:00 AM5/5/06
to hylafa...@hylafax.org
here's a snapshot :

myserver:~# sendfax -vv -d 71786155 /tmp/msg.ps
Trying localhost (127.0.0.1) at port 4559...
Connected to assurancesbiat.com.tn .
220 assurancesbiat.com.tn server (HylaFAX (tm) Version 4.2.1) ready.
-> USER root
331 Password required for root.
Password:

Giuseppe Sacco

unread,
May 6, 2006, 4:00:46 AM5/6/06
to Fourat Zouari, hylafa...@hylafax.org

Please check your configuration file /etc/hylafax/hosts.hfaxd. More
information is available with "man hosts.hfaxd", "man faxadduser".
The normal content of that file should be:

# hosts.hfaxd
# This file contains permissions and password for every user in
# the system.
#
# For more information on this biject, please see its man page
# and the commands faxadduser and faxdeluser.
localhost:21::

Bye,
Giuseppe


____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-us...@hylafax.org < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sa...@ifax.com.*

Adarsh V.P

unread,
May 6, 2006, 7:29:35 PM5/6/06
to Giuseppe Sacco, Fourat Zouari, hylafa...@hylafax.org
> Il giorno ven, 05/05/2006 alle 18.17 +0300, Fourat Zouari ha scritto:
>> Hello,
>> I have hylafax installed on a debian server, when trying to send a fax
>> (sendfax) it asks for the root's password, samething for faxstat.
>> the problem that i use mail2fax gateway, so the system once asked for
>> password, fax sending operation is halted.
>> I dont know how to not to let it ask for passwords.
>
> Please check your configuration file /etc/hylafax/hosts.hfaxd. More
> information is available with "man hosts.hfaxd", "man faxadduser".
> The normal content of that file should be:
why going for hosts.hfaxd ?why cant you help her to use the pam
authentication?
regards
Adarsh

Giuseppe Sacco

unread,
May 31, 2006, 8:46:16 AM5/31/06
to hylafa...@hylafax.org, Fourat Zouari
>> Il giorno ven, 05/05/2006 alle 18.17 +0300, Fourat Zouari ha scritto:
>>> Hello,
>>> I have hylafax installed on a debian server, when trying to send a fax
>>> (sendfax) it asks for the root's password, samething for faxstat.
>>> the problem that i use mail2fax gateway, so the system once asked for
>>> password, fax sending operation is halted.
>>> I dont know how to not to let it ask for passwords.
>>
>> Please check your configuration file /etc/hylafax/hosts.hfaxd. More
>> information is available with "man hosts.hfaxd", "man faxadduser".
>> The normal content of that file should be:
> why going for hosts.hfaxd ?why cant you help her to use the pam
> authentication?
> regards
> Adarsh

hylafax for debian is already compiled using PAM support. In order to
enable it create a file called /etc/pam.d/hylafax with these three lines:
@include common-auth
@include common-account
@include common-session

At this point every access to hylafax will require user/password. Access
from external machines may use local users, but also all local accesses
will *require* a password, i.e., if you type 'faxstat -s' you will be
prompted for password authentication.

0 new messages