X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Tue, 2 Dec 2008 09:23:14 -0800 (PST) From: T Z Subject: Problem with ssh-host-config on Windows 2003 To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <104573.65118.qm@web53302.mail.re2.yahoo.com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I am trying to automate my cygwin install on a windows 2003 box and have even done the following before ssh-host-config is run: ntrights +r SeAssignPrimaryTokenPrivilege -u sshd ntrights +r SeCreateTokenPrivilege -u sshd ntrights +r SeDenyInteractiveLogonRight -u sshd ntrights +r SeDenyNetworkLogonRight -u sshd ntrights +r SeDenyRemoteInteractiveLogonRight -u sshd ntrights +r SeIncreaseQuotaPrivilege -u sshd ntrights +r SeServiceLogonRight -u sshd ntrights +r SeAssignPrimaryTokenPrivilege -u cyg_server ntrights +r SeCreateTokenPrivilege -u cyg_server ntrights +r SeTcbPrivilege -u cyg_server ntrights +r SeServiceLogonRight -u cyg_server ntrights +r SeDenyRemoteInteractiveLogonRight -u cyg_server net localgroup "administrators" sshd /add and also c:\cygwin\bin\bash.exe --login /bin/mkpasswd -l -d >/etc/passwd c:\cygwin\bin\bash.exe --login /bin/mkgroup -l -d >/etc/group but when I then run c:\cygwin\bin\bash.exe --login /usr/bin/ssh-host-config --yes --cygwin ntsec --pwd loser as the administrator of the pc (not in domain) it seems to run fine thru most if the script but then when it gets to the line where it asks if you want to change the user of cyg_server it is AUTOMATICALLY answering yes which then I have to retype it in. I am running version 2.573.2.3 what is the problem. Can someone please help? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/