Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Daniel Franklin <joshuadfranklin@yahoo.com>2004-09-30 09:19:27 +0400
committerJoshua Daniel Franklin <joshuadfranklin@yahoo.com>2004-09-30 09:19:27 +0400
commit747d02f79152224fc052712ab39634b19099b2be (patch)
tree1b5e53eef00d79234a8f98fae41b89b153da69ce
parent5ee7c5081900358e2cf95a6b183c2e3e2e57e2f6 (diff)
* how-using.texinfo: Add FAQ about network shares and authentication.
-rw-r--r--winsup/doc/how-using.texinfo19
1 files changed, 14 insertions, 5 deletions
diff --git a/winsup/doc/how-using.texinfo b/winsup/doc/how-using.texinfo
index 9d89c265a..269902bdd 100644
--- a/winsup/doc/how-using.texinfo
+++ b/winsup/doc/how-using.texinfo
@@ -42,12 +42,19 @@ For a detailed discussion of why this change was made, and how deal
with it now, refer to
@file{http://sources.redhat.com/ml/cygwin/2001-09/msg00014.html}.
-@subsection Why can't I access my network shares with @samp{cron}, or when using pubkey authentication with @samp{ssh}?
+@subsection Why don't my services work (or access network shares)?
-Some Cygwin services normally run as the SYSTEM user, which has
-certain limitations. Under the Windows authentication scheme, the
-SYSTEM user cannot access network shares that require authentication.
-For more information, see
+Most Windows services run as a special user called SYSTEM. If you
+installed Cygwin for "Just Me", the SYSTEM user won't see your
+Cygwin mount table. You need to re-mount all of your mounts as
+"system" for services to work. This script will do the trick:
+
+@example
+eval "`mount -m | sed -e 's/ -u / -s /g' -e 's/$/;/'`"
+@end example
+
+The SYSTEM user cannot access network shares that require
+authentication. For more information, see
@file{http://cygwin.com/cygwin-ug-net/ntsec.html}.
Workarounds include using public network share that does not require
@@ -56,6 +63,8 @@ your own user with @samp{cygrunsrv}.
@subsection How should I set my PATH?
+@subsection How should I set my PATH?
+
This is done for you in the file /etc/profile, which is sourced by bash
when you start it from the Desktop or Start Menu shortcut, created by
@code{setup.exe}. The line is