From 5d596139d43743004524a23693851211d3327718 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Tue, 21 Sep 2004 21:35:55 +1000 Subject: - (dtucker) [contrib/cygwin/ssh-host-config] Update to match current Cygwin install process. Patch from vinschen at redhat.com. --- contrib/cygwin/ssh-host-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/cygwin/ssh-host-config') diff --git a/contrib/cygwin/ssh-host-config b/contrib/cygwin/ssh-host-config index 9c0dabf41..c7164f610 100644 --- a/contrib/cygwin/ssh-host-config +++ b/contrib/cygwin/ssh-host-config @@ -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" -- cgit v1.2.3