This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.33-0.6


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

Attachment: pgpa3Cq09vom_.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]