On Mar 3, 10:38 pm, Chris Davies
> Sounds to me like you're missing an entry for saned in /etc/group. If
> you're struggling, use these lines to add it:
>
> # Determine expected GID for saned
> G=`awk -F: '/^saned:/ {print $4}' /etc/passwd`; echo GID is $G
>
> # Add missing group - unless it's already there
> test -n "$G" && sudo groupadd -g $G saned
>
> # Tell you the expected group name of the saned group
> N=`awk -F: '$3 == "'"$G"'" {print $0; exit}' /etc/group`; echo NAME is $N
>
> The final line tells you the group name for use in the inetd.conf entry
> (you'd replace GROUP as necessary)
>
> sane-port stream tcp nowait saned.GROUP /usr/sbin/saned saned
Chris,
This is my read out from the commands you suggested;
geoff@challenger:~$ G=`awk -F: '/^saned:/ {print $4}' /etc/passwd`;
echo GID is $G
GID is 120
geoff@challenger:~$ test -n "$G" && sudo groupadd -g $G saned
[sudo] password for geoff:
groupadd: group saned exists
geoff@challenger:~$ N=`awk -F: '$3 == "'"$G"'" {print $0; exit}' /etc/
group`; echo NAME is $N
NAME is saned:x:120:minkins_2,geffers,geoff,saned
geoff@challenger:~$
My inetd entry is as follows;
#
smbd
sane-port stream tcp nowait saned.saned /usr/sbin/saned saned
So, it looks as though all is set up OK but still no joy.
Strangely, if I run saned -d6 from the command line my remote image
scanner connects, if I just run saned it does not. I thought the -d
flag was just a debug mode to supply information.
Geoff Lane