This is the mail archive of the cygwin@cygwin.com 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: "mobile" cygwin


Bogdan Czyz wrote:

Hi there,
I'm trying to create custom cygwin build (about 40MBs). I mean I'm trying to collect most of shell and file tools, and have at least cygwin sshd working. I'd like to have everything on cd and when needed copy all cygwin directory structure to hard disk (not only my private pc's disk but pc's disk I work on that day - I don't want to install cygwin on each pc I got to work on) and run all the utilities and use for instance sshd for port forwarding.
I'm in half way. I got all utilities working in place, batch files to add and remove registry entries for cygwin (to get proper mounting points from bash). Last thing I can't figure out is sshd. To be more specific passwd. I'd like to have one (or couple) user(s) that I can work with independently of system. I'd like to run sshd on machine I work on and I wouldn't like to worry about creating new /etc/passwd each time. I'd like to use one of defined users with known password and do what I need to do. Is that possible at all with cygwin?? user independently?? If you have any ideas, please advice.

If you want this to be entirely transparent, I expect you have a tough curve ahead of you. You may find this most tractable by setting "nontsec" for CYGWIN and 'sshd' and then running 'sshd' as that user. Of course, this isn't very secure so doing this may invalidate your intended use of 'ssh'. But this should make it less of an issue to have /etc/passwd and /etc/group not current. Mind you, I haven't tried any of this so it may be of no value. Really, the answer is, "you can't do that".

--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746


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