Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: 	Tue, 5 Aug 2003 20:52:13 +0300
From: Ville Herva <vherva@niksula.hut.fi>
To: cygwin@cygwin.com
Subject: Re: Administrator lacking super-user privileges on cygwin  installation
Message-ID: <20030805175213.GC221723@niksula.cs.hut.fi>
References: <20030805150743.GB221723@niksula.cs.hut.fi> <Pine.GSO.4.44.0308051110450.6333-100000@slinky.cs.nyu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
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@iki.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/

