RE: ssh ceased to work after recreation of /etc/passwd

2005-07-13 Thread Larry Hall
At 03:22 PM 7/13/2005, Igor wrote: >On Wed, 13 Jul 2005, Larry Hall wrote: > >> At 01:46 AM 7/13/2005, FischRon.external wrote: >> >> >So what I did is to manually edit /etc/passwd and set my user id back >> >to 400. Then I opened a new cygwin shell and, voila, ssh works again. >> > >> >Now the que

RE: ssh ceased to work after recreation of /etc/passwd

2005-07-13 Thread Igor Pechtchanski
On Wed, 13 Jul 2005, Larry Hall wrote: > At 01:46 AM 7/13/2005, FischRon.external wrote: > > >So what I did is to manually edit /etc/passwd and set my user id back > >to 400. Then I opened a new cygwin shell and, voila, ssh works again. > > > >Now the question is: What possible damage to my system

RE: ssh ceased to work after recreation of /etc/passwd

2005-07-13 Thread Larry Hall
At 01:46 AM 7/13/2005, you wrote: >> >> You'll >> >> probably find that you need to change the ownership of files >> >> in your home >> >> directory (at least) to enable public key authentication again. >> > >> >You mean: changing all files to owner 121833? That is: >> Should I do this: >> >

RE: ssh ceased to work after recreation of /etc/passwd

2005-07-12 Thread FischRon.external
> >It was the other way around. I happened to have an "old" open shell > >where id was still seen as 400, and *there* did ssh work; but when > >I closed the window and opened a new shell, my numeric user id is > >now 121833 and ssh does not work anymore at all. > > > Ah-huh. And did you do what

RE: ssh ceased to work after recreation of /etc/passwd

2005-07-12 Thread Larry Hall
At 10:01 AM 7/12/2005, you wrote: >> ># 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) >> >

RE: ssh ceased to work after recreation of /etc/passwd

2005-07-12 Thread Dave Korn
Original Message >From: [EMAIL PROTECTED] >Sent: 12 July 2005 15:01 >> The above error occurs in ssh-keygen.c when getpwuid(getuid) >> fails. It >> appears Cygwin still thinks of you as uid 400. Just try stopping all >> Cygwin shells and services and then restarting (via >> cygwin.bat). >

RE: ssh ceased to work after recreation of /etc/passwd

2005-07-12 Thread FischRon.external
> ># 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(

Re: ssh ceased to work after recreation of /etc/passwd

2005-07-11 Thread Larry Hall
At 06:00 AM 7/11/2005, you wrote: >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 occur