Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] TFTP server problems.


On Wed, Sep 24, 2008 at 09:18, DaZZa <dagibbs@xxxxxxxxx> wrote:
>
> Folks.
>
> Distro is OpenSUSE 11, X64
>
> I'm trying to get a box to allow inbound tftp connections. As far as I
> can tell, the config is right for xinet.d. Config file is as follows
>
> service tftp
> {
>        socket_type     = dgram
>        protocol        = udp
>        wait            = yes
>        user            = jffnms
>        group           = www
>        server          = /usr/sbin/in.tftpd
>        server_args     = -s /opt/jffnms/tftpd/
> }
>
> However, every time I try to connect to the tftp service, I get the
> following error in my logs
>
> Sep 24 09:18:03 fred in.tftpd[29931]: cannot set groups for user nobody
>
> I think this means the service is trying to run as user nobody -
> despite the config file telling it to run as another user.
>
> Anyone got any clue why? Or can point out what I've stuffed up?
>
> TIA
>
> DaZZa

Hi DaZZa,

Are you using YaST2 to configure this? (i.e. the TFTP  and/or the
xinetd YaST modules) I ask because YaST is liable to overwrite the
config if you manually update /etc/xinetd.d/tftp and YaST reruns.

You should be in 'just works' territory if you're using YaST.

Cheers,

h