Displaying 5 results from an estimated 5 matches for "password_value".
2009 Jul 07
0
[PATCH] contrib/cygwin/ssh-host-config: Improve support for automated updates
...ash
#
-# ssh-host-config, Copyright 2000, 2001, 2002, 2003 Red Hat Inc.
+# ssh-host-config, Copyright 2000-2009 Red Hat Inc.
#
# This file is part of the Cygwin port of OpenSSH.
@@ -26,7 +26,9 @@ port_number=22
privsep_configured=no
privsep_used=yes
cygwin_value=""
+user_account=
password_value=
+opt_force=no
# ======================================================================
# Routine: create_host_keys
@@ -287,6 +289,11 @@ install_service() {
csih_inform "sshd requires. You need to have or to create a privileged"
csih_inform "account. This script will he...
2013 Aug 05
4
[patch/Cygwin]: Simplify host key generation in ssh-host-config script
...======================================
RCS file: /cvs/openssh/contrib/cygwin/ssh-host-config,v
retrieving revision 1.33
diff -u -p -r1.33 ssh-host-config
--- contrib/cygwin/ssh-host-config 2 Jul 2013 10:06:47 -0000 1.33
+++ contrib/cygwin/ssh-host-config 5 Aug 2013 12:00:39 -0000
@@ -68,54 +68,6 @@ password_value=
opt_force=no
# ======================================================================
-# Routine: create_host_keys
-# ======================================================================
-create_host_keys() {
- local ret=0
-
- if [ ! -f "${SYSCONFDIR}/ssh_host_key" ]
- then
-...
2009 Jan 28
1
[PATCH] Update Cygwin service installer script for new Cygwin release
...sh-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}" &quo...
2003 Nov 05
0
[PATCH] contrip/cygwin: Reworking the installation support
..."$option" in
+ case "${option}" in
-d | --debug )
set -x
;;
@@ -73,21 +72,33 @@ do
auto_answer=no
;;
+ -c | --cygwin )
+ cygwin_value="$1"
+ shift
+ ;;
+
-p | --port )
port_number=$1
shift
;;
+ -w | --pwd )
+ password_value="$1"
+ shift
+ ;;
+
*)
echo "usage: ${progname} [OPTION]..."
echo
echo "This script creates an OpenSSH host configuration."
echo
echo "Options:"
- echo " --debug -d Enable shell's debug output."
-...
2011 Feb 21
1
[PATCH/cygwin]: Revised sshh-host-config script
...+ [ -n "${user_account}" ] && opt_u="-u ""${user_account}"""
+ csih_select_privileged_username ${opt_f} ${opt_u} sshd
- if ( csih_is_nt2003 || [ "$csih_FORCE_PRIVILEGED_USER" = "yes" ] )
+ if ! csih_create_privileged_user "${password_value}"
then
- csih_inform "On Windows Server 2003, Windows Vista, and above, the"
- csih_inform "SYSTEM account cannot setuid to other users -- a capability"
- csih_inform "sshd requires. You need to have or to create a privileged"
- csih_inform "accoun...