Re: ssh-host-config script sends /etc/passwd thru awk

2015-02-20 Thread Corinna Vinschen
On Feb 20 09:52, Achim Gratz wrote: Corinna Vinschen writes: Yup, that looks right. Thanks for explaining. I guess that should help us along. If you check this change in, I will release a new csih version asap. Done. please check again. Looks good to me, thanks! Corinna --

Re: ssh-host-config script sends /etc/passwd thru awk

2015-02-20 Thread Achim Gratz
Corinna Vinschen writes: Yup, that looks right. Thanks for explaining. I guess that should help us along. If you check this change in, I will release a new csih version asap. Done. please check again. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+

Re: ssh-host-config script sends /etc/passwd thru awk

2015-02-18 Thread Corinna Vinschen
On Feb 17 16:22, Warren Young wrote: On Feb 17, 2015, at 4:02 PM, Corinna Vinschen corinna-cyg...@cygwin.com wrote: On Feb 17 15:51, Warren Young wrote: It seems that the ssh-host-config script isn’t using Corinna’s new getent package yet. Both scripts are using geten or

Re: ssh-host-config script sends /etc/passwd thru awk

2015-02-18 Thread Achim Gratz
Achim Gratz writes: The old test wrote to /etc/{passwd,group} when use_file!=1, …make that -^!=0 Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ Factory and User Sound Singles for Waldorf Blofeld:

Re: ssh-host-config script sends /etc/passwd thru awk

2015-02-18 Thread Corinna Vinschen
On Feb 18 15:14, Frank Fesevur wrote: 2015-02-18 15:00 GMT+01:00 Corinna Vinschen: The openssh is the 64-bit version, as in the stackexchange user's case. The issue is interesting, though. When I first installed the openssh, it offered me prev version of the package, even though I was

Re: ssh-host-config script sends /etc/passwd thru awk

2015-02-18 Thread Andrey Repin
Greetings, Corinna Vinschen! On Feb 18 16:35, Andrey Repin wrote: Greetings, Corinna Vinschen! It's a bit confusing to talk about the Cygwin version when this is only about openssh and the csih package. I'm really busy with other stuff right now. I quickly scanned the ssh-*-config

Re: ssh-host-config script sends /etc/passwd thru awk

2015-02-18 Thread Andrey Repin
Greetings, Corinna Vinschen! On Feb 17 16:22, Warren Young wrote: On Feb 17, 2015, at 4:02 PM, Corinna Vinschen corinna-cyg...@cygwin.com wrote: On Feb 17 15:51, Warren Young wrote: It seems that the ssh-host-config script isn’t using Corinna’s new getent package yet. Both

Re: ssh-host-config script sends /etc/passwd thru awk

2015-02-18 Thread Corinna Vinschen
On Feb 18 14:15, Achim Gratz wrote: Corinna Vinschen writes: + csih_old_cygwin ; use_file=$? if [ ${use_file} -ne 0 -a -f /etc/nsswitch.conf ] then -grep -Eq ^${file}:[^#]*\db\ /etc/nsswitch.conf || use_file=0 +grep -Eq ^${file}: /etc/nsswitch.conf + grep -Eq

Re: ssh-host-config script sends /etc/passwd thru awk

2015-02-18 Thread Corinna Vinschen
On Feb 18 13:00, Achim Gratz wrote: Corinna Vinschen writes: It's a bit confusing to talk about the Cygwin version when this is only about openssh and the csih package. I'm really busy with other stuff right now. I quickly scanned the ssh-*-config scripts again and they never write a

Re: ssh-host-config script sends /etc/passwd thru awk

2015-02-18 Thread Corinna Vinschen
On Feb 18 15:05, Andrey Repin wrote: Greetings, Corinna Vinschen! On Feb 17 16:22, Warren Young wrote: On Feb 17, 2015, at 4:02 PM, Corinna Vinschen corinna-cyg...@cygwin.com wrote: On Feb 17 15:51, Warren Young wrote: It seems that the ssh-host-config script isn’t using

Re: ssh-host-config script sends /etc/passwd thru awk

2015-02-18 Thread Achim Gratz
Corinna Vinschen writes: + csih_old_cygwin ; use_file=$? if [ ${use_file} -ne 0 -a -f /etc/nsswitch.conf ] then -grep -Eq ^${file}:[^#]*\db\ /etc/nsswitch.conf || use_file=0 +grep -Eq ^${file}: /etc/nsswitch.conf + grep -Eq ^${file}:[^#]*\db\ /etc/nsswitch.conf || +

Re: ssh-host-config script sends /etc/passwd thru awk

2015-02-18 Thread Corinna Vinschen
On Feb 18 16:35, Andrey Repin wrote: Greetings, Corinna Vinschen! It's a bit confusing to talk about the Cygwin version when this is only about openssh and the csih package. I'm really busy with other stuff right now. I quickly scanned the ssh-*-config scripts again and they never

Re: ssh-host-config script sends /etc/passwd thru awk

2015-02-18 Thread Achim Gratz
Corinna Vinschen writes: It's a bit confusing to talk about the Cygwin version when this is only about openssh and the csih package. I'm really busy with other stuff right now. I quickly scanned the ssh-*-config scripts again and they never write a passwd entry so, if anything, it's a

Re: ssh-host-config script sends /etc/passwd thru awk

2015-02-18 Thread Achim Gratz
Achim Gratz writes: + if csih_old_cygwin Missing a then here of course… +if [ $(/usr/bin/id -un) = mkpasswd ] Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ Wavetables for the Waldorf Blofeld:

Re: ssh-host-config script sends /etc/passwd thru awk

2015-02-18 Thread Frank Fesevur
2015-02-18 15:00 GMT+01:00 Corinna Vinschen: The openssh is the 64-bit version, as in the stackexchange user's case. The issue is interesting, though. When I first installed the openssh, it offered me prev version of the package, even though I was installing from the net. Re-running the

Re: ssh-host-config script sends /etc/passwd thru awk

2015-02-18 Thread Andrey Repin
Greetings, Corinna Vinschen! It seems that the ssh-host-config script isn’t using Corinna’s new getent package yet. Both scripts are using geten or mkpasswd/mkgroup. I was sure I looked into my local copies before answering that question. Maybe I had old versions? An

ssh-host-config script sends /etc/passwd thru awk

2015-02-17 Thread Warren Young
It seems that the ssh-host-config script isn’t using Corinna’s new getent package yet. It only works on 1.7.34+ if you haven’t moved /etc/passwd out of the way yet. Just a heads-up to whoever is maintaining this. It’s starting to bite people: http://unix.stackexchange.com/questions/184962/

Re: ssh-host-config script sends /etc/passwd thru awk

2015-02-17 Thread Warren Young
On Feb 17, 2015, at 4:02 PM, Corinna Vinschen corinna-cyg...@cygwin.com wrote: On Feb 17 15:51, Warren Young wrote: It seems that the ssh-host-config script isn’t using Corinna’s new getent package yet. Both scripts are using geten or mkpasswd/mkgroup. I was sure I looked into my local

Re: ssh-host-config script sends /etc/passwd thru awk

2015-02-17 Thread Corinna Vinschen
On Feb 17 15:51, Warren Young wrote: It seems that the ssh-host-config script isn’t using Corinna’s new getent package yet. It only works on 1.7.34+ if you haven’t moved /etc/passwd out of the way yet. Just a heads-up to whoever is maintaining this. It’s starting to bite people: