Hello, we're deploying an unattended installation of Cygwin to some of our testmachines. On goal is to have SSH access to those machines, so we put a customizing script to "/etc\profile.d" which then runs at 1st start involving the command "ssh-host-config -y -c "tty ntsec" -w "$RANDOM_PASS"".
Every summer or so, we're used to update our package - again this year. But all at once on systems with Server 2003, Vista or Server 2008 "ssh-host-config" now stops and requests the name of a privileged user instead of as before simply creating a privileged user "sshd_server" with the given password. After doing some checks we found that latterly "cygwin-service-installation-helper.sh" is involved in the process. Why? My personal opinion: If I give "ssh-host-config" the parameter "-y", the process shouldn't be like: *** Info: No privileged account could be found. *** Info: This script plans to use 'cyg_server'. *** Info: 'cyg_server' will only be used by registered services. *** Query: Do you want to use a different name? (yes/no) yes but like: *** Info: No privileged account could be found. *** Info: This script plans to use 'cyg_server'. *** Info: 'cyg_server' will only be used by registered services. *** Query: Do you want to use 'cyg_server'? (yes/no) yes If a given user needs to interact with "ssh-host-config", he won't use "-y". But he doesn't, above all "-y" shouldn't prevent it, right? So what would be a cool solution for this problem? Mit freundlichen Grüßen / with kind regards Christoph Herdeg Christoph Herdeg Contact IBM Deutschland Entwicklung Windows Infrastructure Support Information GmbH Information Management Vorsitzender des Aufsichtsrats: Development Martin Jetter IBM Software Group Geschäftsführung: Erich Baier Sitz der Gesellschaft: Böblingen Registergericht: Amtsgericht Stuttgart, HRB 243294 mail: christoph.her...@de.ibm.com fon: 49-7031-16-1039 (tie line fax: *120-1039) address: 49-7031-16-4891 Schönaicher Str. 220 71032-03 Böblingen visit IBM Deutschland Entwicklung GmbH -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple