Displaying 9 results from an estimated 9 matches for "_wservices".
Did you mean:
_services
2003 Oct 30
0
[PATCH] contrib/cygwin/ssh-host-config: Fix a CRLF/LF issue
...1.11
diff -p -u -r1.11 ssh-host-config
--- contrib/cygwin/ssh-host-config 22 Sep 2003 02:32:01 -0000 1.11
+++ contrib/cygwin/ssh-host-config 30 Oct 2003 10:18:22 -0000
@@ -468,19 +468,21 @@ then
fi
# Care for services file
+_my_etcdir="/ssh-host-config.$$"
if [ $_nt -gt 0 ]
then
- _wservices="${SYSTEMROOT}\\system32\\drivers\\etc\\services"
- _wserv_tmp="${SYSTEMROOT}\\system32\\drivers\\etc\\srv.out.$$"
+ _win_etcdir="${SYSTEMROOT}\\system32\\drivers\\etc"
+ _services="${_my_etcdir}/services"
else
- _wservices="${WINDIR}\\SERVICES"...
2014 May 15
1
[patch/cygwin] contrib/cygwin/ssh-host-config
...l cygwin
@@ -59,8 +60,9 @@ PREFIX=/usr
SYSCONFDIR=/etc
LOCALSTATEDIR=/var
+sshd_config_configured=no
port_number=22
-privsep_configured=no
+strictmodes=yes
privsep_used=yes
cygwin_value=""
user_account=
@@ -89,28 +91,8 @@ update_services_file() {
# Depends on the above mount
_wservices=`cygpath -w "${_services}"`
- # Remove sshd 22/port from services
- if [ `/usr/bin/grep -q 'sshd[ \t][ \t]*22' "${_services}"; echo $?` -eq 0 ]
- then
- /usr/bin/grep -v 'sshd[ \t][ \t]*22' "${_services}" > "${_serv_tmp}"
- if [...
2011 Feb 21
1
[PATCH/cygwin]: Revised sshh-host-config script
...;Generating ${SYSCONFDIR}/ssh_host_key failed!"
+ let ++ret
+ fi
fi
+ return $ret
} # --- End of create_host_keys --- #
# ======================================================================
@@ -81,61 +125,58 @@ update_services_file() {
local _spaces
local _serv_tmp
local _wservices
+ local ret=0
- if csih_is_nt
- then
- _win_etcdir="${SYSTEMROOT}\\system32\\drivers\\etc"
- _services="${_my_etcdir}/services"
- # On NT, 27 spaces, no space after the hash
- _spaces=" #"
- else
- _win_etcdir="${WIND...
2003 Nov 05
0
[PATCH] contrip/cygwin: Reworking the installation support
...NDIR}"
_services="${_my_etcdir}/SERVICES"
+ # On 9x, 18 spaces (95 is very touchy), a space after the hash
+ _spaces=" # "
fi
_serv_tmp="${_my_etcdir}/srv.out.$$"
@@ -494,29 +344,28 @@ then
then
echo "Removing sshd from ${_wservices}"
else
- echo "Removing sshd from ${_wservices} failed\!"
+ echo "Removing sshd from ${_wservices} failed!"
fi
rm -f "${_serv_tmp}"
else
- echo "Removing sshd from ${_wservices} failed\!"
+ echo "Removing sshd from...
2001 Mar 07
4
[PATCH]: contrib/cygwin/ssh-host-config
...r
#
Protocol 2,1
ListenAddress 0.0.0.0
@@ -330,7 +342,7 @@ UseLogin no
EOF
fi
-# Add port 22/tcp to services
+# Care for services file
_sys="`uname -a`"
_nt=`expr "$_sys" : "CYGWIN_NT"`
if [ $_nt -gt 0 ]
@@ -344,33 +356,86 @@ fi
_services=`cygpath -u "${_wservices}"`
_serv_tmp=`cygpath -u "${_wserv_tmp}"`
-mount -b -f "${_wservices}" "${_services}"
-mount -b -f "${_wserv_tmp}" "${_serv_tmp}"
+mount -t -f "${_wservices}" "${_services}"
+mount -t -f "${_wserv_tmp}" "${...
2001 Jan 18
1
New configuration scripts for Cygwin
...ermitEmptyPasswords no
CheckMail no
UseLogin no
#Uncomment if you want to enable sftp
#Subsystem sftp /usr/sbin/sftp-server
#MaxStartups 10:30:60
EOF
fi
# Add port 22/tcp to services
_sys="`uname -a`"
_nt=`expr "$_sys" : "CYGWIN_NT"`
if [ $_nt -gt 0 ]
then
_wservices="${SYSTEMROOT}\\system32\\drivers\\etc\\services"
_wserv_tmp="${SYSTEMROOT}\\system32\\drivers\\etc\\srv.out.$$"
else
_wservices="${WINDIR}\\SERVICES"
_wserv_tmp="${WINDIR}\\SERV.$$"
fi
_services=`cygpath -u "${_wservices}"`
_serv_tmp=`cygpath...
2009 Jan 28
1
[PATCH] Update Cygwin service installer script for new Cygwin release
...================
@@ -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 "Not...
2010 Mar 16
9
openssh-5.5p1
Hi,
We will probably do an openssh-5.5p1 release soon, mainly for the
sshd_config:AuthorizedKeysFile bug, but containing a few other small
patches too. If you have any portability fixes that need to go in then
2002 Jul 03
1
[PATCH]: Change Cygwin contrib files to better support PrivSep
...uot;yes" ]
+then
+ echo >> ${SYSCONFDIR}/sshd_config
+ echo "UsePrivilegeSeparation $privsep_used" >> ${SYSCONFDIR}/sshd_config
fi
# Care for services file
-_sys="`uname -a`"
-_nt=`expr "$_sys" : "CYGWIN_NT"`
if [ $_nt -gt 0 ]
then
_wservices="${SYSTEMROOT}\\system32\\drivers\\etc\\services"
@@ -403,8 +513,8 @@ umount "${_services}"
umount "${_serv_tmp}"
# Care for inetd.conf file
-_inetcnf="/etc/inetd.conf"
-_inetcnf_tmp="/etc/inetd.conf.$$"
+_inetcnf="${SYSCONFDIR}/inetd.conf&...