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, 05 Sep 2002 08:58:09 -0400 From: Jason Tishler Subject: Logging in as SYSTEM (was Re: Quick password question...) In-reply-to: To: cygwin AT cygwin DOT com Mail-followup-to: cygwin AT cygwin DOT com Message-id: <20020905125809.GB1448@tishler.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4i References: Bjoern, On Thu, Sep 05, 2002 at 11:14:17AM +0200, Bjoern Kahl AG Resy wrote: > I thought that is impossible ...) It's not -- use ssh to simulate su. > (btw.: how do you get a command prompt running as SYSTEM? 0. Set up sshd (see /usr/doc/Cygwin/openssh-3.4p1-2.README) 1. Change your /etc/passwd SYSTEM entry to something like the following: SYSTEM:*:18:18:Local System,U-FOOBAR\LocalSystem,S-1-5-18:/home/system:/bin/bash 2. Create /home/system/.ssh (with the appropriate permissions) 3. Create /home/system/.ssh/authorized_keys2 (with the appropriate permissions) 4. Copy your ssh keys to /home/system/.ssh/authorized_keys2 5. ssh system AT foobar Jason -- 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/