delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/17/06:35:24

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: Wed, 17 Dec 2003 06:34:39 -0500
To: <cygwin AT cygwin DOT com>
Subject: Re: permission denied for Remsh on Windows 2000 Server
References: <000001c3c48e$f88dd270$c09601ca AT noida DOT dlh DOT st DOT com>
From: "Alejandro Lopez-Valencia" <dradul AT etb DOT net DOT co>
Organization: House of Cuckoo
MIME-Version: 1.0
Message-ID: <opr0bo31c23hew51@smtp.etb.net.co>
In-Reply-To: <000001c3c48e$f88dd270$c09601ca@noida.dlh.st.com>
User-Agent: Opera7.23/Win32 M2 build 3227
X-OriginalArrivalTime: 17 Dec 2003 11:34:49.0692 (UTC) FILETIME=[C7BDE9C0:01C3C491]
X-IsSubscribed: yes
Note-from-DJ: This may be spam

El Wed, 17 Dec 2003 16:44:34 +0530, Amit RATHEE escribió en el mensaje 
<000001c3c48e$f88dd270$c09601ca AT noida DOT dlh DOT st DOT com>:

> Hi,
>
> I have a domain with many users and I try to enumerate the userid .It 
> comes
> out to be 193456 by cygwin.Now I delete the entries from passwd file and
> make the UID very short i.e. 19 and when I log in as user it shows me the
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          Holy Mother of the Deity!

> "PERMISSION DENIED".
    ^^^^^^^^^^^^^^^^^^
     Phew! That was close!

> Everything works well if I do the same above activities with the uid less
> than the 65356 no. generated by cygwin.
>

If you read the contents of /etc/passwd, you'll notice that cygwin uses 
the UID numbers generated by Windows, you just can't go about putting in 
anything you like there. On the other hand 19 is a system reserved UID, 
both in Windows *and* Unix; you may use it but you will be opening a 
security hole big enough to drive the Titanic through your system without 
knocking an iceberg.

Cheers

Alejo

-- 

乾坤一滴

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