Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <418F78EB.7080904@x-ray.at>
Date: Mon, 08 Nov 2004 14:47:23 +0100
From: Reini Urban <rurban@x-ray.at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a4) Gecko/20040927
MIME-Version: 1.0
To: Olumide <50295@web.de>
CC: cygwin@cygwin.com
Subject: Re: Creating superuser (root) in Cygwin
References: <cmlpat$o8o$1@sea.gmane.org> <6.1.0.6.0.20041107173348.04468150@pop.prospeed.net> <cmnnb9$k8n$1@sea.gmane.org> <fdb072ec041108050956512052@mail.gmail.com> <cmnrjk$vr7$1@sea.gmane.org>
In-Reply-To: <cmnrjk$vr7$1@sea.gmane.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Olumide schrieb:
>> You cannot just create a superuser in cygwin because cygwin is a
>> translation layer for UNIX applications.  Cygwin is not actual UNIX
>> and there are limitations.  Basically cygwin is using the host
>> machine's security model rather than unix's own native security model
>> and porting is not straight forward for some applications.  It is even
>> worse when it comes to WIndows 9x than with Windows NT where as 9x has
>> no security model of its own (that I am aware about).  The passwd and
>> group files are there for compatibility and allows some applications
>> to work.  At least that is my understanding.
> 
> Thanks Robert.
> 
> I'm on WindowsXP and I'm trying to run sudo 
> (http://www.courtesan.com/sudo/) what do you think I should do.

You obviosuly don't know what you are talking about:

1. There's no superuser on cygwin. root is usually SYSTEM on windows.

2. You are trying to use the completely wrong sudo package.
There exist sudo packages for windows, but not for cygwin.
Search the web for "sudo for windows", cmdasuser, runuser or just use 
runas, but don't try to use the unix sudo package. This is not ported yet.
-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/

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

