delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Date: | Thu, 22 Dec 2005 13:28:51 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Problem with login command |
Message-ID: | <20051222122851.GE32312@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <BAY101-F19DCC43643269A53D80584CA300 AT phx DOT gbl> |
Mime-Version: | 1.0 |
In-Reply-To: | <BAY101-F19DCC43643269A53D80584CA300@phx.gbl> |
User-Agent: | Mutt/1.4.2i |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
On Dec 21 22:23, Mike Dieter wrote: > I think that the login command might be overwriteing fields in the > wtmp and utmp files. > Now that we are using a longer word in the line filed of console I > noticed that the last > two letters le were showing up in the id field that follows it. Your space key bounces. The two letters "le" show up by design. Have a look into /usr/include/sys/utmp.h and /usr/include/cygwin/utmp.h for the layout of the utmp structure. The ut_id field is generated by some arbitrary algorithm, in case of login(1) it's the abbreviated tty name. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |