diff options
Diffstat (limited to 'winsup/doc/faq-using.xml')
-rw-r--r-- | winsup/doc/faq-using.xml | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/winsup/doc/faq-using.xml b/winsup/doc/faq-using.xml index ce66c9de2..2629dbe8b 100644 --- a/winsup/doc/faq-using.xml +++ b/winsup/doc/faq-using.xml @@ -50,7 +50,7 @@ with it now, refer to </answer></qandaentry> <qandaentry id="faq.using.services"> -<question><para>Why don't my services work (or access network shares)?</para></question> +<question><para>Why don't my services work?</para></question> <answer> <para>Most Windows services run as a special user called <literal>SYSTEM</literal>. If you @@ -62,10 +62,17 @@ select "Install for All Users", or this script will do the trick: <screen> eval "`mount -m | sed -e 's/ -u / -s /g' -e 's/$/;/'`" </screen> +</answer></qandaentry> + +<qandaentry id="faq.using.shares"> +<question><para>Why can't my services access network shares?</para></question> +<answer> -<para>The <literal>SYSTEM</literal> user cannot access network shares that require -authentication. For more information, see -<ulink url="http://cygwin.com/cygwin-ug-net/ntsec.html">http://cygwin.com/cygwin-ug-net/ntsec.html</ulink>. +<para>When a service switches to a certain user, it is running as +<literal>SYSTEM</literal> impersonating the user account. During +impersonation, the user's password is not available and so non-public +network shares are not available. For more information, see +<ulink url="http://cygwin.com/cygwin-ug-net/ntsec.html" />. </para> <para>Workarounds include using public network share that does not require authentication (for non-critical files), or running the service as |