Corinna Vinschen
2009-Jan-28 17:40 UTC
[PATCH] Update Cygwin service installer script for new Cygwin release
Hi, the below patch is necessary for the contrib/cygwin/ssh-host-config script to work on Cygwin 1.5.x as well as on the new Cygwin 1.7.x. The information given for the setting of the CYGWIN environment variable is wrong for both releases so I just removed it, together with the unnecessary (Cygwin 1.5.x) or wrong (Cygwin 1.7.x) default setting. Could somebody with checkin rights please apply this patch? Thanks, Corinna Index: contrib/cygwin/ssh-host-config ==================================================================RCS file: /cvs/openssh/contrib/cygwin/ssh-host-config,v retrieving revision 1.23 diff -u -p -r1.23 ssh-host-config --- contrib/cygwin/ssh-host-config 1 Dec 2008 10:34:28 -0000 1.23 +++ contrib/cygwin/ssh-host-config 28 Jan 2009 17:39:21 -0000 @@ -25,7 +25,7 @@ source ${CSIH_SCRIPT} port_number=22 privsep_configured=no privsep_used=yes -cygwin_value="ntsec" +cygwin_value="" password_value # =====================================================================@@ -76,7 +76,7 @@ update_services_file() { fi _serv_tmp="${_my_etcdir}/srv.out.$$" - mount -t -f "${_win_etcdir}" "${_my_etcdir}" + mount -o text -f "${_win_etcdir}" "${_my_etcdir}" # Depends on the above mount _wservices=`cygpath -w "${_services}"` @@ -278,8 +278,6 @@ install_service() { echo -e "${_csih_QUERY_STR} Do you want to install sshd as a service?" if csih_request "(Say \"no\" if it is already installed as a service)" then - csih_inform "Note that the CYGWIN variable must contain at least \"ntsec\"" - csih_inform "for sshd to be able to change user context without password." csih_get_cygenv "${cygwin_value}" if ( csih_is_nt2003 || [ "$csih_FORCE_PRIVILEGED_USER" = "yes" ] ) -- Corinna Vinschen Cygwin Project Co-Leader Red Hat
Tim Rice
2009-Jan-28 20:51 UTC
[PATCH] Update Cygwin service installer script for new Cygwin release
On Wed, 28 Jan 2009, Corinna Vinschen wrote:> Hi, > > the below patch is necessary for the contrib/cygwin/ssh-host-config script > to work on Cygwin 1.5.x as well as on the new Cygwin 1.7.x. The information > given for the setting of the CYGWIN environment variable is wrong for both > releases so I just removed it, together with the unnecessary (Cygwin 1.5.x) > or wrong (Cygwin 1.7.x) default setting. > > Could somebody with checkin rights please apply this patch?Done.> > Thanks, > Corinna[snip] -- Tim Rice Multitalents (707) 887-1469 tim at multitalents.net
Maybe Matching Threads
- [PATCH/cygwin]: Revised sshh-host-config script
- [PATCH] Cygwin: rel 3.0 drops requirement for privileged non-SYSTEM account
- [patch/cygwin] contrib/cygwin/ssh-host-config
- [PATCH] contrib/cygwin/ssh-host-config: Improve support for automated updates
- [PATCH] contrip/cygwin: Reworking the installation support