delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/23/14:00:09

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
X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: No userid
Date: Mon, 23 Jun 2003 10:42:44 -0700
Message-ID: <BD1049B1ECEAEC42BF085692BF9B64760347040B@xch-nw-24.nw.nos.boeing.com>
From: "Fox, Michael K" <michael DOT k DOT fox AT boeing DOT com>
To: <cygwin AT cygwin DOT com>
X-OriginalArrivalTime: 23 Jun 2003 17:43:02.0603 (UTC) FILETIME=[E506D9B0:01C339AE]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h5NI07m05459

I have installed Cygwin on a Win2K box here at my job.  The Cygwin environment appears to operate (I can open the Cygwin terminal and execute commands successfully.)  However, Cygwin has installed with a strange userid.  When I type whoami the answer is 'SMSCliSvcAcct&'.  My home directory is /home/Administrator.  The /etc/passwd file Cygwin created contains

Everyone:*:0:0:,S-1-1-0::
SYSTEM:*:18:18:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
Administrator:unused_by_nt/2000/xp:500:513:U-E182960\Administrator,S-1-5-21-1061762173-587356633-675955863-500:/home/Administrator:/bin/bash
cadcamadmin:unused_by_nt/2000/xp:1005:513:cadcamadmin,U-E182960\cadcamadmin,S-1-5-21-1061762172-587356637-675955861-1005:/home/cadcamadmin:/bin/bash
Guest:unused_by_nt/2000/xp:501:513:U-E182960\Guest,S-1-5-21-1061762172-587356637-675955861-501:/home/Guest:/bin/bash
SMSCliSvcAcct&:unused_by_nt/2000/xp:1001:513:SMSCliSvcAcct&,U-E182960\SMSCliSvcAcct&,S-1-5-21-1061762172-587356637-675955861-1001:/home/SMSCliSvcAcct&:/bin/bash
SMSCliToknAcct&:unused_by_nt/2000/xp:1002:513:SMSCliToknAcct&,U-E182960\SMSCliToknAcct&,S-1-5-21-1061762172-587356637-675955861-1002:/home/SMSCliToknAcct&:/bin/bash



I have tried modifying the fourth line of the passwd file as follows

foo7873:unused_by_nt/2000/xp:500:513:U-E182960\Administrator,S-1-5-21-1061762173-587356633-675955863-500:/home/foo78783:/bin/bash

where foo7873 is the userid I use to login to this box.  I also renamed the folder C:\cygwin\home\Administrator   to   
C:\cygwin\home\foo7873

After this, when I restart Cygwin and type whoami the answer is foo7873, but Cygwin still thinks my home directory should be /home/Administrator and creates a new folder by that name.  I suppose it's not a big deal but I would prefer my home directory to be /home/foo7873  How can I accomplish this?


Mike Fox
> michael DOT k DOT fox AT boeing .com
> 

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