delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/03/14:33:00

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_FRT_BELOW2,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Thu, 3 Mar 2011 16:32:41 -0300
Message-ID: <AANLkTi==rtBxbOmScJDmsu5K4O8zdGe9eZbVUYiBLMO1@mail.gmail.com>
Subject: SSHD [Windows Domain Controller]: fatal: chown(/dev/tty0, 500, 513) failed: Bad file descriptor.
From: Bruno Galindro da Costa <bruno DOT galindro AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi!

   I=B4ve installed cygwin + sshd on a Windows Domain Controller. On the
install process, I=B4ve runed ssh-host-config to configure the sshd
service.
   The name of my domain is INTERNAL and the user that runs sshd
service is cyg_server. The service starts normally, BUT, when I try to
logon by ssh, the error bellow was printed in Event Viewer:

##
## The following information is part of the event: sshd: PID 3908:
fatal: chown(/dev/tty0, 500, 513) failed: Bad file descriptor.
##

    Bellow are the permissions of the /dev/tty0 file. The "cyg_server"
user is a member of "Administradores" group.

$ ls -l /dev/tty0
crw------- 1 SYSTEM Administradores 136, 0 Mar  3 16:20 /dev/tty0

$ net user cyg_server
User name                    cyg_server
Full Name                    Privileged server
Comment
User's comment
Country code                 000 (System Default)
Account active               Yes
Account expires              Never

Password last set            3/3/2011 13:17
Password expires             Never
Password changeable          4/3/2011 13:17
Password required            Yes
User may change password     Yes

Workstations allowed         All
Logon script
User profile
Home directory               C:\cygwin\var\empty
Last logon                   3/3/2011 15:46

Logon hours allowed          All

Local Group Memberships      *Administradores
Global Group memberships     *Usu=E1rios do dom=EDnio
The command completed successfully.



   How can I fix this issue?


--
Att.
Bruno Galindro da Costa
bruno DOT galindro AT gmail DOT com
http://www.thevenusproject.com/
http://www.arthurvinicius.com.br/

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

- Raw text -


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