X-Spam-Check-By: sourceware.org Date: Sat, 13 Jan 2007 11:35:19 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: ssh-host-config patch Message-ID: <20070113103519.GD23638@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <17f71bca0701121354r6d92e6d1kd2733a85273ad480 AT mail DOT gmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17f71bca0701121354r6d92e6d1kd2733a85273ad480@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Jan 12 17:54, Miguel A. Figueroa-Villanueva wrote: > Hello Everyone, > > When configuring sshd host with the ssh-host-config script I got > errors from the chown commands at the end of the script. The reason is > that my /etc/group file sets S-1-5-32-544 to 0 not 544 (my > passwd/group files are printed below). I think the following patch is > appropriate so that this case can be handled. Thanks for the patch, but there's a reason for using 544 here. It's the right gid when using mkgroup and it should be unambiguous, even if the group file has multiple entries for the admins group. I like to have the 0 as group, too, but I have left the 544 entry in so that scripts relying on the gid still work. When you use `ls -l' you still get the gid 0 this way: $ grep "S-1-5-32-544" /etc/group root:S-1-5-32-544:0: admins:S-1-5-32-544:544: Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/