delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/28/11:57:57

Message-Id: <200411281657.iASGvnEe018621@delorie.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "David Christensen" <dpchrist AT holgerdanske DOT com>
To: <cygwin AT cygwin DOT com>
Subject: sshd broken on reboot
Date: Sun, 28 Nov 2004 08:57:50 -0800
MIME-Version: 1.0
X-IsSubscribed: yes
Note-from-DJ: This may be spam

------=_NextPart_000_0012_01C4D528.571F8C70
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Cygwin:

My O/S is WinXP Pro SP2 and my Cygwin is current as of last night.  I
would like to start using sshd.  I located and read:

	http://pigtail.net/LRP/printsrv/cygwin-sshd.html


I installed sshd per steps 3-6.  sshd works fine when I start it
manually, but is broken on reboot:

    dpchrist AT p42800e:~$ ssh localhost
    ssh_exchange_identification: Connection closed by remote host


I think this is the clue:

    dpchrist AT p42800e:~$ cat /var/log/sshd.log
          3 [main] sshd 952 fork_copy: linked dll data/bss pass 0 faile
d, 0x3DB000..0x3DB050, done 0, windows  pid 3484, Win32 error 487


Please see attached files for details.


Any suggestions?


TIA,

David

------=_NextPart_000_0012_01C4D528.571F8C70
Content-Type: text/plain;
	name="console-session.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="console-session.txt"

Verify DOS environment using Command Prompt:

    C:\>echo %CYGWIN%
    ntsec tty

    C:\>path
    PATH=3DC:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\cygwi=
n\bin


Start a Cygwin Bash shell.  Stop and remove sshd service:

    dpchrist AT p42800e:~$ cygrunsrv -E sshd
    dpchrist AT p42800e:~$ cygrunsrv -R sshd


Remove sshd log:

    dpchrist AT p42800e:~$ rm /var/log/sshd.log
    rm: remove write-protected file `/var/log/sshd.log'? y


Install sshd using ssh-host-config script:

    dpchrist AT p42800e:~$ ssh-host-config
    Overwrite existing /etc/ssh_config file? (yes/no) yes
    Generating /etc/ssh_config file
    Overwrite existing /etc/sshd_config file? (yes/no) yes
    Privilege separation is set to yes by default since OpenSSH 3.3.
    However, this requires a non-privileged account called 'sshd'.
    For more info on privilege separation read /usr/share/doc/openssh/READM=
E.privsep.

    Should privilege separation be used? (yes/no) yes
    Generating /etc/sshd_config file


    Warning: The following functions require administrator privileges!

    Do you want to install sshd as service?
    (Say "no" if it's already installed as service) (yes/no) yes

    Which value should the environment variable CYGWIN have when
    sshd starts? It's recommended to set at least "ntsec" to be
    able to change user context without password.
    Default is "ntsec".  CYGWIN=3Dntsec tty

    The service has been installed under LocalSystem account.
    To start the service, call `net start sshd' or `cygrunsrv -S sshd'.

    Host configuration finished. Have fun!


Start sshd service:

    dpchrist AT p42800e:~$ cygrunsrv -S sshd


Test it:

    dpchrist AT p42800e:~$ ssh localhost
    dpchrist AT localhost's password:
    Last login: Sat Nov 27 22:19:44 2004 from 192.168.1.246
    dpchrist AT p42800e:~$ exit
    logout
    Connection to localhost closed.


Look at sshd log:

    dpchrist AT p42800e:~$ cat /var/log/sshd.log


Reboot.  Try to log in:

    dpchrist AT p42800e:~$ ssh localhost
    ssh_exchange_identification: Connection closed by remote host


Look if sshd is running:

    dpchrist AT p42800e:~$ ps -a
          PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
         1952       1    1952       1952    ?   18 08:25:36 /usr/bin/cygrun=
srv
         2044       1    2044       2044    ?   18 08:25:36 /usr/bin/cygrun=
srv
          196    1952     196        244    ?   18 08:25:37 /usr/sbin/cron
          204    2044     204        252    ?   18 08:25:42 /usr/bin/exim-4=
.43-1
          904       1     904        904    ?   18 08:25:40 /usr/bin/cygrun=
srv
          952     904     952       1012    ?   18 08:25:41 /usr/sbin/sshd
         3004       1    3004       3004    0 1003 08:26:11 /usr/bin/bash
         3572    3004    3572       3584    0 1003 08:26:41 /usr/bin/ps

    dpchrist AT p42800e:~$ cygrunsrv -Q sshd
    Service sshd exists
    Type                : Own Process
    Current State       : Running
    Controls Accepted   : Accept Stop

Windows Services indicates "CYGWIN sshd" has status "started", Startup Type=
 "Automatic", and Log On As "Local System".


/var/log/sshd.log has a clue:

    dpchrist AT p42800e:~$ cat /var/log/sshd.log
          3 [main] sshd 952 fork_copy: linked dll data/bss pass 0 failed, 0=
x3DB000..0x3DB050, done 0, windows pid 3484, Win32 error 487


Windows Task Manager shows no process with PID 3484.


Manually stop and start sshd:

    dpchrist AT p42800e:~$ cygrunsrv -E sshd
    dpchrist AT p42800e:~$ cygrunsrv -S sshd
    dpchrist AT p42800e:~$ ssh localhost
    dpchrist AT localhost's password:
    Last login: Sun Nov 28 08:23:05 2004 from localhost

------=_NextPart_000_0012_01C4D528.571F8C70
Content-Type: application/octet-stream;
	name="ssh_config"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="ssh_config"

#	$OpenBSD: ssh_config,v 1.19 2003/08/13 08:46:31 markus Exp $

# This is the ssh client system-wide configuration file.  See
# ssh_config(5) for more information.  This file provides defaults for
# users, and the values can be changed in per-user configuration files
# or on the command line.

# Configuration data is parsed as follows:
#  1. command line options
#  2. user-specific file
#  3. system-wide file
# Any configuration value is only changed the first time it is set.
# Thus, host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.

# Site-wide defaults for various options

# Host *
#   ForwardAgent no
#   ForwardX11 no
#   RhostsRSAAuthentication no
#   RSAAuthentication yes
#   PasswordAuthentication yes
#   HostbasedAuthentication no
#   BatchMode no
#   CheckHostIP yes
#   AddressFamily any
#   ConnectTimeout 0
#   StrictHostKeyChecking ask
#   IdentityFile ~/.ssh/identity
#   IdentityFile ~/.ssh/id_rsa
#   IdentityFile ~/.ssh/id_dsa
#   Port 22
#   Protocol 2,1
#   Cipher 3des
#   Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc=
,aes256-cbc
#   EscapeChar ~

------=_NextPart_000_0012_01C4D528.571F8C70
Content-Type: application/octet-stream;
	name="ssh-host-config"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="ssh-host-config"

#!/bin/bash
#
# ssh-host-config, Copyright 2000, 2001, 2002, 2003 Red Hat Inc.
#
# This file is part of the Cygwin port of OpenSSH.

# Subdirectory where the new package is being installed
PREFIX=3D/usr

# Directory where the config files are stored
SYSCONFDIR=3D/etc
LOCALSTATEDIR=3D/var

progname=3D$0
auto_answer=3D""
port_number=3D22

privsep_configured=3Dno
privsep_used=3Dyes
sshd_in_passwd=3Dno
sshd_in_sam=3Dno

request()
{
  if [ "${auto_answer}" =3D "yes" ]
  then
    echo "$1 (yes/no) yes"
    return 0
  elif [ "${auto_answer}" =3D "no" ]
  then
    echo "$1 (yes/no) no"
    return 1
  fi

  answer=3D""
  while [ "X${answer}" !=3D "Xyes" -a "X${answer}" !=3D "Xno" ]
  do
    echo -n "$1 (yes/no) "
    read -e answer
  done
  if [ "X${answer}" =3D "Xyes" ]
  then
    return 0
  else
    return 1
  fi
}

# Check options

while :
do
  case $# in
  0)
    break
    ;;
  esac

  option=3D$1
  shift

  case "${option}" in
  -d | --debug )
    set -x
    ;;

  -y | --yes )
    auto_answer=3Dyes
    ;;

  -n | --no )
    auto_answer=3Dno
    ;;

  -c | --cygwin )
    cygwin_value=3D"$1"
    shift
    ;;

  -p | --port )
    port_number=3D$1
    shift
    ;;

  -w | --pwd )
    password_value=3D"$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."
    echo "  --yes    -y            Answer all questions with \"yes\" automa=
tically."
    echo "  --no     -n            Answer all questions with \"no\" automat=
ically."
    echo "  --cygwin -c <options>  Use \"options\" as value for CYGWIN envi=
ronment var."
    echo "  --port   -p <n>        sshd listens on port n."
    echo "  --pwd    -w <passwd>   Use \"pwd\" as password for user 'sshd_s=
erver'."
    echo
    exit 1
    ;;

  esac
done

# Check if running on NT
_sys=3D"`uname`"
_nt=3D`expr "${_sys}" : "CYGWIN_NT"`
# If running on NT, check if running under 2003 Server or later
if [ ${_nt} -gt 0 ]
then
  _nt2003=3D`uname | awk -F- '{print ( $2 >=3D 5.2 ) ? 1 : 0;}'`
fi

# Check for running ssh/sshd processes first. Refuse to do anything while
# some ssh processes are still running

if ps -ef | grep -v grep | grep -q ssh
then
  echo
  echo "There are still ssh processes running. Please shut them down first."
  echo
  exit 1
fi

# Check for ${SYSCONFDIR} directory

if [ -e "${SYSCONFDIR}" -a ! -d "${SYSCONFDIR}" ]
then
  echo
  echo "${SYSCONFDIR} is existant but not a directory."
  echo "Cannot create global configuration files."
  echo
  exit 1
fi

# Create it if necessary

if [ ! -e "${SYSCONFDIR}" ]
then
  mkdir "${SYSCONFDIR}"
  if [ ! -e "${SYSCONFDIR}" ]
  then
    echo
    echo "Creating ${SYSCONFDIR} directory failed"
    echo
    exit 1
  fi
fi

# Create /var/log and /var/log/lastlog if not already existing

if [ -f ${LOCALSTATEDIR}/log ]
then
  echo "Creating ${LOCALSTATEDIR}/log failed!"
else
  if [ ! -d ${LOCALSTATEDIR}/log ]
  then
    mkdir -p ${LOCALSTATEDIR}/log
  fi
  if [ -d ${LOCALSTATEDIR}/log/lastlog ]
  then
    chmod 777 ${LOCALSTATEDIR}/log/lastlog
  elif [ ! -f ${LOCALSTATEDIR}/log/lastlog ]
  then
    cat /dev/null > ${LOCALSTATEDIR}/log/lastlog
    chmod 666 ${LOCALSTATEDIR}/log/lastlog
  fi
fi

# Create /var/empty file used as chroot jail for privilege separation
if [ -f ${LOCALSTATEDIR}/empty ]
then
  echo "Creating ${LOCALSTATEDIR}/empty failed!"
else
  mkdir -p ${LOCALSTATEDIR}/empty
  if [ ${_nt} -gt 0 ]
  then
    chmod 755 ${LOCALSTATEDIR}/empty
  fi
fi

# First generate host keys if not already existing

if [ ! -f "${SYSCONFDIR}/ssh_host_key" ]
then
  echo "Generating ${SYSCONFDIR}/ssh_host_key"
  ssh-keygen -t rsa1 -f ${SYSCONFDIR}/ssh_host_key -N '' > /dev/null
fi

if [ ! -f "${SYSCONFDIR}/ssh_host_rsa_key" ]
then
  echo "Generating ${SYSCONFDIR}/ssh_host_rsa_key"
  ssh-keygen -t rsa -f ${SYSCONFDIR}/ssh_host_rsa_key -N '' > /dev/null
fi

if [ ! -f "${SYSCONFDIR}/ssh_host_dsa_key" ]
then
  echo "Generating ${SYSCONFDIR}/ssh_host_dsa_key"
  ssh-keygen -t dsa -f ${SYSCONFDIR}/ssh_host_dsa_key -N '' > /dev/null
fi

# Check if ssh_config exists. If yes, ask for overwriting

if [ -f "${SYSCONFDIR}/ssh_config" ]
then
  if request "Overwrite existing ${SYSCONFDIR}/ssh_config file?"
  then
    rm -f "${SYSCONFDIR}/ssh_config"
    if [ -f "${SYSCONFDIR}/ssh_config" ]
    then
      echo "Can't overwrite. ${SYSCONFDIR}/ssh_config is write protected."
    fi
  fi
fi

# Create default ssh_config from skeleton file in /etc/defaults/etc

if [ ! -f "${SYSCONFDIR}/ssh_config" ]
then
  echo "Generating ${SYSCONFDIR}/ssh_config file"
  cp ${SYSCONFDIR}/defaults/etc/ssh_config ${SYSCONFDIR}/ssh_config
  if [ "${port_number}" !=3D "22" ]
  then
    echo "Host localhost" >> ${SYSCONFDIR}/ssh_config
    echo "    Port ${port_number}" >> ${SYSCONFDIR}/ssh_config
  fi
fi

# Check if sshd_config exists. If yes, ask for overwriting

if [ -f "${SYSCONFDIR}/sshd_config" ]
then
  if request "Overwrite existing ${SYSCONFDIR}/sshd_config file?"
  then
    rm -f "${SYSCONFDIR}/sshd_config"
    if [ -f "${SYSCONFDIR}/sshd_config" ]
    then
      echo "Can't overwrite. ${SYSCONFDIR}/sshd_config is write protected."
    fi
  else
    grep -q UsePrivilegeSeparation ${SYSCONFDIR}/sshd_config && privsep_con=
figured=3Dyes
  fi
fi

# Prior to creating or modifying sshd_config, care for privilege separation

if [ "${privsep_configured}" !=3D "yes" ]
then
  if [ ${_nt} -gt 0 ]
  then
    echo "Privilege separation is set to yes by default since OpenSSH 3.3."
    echo "However, this requires a non-privileged account called 'sshd'."
    echo "For more info on privilege separation read /usr/share/doc/openssh=
/README.privsep."
    echo
    if request "Should privilege separation be used?"
    then
      privsep_used=3Dyes
      grep -q '^sshd:' ${SYSCONFDIR}/passwd && sshd_in_passwd=3Dyes
      net user sshd >/dev/null 2>&1 && sshd_in_sam=3Dyes
      if [ "${sshd_in_passwd}" !=3D "yes" ]
      then
	if [ "${sshd_in_sam}" !=3D "yes" ]
	then
	  echo "Warning: The following function requires administrator privileges!"
	  if request "Should this script create a local user 'sshd' on this machin=
e?"
	  then
	    dos_var_empty=3D`cygpath -w ${LOCALSTATEDIR}/empty`
	    net user sshd /add /fullname:"sshd privsep" "/homedir:${dos_var_empty}=
" /active:no > /dev/null 2>&1 && sshd_in_sam=3Dyes
	    if [ "${sshd_in_sam}" !=3D "yes" ]
	    then
	      echo "Warning: Creating the user 'sshd' failed!"
	    fi
	  fi
	fi
	if [ "${sshd_in_sam}" !=3D "yes" ]
	then
	  echo "Warning: Can't create user 'sshd' in ${SYSCONFDIR}/passwd!"
	  echo "         Privilege separation set to 'no' again!"
	  echo "         Check your ${SYSCONFDIR}/sshd_config file!"
	  privsep_used=3Dno
	else
	  mkpasswd -l -u sshd | sed -e 's/bash$/false/' >> ${SYSCONFDIR}/passwd
	fi
      fi
    else
      privsep_used=3Dno
    fi
  else
    # On 9x don't use privilege separation.  Since security isn't
    # available it just adds useless additional processes.
    privsep_used=3Dno
  fi
fi

# Create default sshd_config from skeleton files in /etc/defaults/etc or
# modify to add the missing privsep configuration option

if [ ! -f "${SYSCONFDIR}/sshd_config" ]
then
  echo "Generating ${SYSCONFDIR}/sshd_config file"
  sed -e "s/^#UsePrivilegeSeparation yes/UsePrivilegeSeparation ${privsep_u=
sed}/
	  s/^#Port 22/Port ${port_number}/
	  s/^#StrictModes yes/StrictModes no/" \
      < ${SYSCONFDIR}/defaults/etc/sshd_config \
      > ${SYSCONFDIR}/sshd_config
elif [ "${privsep_configured}" !=3D "yes" ]
then
  echo >> ${SYSCONFDIR}/sshd_config
  echo "UsePrivilegeSeparation ${privsep_used}" >> ${SYSCONFDIR}/sshd_config
fi

# Care for services file
_my_etcdir=3D"/ssh-host-config.$$"
if [ ${_nt} -gt 0 ]
then
  _win_etcdir=3D"${SYSTEMROOT}\\system32\\drivers\\etc"
  _services=3D"${_my_etcdir}/services"
  # On NT, 27 spaces, no space after the hash
  _spaces=3D"                           #"
else
  _win_etcdir=3D"${WINDIR}"
  _services=3D"${_my_etcdir}/SERVICES"
  # On 9x, 18 spaces (95 is very touchy), a space after the hash
  _spaces=3D"                  # "
fi
_serv_tmp=3D"${_my_etcdir}/srv.out.$$"

mount -t -f "${_win_etcdir}" "${_my_etcdir}"

# Depends on the above mount
_wservices=3D`cygpath -w "${_services}"`

# Remove sshd 22/port from services
if [ `grep -q 'sshd[ \t][ \t]*22' "${_services}"; echo $?` -eq 0 ]
then
  grep -v 'sshd[ \t][ \t]*22' "${_services}" > "${_serv_tmp}"
  if [ -f "${_serv_tmp}" ]
  then
    if mv "${_serv_tmp}" "${_services}"
    then
      echo "Removing sshd from ${_wservices}"
    else
      echo "Removing sshd from ${_wservices} failed!"
    fi
    rm -f "${_serv_tmp}"
  else
    echo "Removing sshd from ${_wservices} failed!"
  fi
fi

# Add ssh 22/tcp  and ssh 22/udp to services
if [ `grep -q 'ssh[ \t][ \t]*22' "${_services}"; echo $?` -ne 0 ]
then
  if awk '{ if ( $2 ~ /^23\/tcp/ ) print "ssh                22/tcp'"${_spa=
ces}"'SSH Remote Login Protocol\nssh                22/udp'"${_spaces}"'SSH=
 Remote Login Protocol"; print $0; }' < "${_services}" > "${_serv_tmp}"
  then
    if mv "${_serv_tmp}" "${_services}"
    then
      echo "Added ssh to ${_wservices}"
    else
      echo "Adding ssh to ${_wservices} failed!"
    fi
    rm -f "${_serv_tmp}"
  else
    echo "WARNING: Adding ssh to ${_wservices} failed!"
  fi
fi

umount "${_my_etcdir}"

# Care for inetd.conf file
_inetcnf=3D"${SYSCONFDIR}/inetd.conf"
_inetcnf_tmp=3D"${SYSCONFDIR}/inetd.conf.$$"

if [ -f "${_inetcnf}" ]
then
  # Check if ssh service is already in use as sshd
  with_comment=3D1
  grep -q '^[ \t]*sshd' "${_inetcnf}" && with_comment=3D0
  # Remove sshd line from inetd.conf
  if [ `grep -q '^[# \t]*sshd' "${_inetcnf}"; echo $?` -eq 0 ]
  then
    grep -v '^[# \t]*sshd' "${_inetcnf}" >> "${_inetcnf_tmp}"
    if [ -f "${_inetcnf_tmp}" ]
    then
      if mv "${_inetcnf_tmp}" "${_inetcnf}"
      then
	echo "Removed sshd from ${_inetcnf}"
      else
	echo "Removing sshd from ${_inetcnf} failed!"
      fi
      rm -f "${_inetcnf_tmp}"
    else
      echo "Removing sshd from ${_inetcnf} failed!"
    fi
  fi

  # Add ssh line to inetd.conf
  if [ `grep -q '^[# \t]*ssh' "${_inetcnf}"; echo $?` -ne 0 ]
  then
    if [ "${with_comment}" -eq 0 ]
    then
      echo 'ssh  stream  tcp     nowait  root    /usr/sbin/sshd sshd -i' >>=
 "${_inetcnf}"
    else
      echo '# ssh  stream  tcp     nowait  root    /usr/sbin/sshd sshd -i' =
>> "${_inetcnf}"
    fi
    echo "Added ssh to ${_inetcnf}"
  fi
fi

# On NT ask if sshd should be installed as service
if [ ${_nt} -gt 0 ]
then
  # But only if it is not already installed
  if ! cygrunsrv -Q sshd > /dev/null 2>&1
  then
    echo
    echo
    echo "Warning: The following functions require administrator privileges=
!"
    echo
    echo "Do you want to install sshd as service?"
    if request "(Say \"no\" if it's already installed as service)"
    then
      if [ $_nt2003 -gt 0 ]
      then
	grep -q '^sshd_server:' ${SYSCONFDIR}/passwd && sshd_server_in_passwd=3Dyes
	if [ "${sshd_server_in_passwd}" =3D "yes" ]
	then
	  # Drop sshd_server from passwd since it could have wrong settings
	  grep -v '^sshd_server:' ${SYSCONFDIR}/passwd > ${SYSCONFDIR}/passwd.$$
	  rm -f ${SYSCONFDIR}/passwd
	  mv ${SYSCONFDIR}/passwd.$$ ${SYSCONFDIR}/passwd
	  chmod g-w,o-w ${SYSCONFDIR}/passwd
	fi
	net user sshd_server >/dev/null 2>&1 && sshd_server_in_sam=3Dyes
	if [ "${sshd_server_in_sam}" !=3D "yes" ]
	then
	  echo
	  echo "You appear to be running Windows 2003 Server or later.  On 2003 an=
d"
	  echo "later systems, it's not possible to use the LocalSystem account"
	  echo "if sshd should allow passwordless logon (e. g. public key authenti=
cation)."
	  echo "If you want to enable that functionality, it's required to create =
a new"
	  echo "account 'sshd_server' with special privileges, which is then used =
to run"
	  echo "the sshd service under."
	  echo
	  echo "Should this script create a new local account 'sshd_server' which =
has"
	  if request "the required privileges?"
	  then
	    _admingroup=3D`awk -F: '{if ( $1 !=3D "root" && $2 =3D=3D "S-1-5-32-54=
4" ) print $1;}' ${SYSCONFDIR}/group`
	    if [ -z "${_admingroup}" ]
	    then
	      echo "There's no group with SID S-1-5-32-544 (Local administrators g=
roup) in"
	      echo "your ${SYSCONFDIR}/group file.  Please regenerate this entry u=
sing 'mkgroup -l'"
	      echo "and restart this script."
	      exit 1
	    fi
	    dos_var_empty=3D`cygpath -w ${LOCALSTATEDIR}/empty`
	    while [ "${sshd_server_in_sam}" !=3D "yes" ]
	    do
	      if [ -n "${password_value}" ]
	      then
		_password=3D"${password_value}"
		# Allow to ask for password if first try fails
		password_value=3D""
	      else
		echo
		echo "Please enter a password for new user 'sshd_server'.  Please be sure=
 that"
		echo "this password matches the password rules given on your system."
		echo -n "Entering no password will exit the configuration.  PASSWORD=3D"
		read -e _password
		if [ -z "${_password}" ]
		then
		  echo
		  echo "Exiting configuration.  No user sshd_server has been created,"
		  echo "no sshd service installed."
		  exit 1
		fi
	      fi
	      net user sshd_server "${_password}" /add /fullname:"sshd server acco=
unt" "/homedir:${dos_var_empty}" /yes > /tmp/nu.$$ 2>&1 && sshd_server_in_s=
am=3Dyes
	      if [ "${sshd_server_in_sam}" !=3D "yes" ]
	      then
		echo "Creating the user 'sshd_server' failed!  Reason:"
		cat /tmp/nu.$$
		rm /tmp/nu.$$
	      fi
	    done
	    net localgroup "${_admingroup}" sshd_server /add > /dev/null 2>&1 && s=
shd_server_in_admingroup=3Dyes
	    if [ "${sshd_server_in_admingroup}" !=3D "yes" ]
	    then
	      echo "WARNING: Adding user sshd_server to local group ${_admingroup}=
 failed!"
	      echo "Please add sshd_server to local group ${_admingroup} before"
	      echo "starting the sshd service!"
	      echo
	    fi
	    passwd_has_expiry_flags=3D`passwd -v | awk '/^passwd /{print ( $3 >=3D=
 1.5 ) ? "yes" : "no";}'`
	    if [ "${passwd_has_expiry_flags}" !=3D "yes" ]
	    then
	      echo
	      echo "WARNING: User sshd_server has password expiry set to system de=
fault."
	      echo "Please check that password never expires or set it to your nee=
ds."
	    elif ! passwd -e sshd_server
	    then
	      echo
	      echo "WARNING: Setting password expiry for user sshd_server failed!"
	      echo "Please check that password never expires or set it to your nee=
ds."
	    fi
	    editrights -a SeAssignPrimaryTokenPrivilege -u sshd_server &&
	    editrights -a SeCreateTokenPrivilege -u sshd_server &&
	    editrights -a SeDenyInteractiveLogonRight -u sshd_server &&
	    editrights -a SeDenyNetworkLogonRight -u sshd_server &&
	    editrights -a SeDenyRemoteInteractiveLogonRight -u sshd_server &&
	    editrights -a SeIncreaseQuotaPrivilege -u sshd_server &&
	    editrights -a SeServiceLogonRight -u sshd_server &&
	    sshd_server_got_all_rights=3D"yes"
	    if [ "${sshd_server_got_all_rights}" !=3D "yes" ]
	    then
	      echo
	      echo "Assigning the appropriate privileges to user 'sshd_server' fai=
led!"
	      echo "Can't create sshd service!"
	      exit 1
	    fi
	    echo
	    echo "User 'sshd_server' has been created with password '${_password}'=
."
	    echo "If you change the password, please keep in mind to change the pa=
ssword"
	    echo "for the sshd service, too."
	    echo
	    echo "Also keep in mind that the user sshd_server needs read permissio=
ns on all"
	    echo "users' .ssh/authorized_keys file to allow public key authenticat=
ion for"
	    echo "these users!.  (Re-)running ssh-user-config for each user will s=
et the"
	    echo "required permissions correctly."
	    echo
	  fi
	fi
	if [ "${sshd_server_in_sam}" =3D "yes" ]
	then
	  mkpasswd -l -u sshd_server | sed -e 's/bash$/false/' >> ${SYSCONFDIR}/pa=
sswd
	fi
      fi
      if [ -n "${cygwin_value}" ]
      then
	_cygwin=3D"${cygwin_value}"
      else
	echo
	echo "Which value should the environment variable CYGWIN have when"
	echo "sshd starts? It's recommended to set at least \"ntsec\" to be"
	echo "able to change user context without password."
	echo -n "Default is \"ntsec\".  CYGWIN=3D"
	read -e _cygwin
      fi
      [ -z "${_cygwin}" ] && _cygwin=3D"ntsec"
      if [ $_nt2003 -gt 0 -a "${sshd_server_in_sam}" =3D "yes" ]
      then
	if cygrunsrv -I sshd -d "CYGWIN sshd" -p /usr/sbin/sshd -a -D -u sshd_serv=
er -w "${_password}" -e "CYGWIN=3D${_cygwin}"
	then
	  echo
	  echo "The service has been installed under sshd_server account."
	  echo "To start the service, call \`net start sshd' or \`cygrunsrv -S ssh=
d'."
	fi
      else
	if cygrunsrv -I sshd -d "CYGWIN sshd" -p /usr/sbin/sshd -a -D -e "CYGWIN=
=3D${_cygwin}"
	then
	  echo
	  echo "The service has been installed under LocalSystem account."
	  echo "To start the service, call \`net start sshd' or \`cygrunsrv -S ssh=
d'."
	fi
      fi
    fi
    # Now check if sshd has been successfully installed.  This allows to
    # set the ownership of the affected files correctly.
    if cygrunsrv -Q sshd > /dev/null 2>&1
    then
      if [ $_nt2003 -gt 0 -a "${sshd_server_in_sam}" =3D "yes" ]
      then
	_user=3D"sshd_server"
      else
	_user=3D"system"
      fi
      chown "${_user}" ${SYSCONFDIR}/ssh*
      chown "${_user}".544 ${LOCALSTATEDIR}/empty
      if [ -f ${LOCALSTATEDIR}/log/sshd.log ]
      then
	chown "${_user}".544 ${LOCALSTATEDIR}/log/sshd.log
      fi
    fi
  fi
fi

echo
echo "Host configuration finished. Have fun!"

------=_NextPart_000_0012_01C4D528.571F8C70
Content-Type: application/octet-stream;
	name="cygcheck.out"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="cygcheck.out"


Cygwin Configuration Diagnostics
Current System Time: Sun Nov 28 08:39:54 2004

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:	c:\Documents and Settings\dpchrist\My Documents\p42800e\bin
	C:\cygwin\usr\local\bin
	C:\cygwin\bin
	C:\cygwin\bin
	C:\cygwin\usr\X11R6\bin
	c:\WINDOWS\system32
	c:\WINDOWS
	c:\WINDOWS\System32\Wbem
	C:\cygwin\bin

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1003(dpchrist) GID: 513(None)
513(None)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1003(dpchrist)  GID: 513(None)
0(root)              513(None)            544(Administrators)
545(Users)           1005(Debugger Users)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

CYGWIN =3D `ntsec tty'
HOME =3D `C:\cygwin\home\dpchrist'
MAKE_MODE =3D `unix'
PWD =3D `/home/dpchrist'
USER =3D `dpchrist'

ALLUSERSPROFILE =3D `C:\Documents and Settings\All Users'
APPDATA =3D `C:\Documents and Settings\dpchrist\Application Data'
CLIENTNAME =3D `Console'
COMMONPROGRAMFILES =3D `C:\Program Files\Common Files'
COMPUTERNAME =3D `P42800E'
COMSPEC =3D `C:\WINDOWS\system32\cmd.exe'
CVS_RSH =3D `/bin/ssh'
FP_NO_HOST_CHECK =3D `NO'
FTP_PASSIVE =3D `1'
HISTCONTROL =3D `ignoredups'
HOMEDRIVE =3D `C:'
HOMEPATH =3D `\Documents and Settings\dpchrist'
HOSTNAME =3D `p42800e'
INFOPATH =3D `/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel=
/info:/usr/autotool/stable/info:'
LANG =3D `C'
LESS =3D `-R'
LOGONSERVER =3D `\\P42800E'
MANPATH =3D `:/home/dpchrist/local/man'
NUMBER_OF_PROCESSORS =3D `2'
OLDPWD =3D `/usr/bin'
OS =3D `Windows_NT'
OSTYPE =3D `cygwin'
PATHEXT =3D `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PERL5LIB =3D `/home/dpchrist/local/share/perl/5.6.1'
PRINTER =3D `HP LaserJet 4'
PROCESSOR_ARCHITECTURE =3D `x86'
PROCESSOR_IDENTIFIER =3D `x86 Family 15 Model 3 Stepping 3, GenuineIntel'
PROCESSOR_LEVEL =3D `15'
PROCESSOR_REVISION =3D `0303'
PROGRAMFILES =3D `C:\Program Files'
PROMPT =3D `$P$G'
PS1 =3D `\u@\h:\w\$ '
SESSIONNAME =3D `Console'
SHLVL =3D `1'
SYSTEMDRIVE =3D `C:'
SYSTEMROOT =3D `C:\WINDOWS'
TEMP =3D `C:\DOCUME~1\dpchrist\LOCALS~1\Temp'
TERM =3D `cygwin'
TMP =3D `C:\DOCUME~1\dpchrist\LOCALS~1\Temp'
USERDOMAIN =3D `P42800E'
USERPROFILE =3D `C:\Documents and Settings\dpchrist'
WINDIR =3D `C:\WINDOWS'
_ =3D `/usr/bin/cygcheck'
POSIXLY_CORRECT =3D `1'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) =3D `/cygdrive'
  cygdrive flags =3D 0x00000020
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) =3D `C:\cygwin'
  flags =3D 0x00000008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) =3D `C:\cygwin/bin'
  flags =3D 0x00000008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) =3D `C:\cygwin/lib'
  flags =3D 0x00000008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd             N/A    N/A=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20
c:  hd  NTFS     76308Mb   9% CP CS UN PA FC     P42800E
d:  cd             N/A    N/A=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20
e:  hd  NTFS    190779Mb  40% CP CS UN PA FC     DATA
f:  hd  NTFS    238472Mb  38% CP CS UN PA FC     BACKUP

C:\cygwin      /          system  textmode
C:\cygwin/bin  /usr/bin   system  textmode
C:\cygwin/lib  /usr/lib   system  textmode
.              /cygdrive  system  textmode,cygdrive

Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\mv.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe

   55k 2004/09/14 C:\cygwin\bin\cygbz2-1.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygbz2-1.dll" v0.0 ts=3D2004/9/13 21:16
   18k 2004/07/06 C:\cygwin\bin\cygcharset-1.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygcharset-1.dll" v0.0 ts=3D2004/7/6 11:09
    7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll - os=3D4.0 img=3D1.0 sys=3D4=
.0
                  "cygcrypt-0.dll" v0.0 ts=3D2003/10/19 0:57
  839k 2004/09/27 C:\cygwin\bin\cygcrypto-0.9.7.dll - os=3D4.0 img=3D1.0 sy=
s=3D4.0
                  "cygcrypto-0.9.7.dll" v0.0 ts=3D2004/9/27 7:10
  831k 2003/09/20 C:\cygwin\bin\cygdb-4.1.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygdb-4.1.dll" v0.0 ts=3D2003/9/20 14:51
  895k 2004/04/28 C:\cygwin\bin\cygdb-4.2.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygdb-4.2.dll" v0.0 ts=3D2004/4/27 8:31
 1080k 2003/09/20 C:\cygwin\bin\cygdb_cxx-4.1.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygdb_cxx-4.1.dll" v0.0 ts=3D2003/9/20 14:53
 1156k 2004/04/28 C:\cygwin\bin\cygdb_cxx-4.2.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygdb_cxx-4.2.dll" v0.0 ts=3D2004/4/27 8:35
  174k 2004/10/14 C:\cygwin\bin\cygexpat-0.dll - os=3D4.0 img=3D1.0 sys=3D4=
.0
                  "cygexpat-0.dll" v0.0 ts=3D2004/10/14 1:34
   40k 2004/10/10 C:\cygwin\bin\cygform-8.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygform-8.dll" v0.0 ts=3D2004/10/10 1:33
   45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygform5.dll" v0.0 ts=3D2001/4/24 22:28
   35k 2002/01/09 C:\cygwin\bin\cygform6.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygform6.dll" v0.0 ts=3D2002/1/8 22:03
   48k 2003/08/09 C:\cygwin\bin\cygform7.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygform7.dll" v0.0 ts=3D2003/8/9 2:25
   28k 2003/07/20 C:\cygwin\bin\cyggdbm-3.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cyggdbm-3.dll" v0.0 ts=3D2003/7/20 0:58
   30k 2003/08/11 C:\cygwin\bin\cyggdbm-4.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cyggdbm-4.dll" v0.0 ts=3D2003/8/10 19:12
   19k 2003/03/22 C:\cygwin\bin\cyggdbm.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cyggdbm.dll" v0.0 ts=3D2002/2/19 19:05
   15k 2003/07/20 C:\cygwin\bin\cyggdbm_compat-3.dll - os=3D4.0 img=3D1.0 s=
ys=3D4.0
                  "cyggdbm_compat-3.dll" v0.0 ts=3D2003/7/20 1:00
   15k 2003/08/11 C:\cygwin\bin\cyggdbm_compat-4.dll - os=3D4.0 img=3D1.0 s=
ys=3D4.0
                  "cyggdbm_compat-4.dll" v0.0 ts=3D2003/8/10 19:13
  107k 2004/07/06 C:\cygwin\bin\cyggettextlib-0-14-1.dll - os=3D4.0 img=3D1=
.0 sys=3D4.0
                  "cyggettextlib-0-14-1.dll" v0.0 ts=3D2004/7/6 10:56
   17k 2004/07/06 C:\cygwin\bin\cyggettextpo-0.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cyggettextpo-0.dll" v0.0 ts=3D2004/7/6 10:56
  190k 2004/07/06 C:\cygwin\bin\cyggettextsrc-0-14-1.dll - os=3D4.0 img=3D1=
.0 sys=3D4.0
                  "cyggettextsrc-0-14-1.dll" v0.0 ts=3D2004/7/6 10:56
   17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll - os=3D4.0 img=3D1.0 sys=3D=
4.0
                  "cyghistory4.dll" v0.0 ts=3D2001/1/6 20:34
   29k 2003/08/10 C:\cygwin\bin\cyghistory5.dll - os=3D4.0 img=3D1.0 sys=3D=
4.0
                  "cyghistory5.dll" v0.0 ts=3D2003/8/10 16:16
   25k 2004/10/12 C:\cygwin\bin\cyghistory6.dll - os=3D4.0 img=3D1.0 sys=3D=
4.0
                  "cyghistory6.dll" v0.0 ts=3D2004/10/11 23:51
  991k 2004/07/06 C:\cygwin\bin\cygiconv-2.dll - os=3D4.0 img=3D1.0 sys=3D4=
.0
                  "cygiconv-2.dll" v0.0 ts=3D2004/7/6 11:10
   22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygintl-1.dll" v0.0 ts=3D2001/12/13 1:28
   37k 2003/08/10 C:\cygwin\bin\cygintl-2.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygintl-2.dll" v0.0 ts=3D2003/8/10 14:50
   54k 2004/07/06 C:\cygwin\bin\cygintl-3.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygintl-3.dll" v0.0 ts=3D2004/7/6 10:51
   41k 2004/10/14 C:\cygwin\bin\cyglber-2-2-7.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cyglber-2-2-7.dll" v0.0 ts=3D2004/10/14 1:28
  180k 2004/10/14 C:\cygwin\bin\cygldap-2-2-7.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygldap-2-2-7.dll" v0.0 ts=3D2004/10/14 1:35
  191k 2004/10/14 C:\cygwin\bin\cygldap_r-2-2-7.dll - os=3D4.0 img=3D1.0 sy=
s=3D4.0
                  "cygldap_r-2-2-7.dll" v0.0 ts=3D2004/10/14 1:35
  144k 2004/08/29 C:\cygwin\bin\cygmagic-1.dll - os=3D4.0 img=3D1.0 sys=3D4=
.0
                  "cygmagic-1.dll" v0.0 ts=3D2004/8/29 13:25
   22k 2004/10/10 C:\cygwin\bin\cygmenu-8.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygmenu-8.dll" v0.0 ts=3D2004/10/10 1:33
   26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygmenu5.dll" v0.0 ts=3D2001/4/24 22:27
   20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygmenu6.dll" v0.0 ts=3D2002/1/8 22:03
   29k 2003/08/09 C:\cygwin\bin\cygmenu7.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygmenu7.dll" v0.0 ts=3D2003/8/9 2:25
   21k 2004/10/22 C:\cygwin\bin\cygminires.dll - os=3D4.0 img=3D1.0 sys=3D4=
.0
                  "cygminires.dll" v0.0 ts=3D2004/10/22 13:28
   74k 2004/10/10 C:\cygwin\bin\cygncurses++-8.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygncurses++-8.dll" v0.0 ts=3D2004/10/10 1:33
  156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygncurses++5.dll" v0.0 ts=3D2001/4/24 22:29
  175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygncurses++6.dll" v0.0 ts=3D2002/1/8 22:03
  216k 2004/10/10 C:\cygwin\bin\cygncurses-8.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygncurses-8.dll" v0.0 ts=3D2004/10/10 1:25
  226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll - os=3D4.0 img=3D1.0 sys=3D=
4.0
                  "cygncurses5.dll" v0.0 ts=3D2001/4/24 22:17
  202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll - os=3D4.0 img=3D1.0 sys=3D=
4.0
                  "cygncurses6.dll" v0.0 ts=3D2002/1/8 22:03
  224k 2003/08/09 C:\cygwin\bin\cygncurses7.dll - os=3D4.0 img=3D1.0 sys=3D=
4.0
                  "cygncurses7.dll" v0.0 ts=3D2003/8/9 2:24
   13k 2004/10/10 C:\cygwin\bin\cygpanel-8.dll - os=3D4.0 img=3D1.0 sys=3D4=
.0
                  "cygpanel-8.dll" v0.0 ts=3D2004/10/10 1:32
   15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygpanel5.dll" v0.0 ts=3D2001/4/24 22:27
   12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygpanel6.dll" v0.0 ts=3D2002/1/8 22:03
   19k 2003/08/09 C:\cygwin\bin\cygpanel7.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygpanel7.dll" v0.0 ts=3D2003/8/9 2:24
   62k 2003/12/11 C:\cygwin\bin\cygpcre-0.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygpcre-0.dll" v0.0 ts=3D2003/12/11 9:01
   63k 2003/04/11 C:\cygwin\bin\cygpcre.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygpcre.dll" v0.0 ts=3D2003/4/11 1:31
    9k 2003/12/11 C:\cygwin\bin\cygpcreposix-0.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygpcreposix-0.dll" v0.0 ts=3D2003/12/11 9:01
   61k 2003/04/11 C:\cygwin\bin\cygpcreposix.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygpcreposix.dll" v0.0 ts=3D2003/4/11 1:31
 1061k 2004/08/19 C:\cygwin\bin\cygperl5_8_5.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygperl5_8_5.dll" v0.0 ts=3D2004/8/19 10:54
   22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygpopt-0.dll" v0.0 ts=3D2002/6/8 22:45
  108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygreadline4.dll" v0.0 ts=3D2001/1/6 20:34
  148k 2003/08/10 C:\cygwin\bin\cygreadline5.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygreadline5.dll" v0.0 ts=3D2003/8/10 16:16
  144k 2004/10/12 C:\cygwin\bin\cygreadline6.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygreadline6.dll" v0.0 ts=3D2004/10/11 23:51
   78k 2004/10/13 C:\cygwin\bin\cygsasl2-2.dll - os=3D4.0 img=3D1.0 sys=3D4=
.0
                  "cygsasl2-2.dll" v0.0 ts=3D2004/10/13 15:50
  170k 2004/09/27 C:\cygwin\bin\cygssl-0.9.7.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygssl-0.9.7.dll" v0.0 ts=3D2004/9/27 7:10
  254k 2003/09/18 C:\cygwin\bin\cygtidy-0-99-0.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygtidy-0-99-0.dll" v0.0 ts=3D2003/9/18 8:52
   62k 2004/10/10 C:\cygwin\bin\cygz.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygz.dll" v0.0 ts=3D2004/10/9 21:09
 1114k 2004/11/10 C:\cygwin\bin\cygwin1.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygwin1.dll" v0.0 ts=3D2004/11/10 5:34
    Cygwin DLL version info:
        DLL version: 1.5.12
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 116
        Shared data: 4
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix:=20
        Build date: Wed Nov 10 08:34:47 EST 2004
        Shared id: cygwin1S4


Cygwin Package Information
Last downloaded files to: C:\cygwin\setup
Last downloaded files from: ftp://planetmirror.com/pub/sourceware/cygwin

Package              Version
_update-info-dir     00230-1
ash                  20040127-1
base-files           3.1-4
base-passwd          2.1-1
bash                 2.05b-16
binutils             20040725-2
bzip2                1.0.2-6
ccrypt               1.7-1
clear                1.0-1
cron                 3.0.1-13
crypt                1.1-1
cvs                  1.11.17-1
cygrunsrv            1.0-1
cygutils             1.2.5-1
cygwin               1.5.12-1
cygwin-doc           1.3-7
diffutils            2.8.7-1
editrights           1.01-1
exim                 4.43-1
expat                1.95.8-1
file                 4.10-1
fileutils            4.1-2
findutils            4.1.7-4
gawk                 3.1.4-3
gcc                  3.3.3-3
gcc-core             3.3.3-3
gcc-g++              3.3.3-3
gcc-mingw-core       20040810-1
gcc-mingw-g++        20040810-1
gdb                  20030919-1
gdbm                 1.8.3-7
gnome-common         2.8.0-1
gnupg                1.2.4-1
grep                 2.5-1
groff                1.18.1-2
gzip                 1.3.5-1
indent               2.2.9-1
less                 381-1
libbz2_1             1.0.2-6
libcharset1          1.9.2-1
libdb4.1             4.1.25-1
libdb4.2             4.2.52-1
libgdbm              1.8.0-5
libgdbm-devel        1.8.3-7
libgdbm3             1.8.3-3
libgdbm4             1.8.3-7
libgettextpo0        0.14.1-1
libiconv             1.9.2-1
libiconv2            1.9.2-1
libintl1             0.10.40-1
libintl2             0.12.1-3
libintl3             0.14.1-1
libncurses-devel     5.4-1
libncurses5          5.2-1
libncurses6          5.2-8
libncurses7          5.3-4
libncurses8          5.4-1
libopenldap2_2_7     2.2.17-2
libpcre              4.1-1
libpcre0             4.5-1
libpopt0             1.6.4-4
libreadline4         4.1-2
libreadline5         4.3-5
libreadline6         5.0-1
libsasl2             2.1.19-3
login                1.9-7
lynx                 2.8.4-8
make                 3.80-1
man                  1.5o-1
mingw-runtime        3.5-1
minires              1.00-1
mktemp               1.5-3
ncftp                3.1.7-1
ncurses              5.4-1
openssh              3.9p1-2
openssl              0.9.7d-2
perl                 5.8.5-3
perl_manpages        5.8.5-3
readline             5.0-1
rsync                2.6.3-1
sed                  4.1.2-1
sh-utils             2.0.15-4
sharutils            4.2.1-3
shutdown             1.4-1
tar                  1.13.25-5
tcltk                20030901-1
termcap              20021106-2
terminfo             5.4_20041009-1
texinfo              4.2-4
textutils            2.0.21-1
tidy                 030901-1
time                 1.7-1
unzip                5.50-5
vim                  6.3-1
w32api               3.1-1
wget                 1.9.1-1
which                1.5-2
whois                4.6.14-1
zip                  2.3-6
zlib                 1.2.2-1
Use -h to see help about each section


------=_NextPart_000_0012_01C4D528.571F8C70
Content-Type: text/plain; charset=us-ascii

--
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/
------=_NextPart_000_0012_01C4D528.571F8C70--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019