[ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.33-0.6
Corinna Vinschen
corinna-cygwin@cygwin.com
Thu Nov 6 19:09:00 GMT 2014
On Nov 6 19:50, Corinna Vinschen wrote:
> On Nov 6 19:34, Christian Franke wrote:
> > But PLEASE keep the ability to create local users/groups without a prefix.
> > Otherwise useful configuration defaults (mail_owner=postfix, ...) would be
> > no longer useful because config files must be tweaked for each host
> > (mail_owner=HOST+postfix, ...) for the sole purpose of[1]. Some of such
> > technical users (sshd?) might also be hard coded or a config parser might
> > not like the HOST+USER syntax.
>
> And how's that supposed to work? Even if we introduce a way in
> /etc/nsswitch.conf to generate usernames differently, it doesn't really
> help. Your config file should be able to work with default settings
> and not force the admin to use specific settings in nsswitch.conf.
Btw., sshd contains a patch to allow sshd as well as MACHINE+sshd as
account name for the unprivileged privsep account. There's a new
system call in Cygwin for that very purpose:
#include <sys/cygwin.h>
cygwin_internal (CW_CYGNAME_FROM_WINNAME, "unprefixed-accountname",
username_buffer, sizeof username_buffer);
See the comment in external.cc, under the CW_CYGNAME_FROM_WINNAME case.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20141106/b4099fe9/attachment.sig>
More information about the Cygwin
mailing list