delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/17/07:22:52

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
From: Amit RATHEE <amit DOT rathee AT st DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: permission denied for Remsh on Windows 2000 Server
Date: Wed, 17 Dec 2003 17:51:07 +0530
Message-ID: <000001c3c498$654994e0$c09601ca@noida.dlh.st.com>
MIME-Version: 1.0
In-Reply-To: <opr0bo31c23hew51@smtp.etb.net.co>
X-IsSubscribed: yes
Note-from-DJ: This may be spam
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id hBHCMoUj014201

SO you suggest me what to do?

With Warm Regards,
Amit 

-----Original Message-----
From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of
Alejandro Lopez-Valencia
Sent: Wednesday, December 17, 2003 5:05 PM
To: cygwin AT cygwin DOT com
Subject: Re: permission denied for Remsh on Windows 2000 Server


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/



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