This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: ssh-host-config patch
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/