Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Subject: Re: re: windows authentication for cygwin sshd From: "Calvin Smith" To: cygwin AT cygwin DOT com Date: Mon, 15 Mar 2004 12:43:28 -0700 X-Sender: exnihilo4 MIME-Version: 1.0 Message-ID: <1079379808.c833a59cexnihilo4@myrealbox.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i2FJiSi2029911 Thanks for the information. When I tried to run mkpasswd, I got the following error message: mkpasswd: [1326] Logon failure: unknown user name or bad password. I looked in the man page and didn't see anything about using a username and password. Is this error message familiar to anyone? Do I have to login as a domain administrator (which I am not) to run this command successfully? I was trying to run it as a local administrator. thanks -----Original Message----- From: "Matt Berney" To: , Date: Mon, 15 Mar 2004 10:51:59 -0800 Subject: re: windows authentication for cygwin sshd Calvin, You can update the /etc/passwd file and /etc/group file with the domain users and groups with the following command: cd /etc /usr/bin/mkpasswd -l -g -d > passwd /usr/bin/mkgroup -l -d > group net stop sshd && net start sshd Use 'man mkpasswd' & 'man mkgroup' for help. --Matt -- 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/