summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authordtucker <dtucker>2004-09-21 11:35:55 +0000
committerdtucker <dtucker>2004-09-21 11:35:55 +0000
commit7e10c33f56a06a6533f016c0993bcc7ae9f31b94 (patch)
tree52f30895f25338da38d2c272c9748fd604d7e80f /contrib
parentd043a22883993d21b5e17e265b705cfc8e3251b1 (diff)
downloadopenssh-7e10c33f56a06a6533f016c0993bcc7ae9f31b94.tar.gz
- (dtucker) [contrib/cygwin/ssh-host-config] Update to match current Cygwin
install process. Patch from vinschen at redhat.com.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/cygwin/ssh-host-config2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/cygwin/ssh-host-config b/contrib/cygwin/ssh-host-config
index 9c0dabf4..c7164f61 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"