This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Setting up cygwin so other users can run processes on my computer


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]