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: Tue, 8 Jul 2003 11:03:15 +0100 (BST) From: andrew brian clegg X-X-Sender: fcleg01 AT sark DOT cryst DOT bbk DOT ac DOT uk To: cygwin AT cygwin DOT com Subject: Re: users and startup scripts (FAQ alert) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-MailScanner-Information: Please contact CCSG (http://www.cryst.bbk.ac.uk/CCSG/) more information X-MailScanner-cryst-bbk: Found to be clean X-MailScanner-SpamCheck: not spam, SpamAssassin (score=-31, required 9, BAYES_01, EMAIL_ATTRIBUTION, FROM_ENDS_IN_NUMS, IN_REP_TO, QUOTED_EMAIL_TEXT, REPLY_WITH_QUOTES, USER_AGENT_PINE) On Mon, 7 Jul 2003, Igor Pechtchanski wrote: > The preferred method for switching users is by running "ssh > user AT localhost" (after setting up sshd, obviously). I'm guessing the > above FAQ entry should be updated as well. I hope this isn't rehashing old discussions, but I'd always assumed from the number of times people talk about using ssh to switch users that there was something inherently disadvantageous about using (say) runas /user:Administrator "c:\cygwin\bin\bash --login -i" or setting up a shortcut with the 'run as different user' checkbox set (in Win2K; I think the semantics are slightly different in XP IIRC). But now I've tried it, it works fine for me... Is the only drawback that this doesn't work in DOS versions of Windows, or is there some other reason why it's not recommended? Andrew. -- 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/