delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/10/01/03:21:50

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D12773857C52
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1633072907;
bh=JlOHSwsKcsbVesmszIZqCelRMfga6Wul3cKUiUM8RXQ=;
h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=huqSKPkdDLBZzt9ahCPNmg1smYCRwnJzyMqE7uw9SPxTbsC7fhNK5MUsgf++21yN9
khSEKgEuXsXelRigLLUQkS3L8JsXfu58tUBpc9Bu5LZoDjalNwGjxs8uMIcY+2gTlE
nNTs4xMe8lCHxAag77paw77nEcb6/DE0D8tPoF3M=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C6B2B3858C2C
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:to:from:subject:message-id:date:user-agent
:mime-version:content-language:content-transfer-encoding;
bh=r3GBb7TO3ts8VqwtNEm7vGRVFA1kpXJNbQtYULKuxIA=;
b=ey0RnMfwqvhJl1dsKhFe9qu817TOwT7DtzbycRqiu9rTjy+N5ZAhSqPL7JuJQp9EPa
RtEdcD/FlVcziGFfpp6qRFYKZ7yMqBTCatgcXCSD8o5nrtPZCzu3q31mWopI0zc7FEH/
qWYhVs1eL4Pqq6yMlGx4aIA7FtvN9Wthf6k+2QHqyMaNRwHAf/uUS4A9RTAZLLtdUO1p
vmLGp0tIPYOGlKl8JrKUd49PMIv5mBjLIWltPlmeTEKSy0aKUAnY8IwVrSrNQSMpPfLB
VYEtj8VD4osw0FuR66l6yl8Vk/2Ep2m5jKPg58Dy2YTwhIAYN4KRryqMramU41Ga0mVx
Bptg==
X-Gm-Message-State: AOAM530YiWxk6OKsOR1ymbxbNNhTghD7lJEh/d4OZq4FeurnuztlFyaR
apJVdPtmeTPgRQMq/saFhBKr5EPj4o4=
X-Google-Smtp-Source: ABdhPJz3MqSdu1cn3lN8x1JhR6ylZsH8nLXyOdbIMgT8jXD8j1SfaXIsmPFaF6guPJdjV+h1/DiA1g==
X-Received: by 2002:a37:270f:: with SMTP id n15mr8137708qkn.203.1633072878091;
Fri, 01 Oct 2021 00:21:18 -0700 (PDT)
To: cygwin AT cygwin DOT com
Subject: xinetd: PID 2280: Service tftp missing attribute user - DISABLING
Message-ID: <512182d8-7c0a-a003-e3b6-aea9f73580a3@gmail.com>
Date: Fri, 1 Oct 2021 10:21:15 +0300
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
MIME-Version: 1.0
X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: ilya Basin via Cygwin <cygwin AT cygwin DOT com>
Reply-To: ilya Basin <basinilya AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Hi. I installed xinetd and tftp-server recently, ran xinetd-config and tftpd-config, and enabled /etc/xinetd.d/tftp. However, I was getting the following error in Windows Event log:

    xinetd: PID 2280: Service tftp missing attribute user - DISABLING

Workaround:

   # The xinetd user name must exist in /etc/passwd
   # We have to strip "MYHOST+" from "MYHOST+cyg_server" to make xinetd match the entry
   mkpasswd.exe | sed 's/^[^:]*\(cyg_server\):/\1/;t;d' >>/etc/passwd

Commenting "user=cyg_server" is not needed and won't help because then xinetd looks for the current user in /etc/passwd

By the way, cygsshd runs fine as NT_AUTHORITY\SYSTEM on Windows 10 and can serve both local and domain users. I just had to strip the machine prefix in /etc/passwd for the local users. Perhaps /usr/share/doc/Cygwin/xinetd.README is outdated?


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019