delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/03/20:15:06

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
Date: Thu, 3 Apr 2003 20:11:56 -0500
From: "Pierre A. Humblet" <pierre DOT humblet AT ieee DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: su questions
Message-ID: <20030404011156.GA45364203@hpn5170x>
Mail-Followup-To: "Pierre A. Humblet" <pierre DOT humblet AT ieee DOT org>,
cygwin AT cygwin DOT com
References: <000401c2fa09$2d22f2f0$0102a8c0 AT rmserra DOT com DOT ar> <Pine DOT GSO DOT 4 DOT 44 DOT 0304031248550 DOT 21921-100000 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0
In-Reply-To: <Pine.GSO.4.44.0304031248550.21921-100000@slinky.cs.nyu.edu>
User-Agent: Mutt/1.4i

On Thu, Apr 03, 2003 at 12:50:06PM -0500, Igor Pechtchanski wrote:

> There is no working implementation of 'su' under Cygwin.  Use sshd and
> "ssh -l name localhost" to switch user contexts.

FWIW, su works under the limited conditions outlined below 
and on Win9X/ME.

It is possible to create "Windows personalities" in /etc/passwd,
i.e. accounts that use the same Windows username and SID, but 
have their own name, uid, gid, shell and home directory, and 
thus ssh keys.
This could be useful for network access, e.g. to allow a trusting 
group of users to share the same Windows account, or to receive 
mail under several names.
su can be used to switch between personalities. The password 
"unused_by_nt/2000/xp" must be replaced by the output of 
"crypt password". "Password" need not be the Windows password.

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/

- Raw text -


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