delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/30/16:43:41

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Wed, 30 Aug 2000 16:40:09 EDT
X-Mailer: Virtual Access by Atlantic Coast PLC, http://www.atlantic-coast.com/va
Message-Id: <VA.000004c7.0068c9df@thesoftwaresource.com>
To: cygwin <cygwin AT sourceware DOT cygnus DOT com>
Subject: Using login on a Win95 machine
From: Brian Keener <bkeener AT thesoftwaresource DOT com>
Reply-To: bkeener AT thesoftwaresource DOT com

Not sure if this is where I should post this, but if I am in error please 
advise and I will try to post somewhere else and accept my apologies.

I have been experimenting with the login command and profiles and bashrc 
files.  In keeping with what I think is some of the new thinking 
regarding cygwin.bat and profiles I moved alot from cygwin.bat into 
profile so that cygwin.bat would stay in its natural form as 
distributed.  Not having an NT server I knew I couldn't really use login 
but after reading some of the newsgroup archives I found how I could 
create my own passwd file and then use login by modifying cygwin.bat to 
run login instead of 'bash --login -i'.

Well this worked so well, I thought what the heck, now I can setup 
multiple accounts in my passwd file and have it run different profiles 
and end up in different home directories etc.  Those item do seem to work 
as they should but it seems my id always shows at the same user and 
effective user id not matter what id I use in login.  Again this is a 
Win95 machine and it is set for networking since I use it at some of my 
clients as well.  But I was still curious why something didn't change in 
my environment to reflect a different Id from passwd was used.

Any information would be greatly appreciated.

Brian Keener
bkeener AT thesoftwaresource DOT com




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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