[PATCH] contrib/cygwin/ssh-host-config
Corinna Vinschen
vinschen at redhat.com
Mon Sep 13 00:22:12 EST 2004
Hi,
the below patch solves a problem with recent changes in the Cygwin
default installation process. Could somebody please apply it?
Thanks in advance,
Corinna
Index: contrib/cygwin/ssh-host-config
===================================================================
RCS file: /cvs/openssh_cvs/contrib/cygwin/ssh-host-config,v
retrieving revision 1.14
diff -p -u -r1.14 ssh-host-config
--- contrib/cygwin/ssh-host-config 21 Nov 2003 12:48:57 -0000 1.14
+++ contrib/cygwin/ssh-host-config 12 Sep 2004 14:04:21 -0000
@@ -449,7 +449,7 @@ then
echo "Should this script create a new local account 'sshd_server' which has"
if request "the required privileges?"
then
- _admingroup=`awk -F: '{if ( $2 == "S-1-5-32-544" ) print $1;}' ${SYSCONFDIR}/group`
+ _admingroup=`awk -F: '{if ( $1 != "root" && $2 == "S-1-5-32-544" ) print $1;}' ${SYSCONFDIR}/group`
if [ -z "${_admingroup}" ]
then
echo "There's no group with SID S-1-5-32-544 (Local administrators group) in"
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat, Inc.
More information about the openssh-unix-dev
mailing list