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 X-SBRS: None content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: ssh ceased to work after recreation of /etc/passwd Date: Mon, 11 Jul 2005 12:00:47 +0200 Message-ID: <25F7D2213F14794A8767B88203EA2BC9240CA6@mucse201.eu.infineon.com> From: To: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j6BA19nm024711 Due to various problems on my system, I have recreated /etc/group and /etc/passwd by mkpasswd -l -c >/etc/passwd mkgroup -l -c >/etc/group Now ssh does not work anymore: I always get the error message "You don't exist, go away!" The error occurs only in Cygwin windows which I opened *after* I had recreated passwd and group. By comparing what the working and the non-working case, I see that by recreating /etc/passwd, my uid had changed: # Before recreating /etc/passwd $ id uid=400(fischron) gid=401(mkpasswd) groups=544(Administrators),545(Users),10513(mkgroup_l_d),401(mkpasswd) # After recreating /etc/passwd $ id uid=121833(fischron) gid=10513(mkgroup_l_d) groups=544(Administrators),545(Users),10513(mkgroup_l_d) I guess that the change in uid causes ssh to not to recognize me anymore. What's the best way to deal with this situation? Do I have to recreate id_rsa and id_rsa.pub (and redistribute my public key to all sites I need access to)? Ronald -- Ronald Fischer Infineon Technologies AG IT BT CFS IKM Tel: +49 89 234 81643 Fax +49 89 234 27850 fischron DOT external AT infineon DOT com ***** VISIT US AT: ***** -- 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/