Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: cygwin AT cygwin DOT com Subject: Re: su questions Message-ID: <20030404011156.GA45364203@hpn5170x> Mail-Followup-To: "Pierre A. Humblet" , cygwin AT cygwin DOT com References: <000401c2fa09$2d22f2f0$0102a8c0 AT rmserra DOT com DOT ar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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/