delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/14/16:44:13

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <20040414204303.90583.qmail@web42003.mail.yahoo.com>
Date: Wed, 14 Apr 2004 13:43:03 -0700 (PDT)
From: none none <throw_away_2002 AT yahoo DOT com>
Subject: permission problems (and more)
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
X-IsSubscribed: yes

Running cygwin (on Windows 2000) for a few months, and
finally decided that I wanted sshd and cron activated.

Logged on as administrator and did:

cron:
cygrunsrv -I cron -p /bin/cron -a -D

sshd:
run the ssh-host-config script and answer the questions (I
read several tutorials that all said about the same thing)

I did answer "tty ntsec" in response to the question about
the CYGWIN environment string (instead of going through the
environment variables string of system properties - and I
noticed that it did not show up).

When I rebooted the machine, neither of these would start
(they both do appear in the service list, though). The errors:

The cron service failed to start due to the following error: 
Access is denied.

The CYGWIN sshd service failed to start due to the following error:
Access is denied.

I have a rough idea of the problem (I don't think I have
the right permissions on the necessary cygwin files).

Can someone tell me:

1. Who or what (service? system?) needs which permissions
to make these work, and on which files?

2. Does some way exist so that I can start and stop these
as a regular user?

3. Does any documentation exist on what permissions files
should have (and can I recover from my present situation
where I own most of the files as a regular user)?

3a. Does some way exist for a regular user (I know that "su"
doesn't work) to get access to edit important cygwin files
without having to log off and long in as administrator?

4. When I finally get sshd working, can I log in as a domain
user (and if so, how do I differentiate between a domain user
and a local user when logging onto the machine)?

Thank you so much for your help.


	
		
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019