~ubuntu-branches/ubuntu/lucid/openssh/lucid

« back to all changes in this revision

Viewing changes to contrib/cygwin/ssh-host-config

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2005-10-10 20:10:01 UTC
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20051010201001-rno2f5bno6e6wo6t
Tags: upstream-4.1p1
ImportĀ upstreamĀ versionĀ 4.1p1

Show diffs side-by-side

added added

removed removed

Lines of Context:
449
449
          echo "Should this script create a new local account 'sshd_server' which has"
450
450
          if request "the required privileges?"
451
451
          then
452
 
            _admingroup=`awk -F: '{if ( $2 == "S-1-5-32-544" ) print $1;}' ${SYSCONFDIR}/group`
 
452
            _admingroup=`mkgroup -l | awk -F: '{if ( $2 == "S-1-5-32-544" ) print $1;}' `
453
453
            if [ -z "${_admingroup}" ]
454
454
            then
455
 
              echo "There's no group with SID S-1-5-32-544 (Local administrators group) in"
456
 
              echo "your ${SYSCONFDIR}/group file.  Please regenerate this entry using 'mkgroup -l'"
457
 
              echo "and restart this script."
 
455
              echo "mkgroup -l produces no group with SID S-1-5-32-544 (Local administrators group)."
458
456
              exit 1
459
457
            fi
460
458
            dos_var_empty=`cygpath -w ${LOCALSTATEDIR}/empty`
585
583
        chown "${_user}".544 ${LOCALSTATEDIR}/log/sshd.log
586
584
      fi
587
585
    fi
 
586
    if ! ( mount | egrep -q 'on /(|usr/(bin|lib)) type system' )
 
587
    then
 
588
      echo
 
589
      echo "Warning: It appears that you have user mode mounts (\"Just me\""
 
590
      echo "chosen during install.)  Any daemons installed as services will"
 
591
      echo "fail to function unless system mounts are used.  To change this,"
 
592
      echo "re-run setup.exe and choose \"All users\"."
 
593
      echo
 
594
      echo "For more information, see http://cygwin.com/faq/faq0.html#TOC33"
 
595
    fi
588
596
  fi
589
597
fi
590
598