[PATCH] remove references to CYGWIN="server"

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view

[PATCH] remove references to CYGWIN="server"

Yaakov (Cygwin/X)
Hash: SHA256

I found a few more references to the recently removed CYGWIN="server"
option.  Patches attached.

Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


2009-03-26  Yaakov Selkowitz  <[hidden email]>

        * utils.sgml (passwd -R): Remove references to CYGWIN="server".

Index: utils/utils.sgml
RCS file: /cvs/src/src/winsup/utils/utils.sgml,v
retrieving revision 1.74
diff -u -r1.74 utils.sgml
--- utils/utils.sgml 23 Mar 2009 20:40:17 -0000 1.74
+++ utils/utils.sgml 27 Mar 2009 07:44:16 -0000
@@ -933,8 +933,7 @@
 operations.  Don't specify a USER when triggering a system operation.
 Don't specify a user or any other option together with the -R option.
-Non-Admin users can only store their password if cygserver is running and
-the CYGWIN environment variable is set to contain the word 'server'.
+Non-Admin users can only store their password if cygserver is running.
 Note that storing even obfuscated passwords in the registry is not overly
 secure.  Use this feature only if the machine is adequately locked down.
 Don't use this feature if you don't need network access within a remote
@@ -1029,9 +1028,7 @@
 do.  If normal, non-admin users should be allowed to enter their
 passwords using <command>passwd -R</command>, it's required to run
 <command>cygserver</command> as a service under the LocalSystem account
-and the environment variable CYGWIN
-(see <xref linkend="using-cygwinenv"></xref>)
-must be set to contain the "server" setting before running
+before running
 <command>passwd -R</command>.  This only affects storing passwords.
 Using passwords in privileged processes does not require
 <command>cygserver</command> to run.</para>

2009-03-26  Yaakov Selkowitz  <[hidden email]>

        * README: Remove "How to use" section, as CYGWIN="server" is
        no longer required.

Index: cygserver/README
RCS file: /cvs/src/src/winsup/cygserver/README,v
retrieving revision 1.4
diff -u -r1.4 README
--- cygserver/README 26 Nov 2008 10:18:53 -0000 1.4
+++ cygserver/README 27 Mar 2009 07:44:14 -0000
@@ -159,38 +159,6 @@
   /usr/bin/cygserver-config script.
-How to use the Cygserver services:
-  The Cygserver services are used by Cygwin applications only if you
-  set the environment variable CYGWIN to contain the string "server".
-  You must do this before starting the application.
-  Typically, you don't need any other option, so it's ok to set CYGWIN
-  just to "server".  It is not necessary to set the CYGWIN environment
-  variable prior to starting the Cygserver process itself, but it won't
-  hurt to do so.
-  The easiest way is to set the environment variable CYGWIN to the values
-  you want in the Windows system environment and to reboot the machine.
-  This is advisable, since it allows you to set the variable once and
-  then forget about it.  It also ensures that services as well as desktop
-  applications have the same setting.
-  If you don't want that for whatever reason, you can set the
-  variable in the /cygwin.bat file which is used in the net distribution,
-  to start a Cygwin bash from the desktop.  In that file, you can set
-  the CYGWIN variable using Windows command line interpreter syntax, e. g.:
-    set CYGWIN=server
-  If you don't set CYGWIN in the system environment, but you're running
-  other Cygwin services, these services need to get that CYGWIN value by
-  setting the environment using the appropriate cygrunsrv option '-e' when
-  installing the service.  Example installing a service 'foo':
-    cygrunsrv -I foo -p /usr/sbin/foo -e "CYGWIN=server"
 The Cygserver configuration file:
   Cygserver has many options, which allow to customize the server
Reply | Threaded
Open this post in threaded view

Re: [PATCH] remove references to CYGWIN="server"

Corinna Vinschen-2
On Mar 27 02:51, Yaakov S wrote:
> * utils.sgml (passwd -R): Remove references to CYGWIN="server".
> [...]
> * README: Remove "How to use" section, as CYGWIN="server" is
> no longer required.

Patches applied.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat