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 Reply-To: Cygwin List Message-Id: <6.2.0.14.0.20041210123502.04d28008@pop.prospeed.net> Date: Fri, 10 Dec 2004 12:40:37 -0500 To: cygwin AT cygwin DOT com From: Larry Hall Subject: Re: sshd in Windows 2003 server In-Reply-To: References: <41B86015 DOT 2050406 AT scytl DOT com> <41B8630B DOT 5050706 AT scytl DOT com> <41B9D414 DOT 0 AT scytl DOT com> <41B9D74C DOT 9000203 AT scytl DOT com> <6 DOT 2 DOT 0 DOT 14 DOT 0 DOT 20041210120503 DOT 047e7b90 AT pop DOT prospeed DOT net> <41B9DBC5 DOT AEF927BA AT dessent DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 12:34 PM 12/10/2004, you wrote: >On Fri, 10 Dec 2004, Brian Dessent wrote: > >> Larry Hall wrote: >> > >> > The shortcut for all of that process is to run the below: >> > >> > mount -f -s -b "/bin" "/usr/bin" >> > mount -f -s -b "/lib" "/usr/lib" >> > mount -f -s -b "" "/" >> > >> > FWIW, following the reporting guidelines at >> > would have given the list this information in your initial post. In other >> > words, there's good stuff at this page. :-) >> >> hmm... what if there was a simple shell script added to base-files, such >> as "mksysmounts" (and corresponding "mkusermounts" too I suppose) that >> would change any system mounts to user mounts, and vice versa. (Or >> perhaps a single script with several options.) Then the response to "I >> installed 'For me only'" would be "just run mksysmounts" instead of >> "reinstall" or "modify these paths as appropriate and run these >> commands". > >Good idea. I'd call the scripts "remount_as_system" and "remount_as_user" >or something... And I would also use the > >eval "`mount -m | sed ...`" > >trick that I posted earlier, instead of hard-coding the paths into the >scripts. I have no problem with this but if we're offering suggestions on how to fix the actual problem, then I'd go to the source and change the install scripts or maybe even 'cygrunsrv' to provide a warning and/or 'fix'. That should reduce the number of people having problems running service to only those that don't have permission to do so, in which case we can't help them anyway. -- 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/