diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | contrib/cygwin/ssh-host-config | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -1,6 +1,8 @@ | |||
1 | 20040921 | 1 | 20040921 |
2 | - (dtucker) [openbsd-compat/bsd-snprintf.c] Check for max length too. | 2 | - (dtucker) [openbsd-compat/bsd-snprintf.c] Check for max length too. |
3 | ok djm@ | 3 | ok djm@ |
4 | - (dtucker) [contrib/cygwin/ssh-host-config] Update to match current Cygwin | ||
5 | install process. Patch from vinschen at redhat.com. | ||
4 | 6 | ||
5 | 20040912 | 7 | 20040912 |
6 | - (djm) [loginrec.c] Start KNF and tidy up of this long-neglected file. | 8 | - (djm) [loginrec.c] Start KNF and tidy up of this long-neglected file. |
@@ -1748,4 +1750,4 @@ | |||
1748 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 1750 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
1749 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 1751 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
1750 | 1752 | ||
1751 | $Id: ChangeLog,v 1.3553 2004/09/21 11:32:12 dtucker Exp $ | 1753 | $Id: ChangeLog,v 1.3554 2004/09/21 11:35:55 dtucker Exp $ |
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 | |||
449 | echo "Should this script create a new local account 'sshd_server' which has" | 449 | echo "Should this script create a new local account 'sshd_server' which has" |
450 | if request "the required privileges?" | 450 | if request "the required privileges?" |
451 | then | 451 | then |
452 | _admingroup=`awk -F: '{if ( $2 == "S-1-5-32-544" ) print $1;}' ${SYSCONFDIR}/group` | 452 | _admingroup=`awk -F: '{if ( $1 != "root" && $2 == "S-1-5-32-544" ) print $1;}' ${SYSCONFDIR}/group` |
453 | if [ -z "${_admingroup}" ] | 453 | if [ -z "${_admingroup}" ] |
454 | then | 454 | then |
455 | echo "There's no group with SID S-1-5-32-544 (Local administrators group) in" | 455 | echo "There's no group with SID S-1-5-32-544 (Local administrators group) in" |