[sane-devel] hosts.resolv ???
ToddAndMargo
ToddAndMargo at zoho.com
Mon Jan 29 20:32:19 UTC 2018
On 01/27/2018 04:50 PM, Olaf Meeuwissen wrote:
> Hi,
>
> ToddAndMargo writes:
>
>> Hi All,
>>
>> Fedora 27
>>
>> $ rpm -qa sane\*
>> sane-backends-1.0.27-9.fc27.x86_64
>> sane-backends-drivers-scanners-1.0.27-9.fc27.x86_64
>> sane-backends-drivers-cameras-1.0.27-9.fc27.i686
>> sane-backends-libs-1.0.27-9.fc27.i686
>> sane-backends-daemon-1.0.27-9.fc27.x86_64
>> sane-backends-drivers-scanners-1.0.27-9.fc27.i686
>> sane-backends-libs-1.0.27-9.fc27.x86_64
>> sane-backends-drivers-cameras-1.0.27-9.fc27.x86_64
>>
>> What I am trying to do is to allow everyone of
>> 192.168.255.0/24 and
>> 127.0.0.1
>>
>> to access saned
>>
>> as such I have /etc/sane.d/saned.conf (comments removed):
>>
>> 192.168.255.0/24
>> 127.0.0.1
>>
>> Have I done things correct so far?
>>
>> Confusion: in the saned man page, it states:
>>
>> FILES
>> /etc/hosts.equiv
>> The hosts listed in this file are permitted to
>> access all local SANE devices. Caveat: this
>> file imposes serious security risks and its
>> use is not recommended.
>>
>> No fooling not recommended!
>>
>> Why do I need hosts.equiv to allow access to all SANE
>> devices? I though I just did that in saned.conf?
>
> You don't need one. Just use /etc/sane.d/saned.conf. The manual page
> is just saying saned will use /etc/hosts.equiv if present. You are
> safer of without a hosts.equiv file. For details see
>
> http://man7.org/linux/man-pages/man5/hosts.equiv.5.html
>
> Hope this helps,
> --
> Olaf Meeuwissen, LPIC-2 FSF Associate Member since 2004-01-27
Do I need to specify anything other than what I already have
under saned.conf to get everyone on those two networks
access to saned?
More information about the sane-devel
mailing list