From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) by sourceware.org (Postfix) with ESMTPS id C6B2B3858C2C for ; Fri, 1 Oct 2021 07:21:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C6B2B3858C2C Received: by mail-qk1-x732.google.com with SMTP id 73so8291306qki.4 for ; Fri, 01 Oct 2021 00:21:18 -0700 (PDT) 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) Received: from [192.168.149.55] (gate.reksoft.ru. [188.64.144.36]) by smtp.googlemail.com with ESMTPSA id bl28sm2816646qkb.114.2021.10.01.00.21.17 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 01 Oct 2021 00:21:17 -0700 (PDT) To: cygwin@cygwin.com From: ilya Basin 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 Content-Type: text/plain; charset=windows-1252 Content-Language: ru Content-Transfer-Encoding: 7bit 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Oct 2021 07:21:20 -0000 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?