启动Cygwin时出错

时间:2015-06-08 10:00:55

标签: shell cygwin

我是Cygwin的新手。你能帮助我吗,这里有什么问题..

 Administrator@demosrv /cygdrive/C/Program Files (x86)/GCTI/lfm/utilities
    $ "C:/cygwin/cygrun.bat" bash "C:/cygwin/cygwin_setup.sh" administrator "superadmin"
    cygwin warning:
      MS-DOS style path detected: C:\cygwin\home\Administrator/.bashrc
      Preferred POSIX equivalent is: /home/Administrator/.bashrc
      CYGWIN environment variable option "nodosfilewarning" turns off this warning.
      Consult the user's guide for more details about POSIX paths:
        http://cygwin.com/cygwin-ug-net/using.html#using-pathnames

    *** Query: Overwrite existing /etc/ssh_config file? (yes/no) yes
    *** Info: Creating default /etc/ssh_config file
    *** Query: Overwrite existing /etc/sshd_config file? (yes/no) yes
    *** Info: Creating default /etc/sshd_config file
    *** Info: Privilege separation is set to yes by default since OpenSSH 3.3.
    *** Info: However, this requires a non-privileged account called 'sshd'.
    *** Info: For more info on privilege separation read /usr/share/doc/openssh/README.privsep.
    *** Query: Should privilege separation be used? (yes/no) yes
    *** Info: Updating /etc/sshd_config file

    *** Info: Sshd service is already installed.
    *** Warning: Couldn't change owner of /etc/ssh_config!
    *** Warning: Couldn't change owner of /etc/sshd_config!
    *** Warning: Couldn't change owner of /etc/ssh_host_dsa_key!
    *** Warning: Couldn't change owner of /etc/ssh_host_ecdsa_key!
    *** Warning: Couldn't change owner of /etc/ssh_host_ed25519_key!
    *** Warning: Couldn't change owner of /etc/ssh_host_key!
    *** Warning: Couldn't change owner of /etc/ssh_host_rsa_key!
    *** Warning: Couldn't change owner of /etc/ssh_host_dsa_key.pub!
    *** Warning: Couldn't change owner of /etc/ssh_host_ecdsa_key.pub!
    *** Warning: Couldn't change owner of /etc/ssh_host_ed25519_key.pub!
    *** Warning: Couldn't change owner of /etc/ssh_host_key.pub!
    *** Warning: Couldn't change owner of /etc/ssh_host_rsa_key.pub!
    *** Warning: Couldn't change owner of /var/empty!
    *** Warning: Couldn't change owner of /var/log/lastlog!
    *** Warning: Couldn't change owner of important files to Administrator
    Administrator!
    *** Warning: This may cause the sshd service to fail!  Please make sure that
    *** Warning: you have suufficient permissions to change the ownership of files
    *** Warning: and try to run the ssh-host-config script again.

    *** Warning: Host configuration exited with 14 errors or warnings!
    *** Warning: Make sure that all problems reported are fixed,
    *** Warning: then re-run ssh-host-config.
    System error 1069 has occurred.

    The service did not start due to a logon failure.

为了您的信息,我在这里使用了我的Windows用户名和密码..

如果您需要我的任何进一步细节,请告诉我..

1 个答案:

答案 0 :(得分:1)

  1. 单击“开始”,单击“运行”,键入gpedit.msc,然后单击“确定”。

  2. 展开“本地计算机策略”,展开“计算机配置”,展开“Windows” 单击设置,展开安全设置,展开本地策略,然后单击用户权限分配。

  3. 双击“作为批处理作业登录”,单击“添加用户或组”,键入服务帐户的名称,然后单击“确定”两次。

  4. 双击“作为服务登录”,单击“添加用户或组”,键入服务帐户的名称,然后单击“确定”两次。

  5. 来源:https://social.msdn.microsoft.com/Forums/sqlserver/en-US/cb9cbc5c-b2f9-4656-97e9-f69542c0b10f/an-error-1069-the-service-did-not-start-due-to-logon-failure-occurred-while-performing-this?forum=sqldatabaseengine