delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
Message-Id: | <3.0.5.32.20030222201507.007f6ba0@mail.attbi.com> |
X-Sender: | phumblet AT mail DOT attbi DOT com (Unverified) |
Date: | Sat, 22 Feb 2003 20:15:07 -0500 |
To: | cygwin AT cygwin DOT com |
From: | "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org> |
Subject: | sshd fills syslog on Win98 |
Mime-Version: | 1.0 |
On Win98 sshd fills syslog with error lines such as 2003-02-22 18:33:26 : sshd : PID 213289 : LOG_ERR : error: Failed to disconnect from controlling tty. 2003-02-22 18:33:32 : sshd : PID 771213 : LOG_INFO : syslogin_perform_logout: logout() returned an error ***** The first seems to originate from sshpty.c if (setsid() < 0) error("setsid: %.100s", strerror(errno)); /* * Verify that we are successfully disconnected from the controlling * tty. */ fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); if (fd >= 0) { error("Failed to disconnect from controlling tty."); close(fd); } ******* The second from loginrec.c static int syslogin_perform_logout(struct logininfo *li) { (void)line_stripname(line, li->line, sizeof(line)); if (!logout(line)) { log("syslogin_perform_logout: logout() returned an error"); Pierre -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |