delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/14/17:08:46

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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.1.0.6.0.20040414164703.030a16e0@127.0.0.1>
X-Sender:
Date: Wed, 14 Apr 2004 17:04:42 -0400
To: none none <throw_away_2002 AT yahoo DOT com>, cygwin AT cygwin DOT com
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: Re: permission problems (and more)
In-Reply-To: <20040414204303.90583.qmail@web42003.mail.yahoo.com>
References: <20040414204303 DOT 90583 DOT qmail AT web42003 DOT mail DOT yahoo DOT com>
Mime-Version: 1.0

At 04:43 PM 4/14/2004, you wrote:
>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)


What about ssh-user-config?


>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.

<http://www.cygwin.com/ml/cygwin/2004-03/msg00379.html>


>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?


/usr/share/doc/Cygwin/openssh.README


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


That's a Windows question.  But you have to think, why would you 
want a system where a regular user could start and stop services?


>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)?


/usr/share/doc/Cygwin/openssh.README and/or check out the email archives.


>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?


Yes.  'ssh'. ;-)


>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)?


Make sure they have different user names in Windows or edit your /etc/passwd
file to change the _name_ (only!) of one to something unique.




--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


--
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