delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/05/13:54:06

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
Date: Tue, 5 Aug 2003 20:52:13 +0300
From: Ville Herva <vherva AT niksula DOT hut DOT fi>
To: cygwin AT cygwin DOT com
Subject: Re: Administrator lacking super-user privileges on cygwin installation
Message-ID: <20030805175213.GC221723@niksula.cs.hut.fi>
References: <20030805150743 DOT GB221723 AT niksula DOT cs DOT hut DOT fi> <Pine DOT GSO DOT 4 DOT 44 DOT 0308051110450 DOT 6333-100000 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0
In-Reply-To: <Pine.GSO.4.44.0308051110450.6333-100000@slinky.cs.nyu.edu>
User-Agent: Mutt/1.4i

On Tue, Aug 05, 2003 at 11:22:58AM -0400, you [Igor Pechtchanski] wrote:
> 
> Well, how about getting a SYSTEM-owned shell and checking? ;-)

I didn't think of that. Silly me.
 
> Make sure the SYSTEM user doesn't have any *user* mounts (by running
> "mount" from a SYSTEM-owned shell).

Spot on.

 C: on / type system (textmode)

(As I said, I didn't initially install cygwin on this machine, so I don't
know where the spurious mount came from.)

After changing /etc/ssh* back to SYSTEM's ownership, and removing the mount,
I can execute /usr/sbin/sshd from the "at /interactive" SYSTEM bash. 

Starting service as SYSTEM still fails:

 sshd : PID 929 : starting service `sshd' failed: execv: 1, Operation not
 permitted.

but I definetely got forward. Thanks.

> P.S. For instructions on getting a SYSTEM-owned shell, search Google for
> "at /interactive" on "cygwin.com".

Thanks, I would have had trouble figuring that out.


-- v --

v AT iki DOT fi

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