Bruce said he could not see my edits. I'm posting from nabble and used the
raw tags, so maybe that did not go through. Here they are again:

$ diff -c cygwin-service-installation-helper.sh.orig
cygwin-service-installation-helper.sh
*** cygwin-service-installation-helper.sh.orig  2014-12-27 19:33:51.174250000
-0500
--- cygwin-service-installation-helper.sh       2014-12-27 23:26:51.893000000
-0500
***************
*** 2966,2973 ****
      if [ "$username_in_sam" = "yes" ]
      then
        # always try to set group membership and privileges
!       admingroup=$(/usr/bin/getent group S-1-5-32-544)
!       admingroup="${admingroup%%:*}"
        if [ -z "${admingroup}" ]
        then
          csih_warning "Cannot obtain the Administrators group name from
'mkgroup -l'."
--- 2966,2974 ----
      if [ "$username_in_sam" = "yes" ]
      then
        # always try to set group membership and privileges
!       admingroup=$(/usr/bin/getent -w group S-1-5-32-544)
!       admingroup="${admingroup#*:*:*\\}"
!       admingroup="${admingroup%:*}"
        if [ -z "${admingroup}" ]
        then
          csih_warning "Cannot obtain the Administrators group name from
'mkgroup -l'."
***************
*** 3263,3268 ****
--- 3264,3271 ----
    # is not yet installed, so compute the "expected" account under which
    # privileged services should run.

+   mkpasswd -l > /etc/passwd
+
    # use the following procedure if a privileged account is required:
    if ( csih_is_nt2003 || [ "x$csih_FORCE_PRIVILEGED_USER" = "xyes" ] )
    then




--
View this message in context: 
http://cygwin.1069669.n5.nabble.com/Re-SSHd-configuration-problems-System-error-1376-CONFIRMED-tp113955p114109.html
Sent from the Cygwin list mailing list archive at Nabble.com.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to