delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/19/21:30:56

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <4175C04B.1040500@ateb.com>
Date: Tue, 19 Oct 2004 21:32:59 -0400
From: Reid Thompson <reid DOT thompson AT ateb DOT com>
User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913)
MIME-Version: 1.0
To: Bruce Dobrin <dobrin AT imageworks DOT com>
Cc: arnstein AT pobox DOT com, cygwin AT cygwin DOT com
Subject: Re: Program to "talk" to serial port?
References: <B7392353E4C4DE4ABC4EC255DB4CA0400E810C AT EXCHVS1 DOT spimageworks DOT com>
In-Reply-To: <B7392353E4C4DE4ABC4EC255DB4CA0400E810C@EXCHVS1.spimageworks.com>
X-OriginalArrivalTime: 20 Oct 2004 01:30:50.0089 (UTC) FILETIME=[6E7C5590:01C4B644]
X-IsSubscribed: yes

Bruce Dobrin wrote:

>I got it working with very helpful suggestions from list people last
>week.  You need to unpack on a linux box and change every reference to
>reserve word "aux"  to something else,  next comment out the tweak the
>code to disable the root checking,  like this:
>
>  
>
You can avoid having to alter the source code, other than the 'aux' 
references by:
copying the /etc/passwd entry related to your login and changing the 
username to 'root' ala

rthompso:unused_by_nt/2000/xp:500:513:U-xxxxxxxxxx\Administrator,S-1-5-21-xxxxxxxxxx-xxxxxxxxxx-xxxxxxxxxx-500:/home/rthompso:/bin/bash 
root:unused_by_nt/2000/xp:0:513:U-xxxxxxxxxx\Administrator,S-1-5-21-xxxxxxxxxx-xxxxxxxxxx-xxxxxxxxxx-500:/home/rthompso:/bin/bash

then, from the cygwin prompt, login as root, the passwd will be the same 
for both entries.

--
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/

- Raw text -


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