delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/25/14:28:19

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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: Fri, 25 Jun 2004 14:06:03 -0400
From: "Pierre A. Humblet" <pierre DOT humblet AT ieee DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: Setting up cygwin so other users can run processes on my computer
Message-ID: <20040625180603.GA969685@Worldnet>
References: <F67AB1DD14544242BE5BFE94F5939175B7F7E8 AT E2KMEMMCS1 DOT ftbco DOT ftn DOT com> <Pine DOT GSO DOT 4 DOT 58 DOT 0406251353390 DOT 25974 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0
In-Reply-To: <Pine.GSO.4.58.0406251353390.25974@slinky.cs.nyu.edu>
User-Agent: Mutt/1.4.1i

On Fri, Jun 25, 2004 at 02:00:43PM -0400, Igor Pechtchanski wrote:
> On Fri, 25 Jun 2004, DePriest, Jason R. wrote:
> 
> > Rajiv Chopra wrote:
> > > What I would like to do is enable another colleague to run processes
> > > on my computer.  Is it possible to set up Cygwin such that he can
> > > telnet to my machine and run a process?
> > >
> > > Thanks in advance
> > >
> > > Rajiv
> >
> > I would suggest installing openssh from http://www.cygwin.com/setup.exe.
> >
> > After that you can run the ssh-host-config script to install it as a
> > service.
> >
> > After making sure the other guy's user ID is in your /etc/passwd file,
> > you can have him log on your system locally and get to a bash prompt to
> > initialize his environment.  Then have him run ssh-user-config to get
> > the ssh stuff for his user account created.
> >
> > After that, he should be able to ssh into your system and do what he
> > needs to do.
> >
> > -Jason
> 
> You might also want to mention that the relevant mounts should be system
> mounts, not user ones (i.e., install for "All Users", not "Just Me")...

Would a generous soul volunteer to add that to ssh-host-config?
At the same time make sure that /etc/passwd and group are readable by the
daemon, or by everybody, and that id -u isn't 400 and id -g not 401 (mkgroup). 
Just emit a big WARNING if there is a problem.
THANKS^1000

Pierre



--
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/

- Raw text -


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