This is the mail archive of the
mailing list for the Cygwin project.
RE: running the latest cygwin on a windows 2003 server
- From: "Dave Korn" <dk at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Wed, 21 Jan 2004 11:51:06 -0000
- Subject: RE: running the latest cygwin on a windows 2003 server
> -----Original Message-----
> From: cygwin-owner On Behalf Of Stefan Zachow
> when I enter ".\bash.exe --login -i" (with or without --login) I get
> *** CreateFileMapping, Win32 error 0. Terminating.
Fascinating. That's from winsup\cygwin\shared.cc line 96. Can't see why
it would fail without returning an error code, though.
Try giving your cygwin non-admin user accounts the "Create paging files"
privilege and see if that helps. I _think_ you have to do that using the
group policy editor, gpedit.msc.
If that fixes the problem, then it would be worth adopting a more
systematic method for your longterm solution. Probably the most 'correct'
way to do it would be by creating a new group called "Cygwin Users", using
the control panel / (local) user and groups settings. Then you'd start
gpedit.msc, follow the chain Computer configuration -> Windows settings ->
Security settings -> Local Policies -> User Rights Assignment, find the
'Create a pagefile' option, and add the new "Cygwin Users" group to that.
That way you can just add the users who need Cygwin access to the Cygwin
Users group, and it'll give them the added privilege they need.
Can't think of a witty .sigline today....
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html